Karol Woźniak
c9b4389c65
Refactor Nav API around symlinks handling (mostly) ( #33 )
...
* gofmt ui.go
* Refactor Nav API around symlinks handling (mostly)
1. Get both `Lstat` and `Stat` while reading the files. Stat info is
used by default, but we still can tell it's a link if needed.
2. Remove all other `Stat` calls from different places.
3. Handle hidden files while reading.
4. `currFile` now returns error if there are no files.
5. `currEmpty` and `currPath` not longer necessary, removed.
6. `open` now returns a named error ErrNotDir, where expected.
7. Side effect: Links that point at directories are now sorted among
"actual" directories.
2016-10-24 22:18:31 +03:00
Gokcehan
880615ddd0
add x/text package to travis dependencies
2016-10-20 23:50:52 +03:00
Gokcehan
667253906b
handle unicode in the ui
...
Mentioned in #30 and #32 .
2016-10-20 23:45:06 +03:00
Ivan Menshykov
2345e16794
Dirfirst option and numerical sorting ( #27 )
...
* Create option dirfirst, and add numerical sorting
* Add only dirfirst option
2016-10-18 23:17:27 +03:00
Gokcehan
d36e272272
show latest error in the config file at init
2016-10-16 21:27:40 +03:00
Gokcehan
5e2028e943
handle parsing of unmapping and uncommanding
...
Mentioned in #16 .
2016-10-16 21:23:24 +03:00
Gokcehan
5d0dfcde79
check some syntax errors in parser
2016-10-16 14:19:19 +03:00
Gokcehan
5470783f99
remove error handling in scanner
2016-10-15 22:59:31 +03:00
Gokcehan
a3965ca1d9
handle keys of push command while scanning
2016-10-15 21:46:31 +03:00
Gokcehan
cecd3f9904
parse list expressions without extra semicolon
2016-10-15 15:56:53 +03:00
gokcehan
692e9116bf
Merge pull request #29 from occivink/master
...
Add command to invert marks in current directory
2016-10-10 18:32:14 +03:00
Olivier Perret
69ff83a4b0
add command to invert marks in current directory
2016-10-09 18:19:32 +02:00
Gokcehan
4d8a37ebc9
add cross build script
2016-10-08 16:19:47 +03:00
Gokcehan
936b1e049a
leave the cursor at the beginning of the current file
...
Mentioned in #22 .
2016-10-08 14:18:26 +03:00
Gokcehan
b5887ab698
add wiki links to the readme
...
Mentioned in #28 .
2016-10-08 13:24:18 +03:00
Gokcehan
fe3971f4c0
format
2016-10-05 18:39:48 +03:00
Gokcehan
1cee8b9d9c
handle symbolic links to directories for previews
...
Mentioned in #24 and #25 .
2016-10-05 18:36:12 +03:00
Gokcehan
1683cdfd47
check if the directory is empty before nav operations
...
Mentioned in #23 .
2016-10-05 18:26:55 +03:00
gokcehan
1f129476a8
Merge pull request #26 from radarhere/patch-1
...
Fixed typo
2016-10-04 22:21:55 +03:00
Andrew Murray
ea1f615413
Fixed typo
2016-10-05 05:55:43 +11:00
Gokcehan
986cc88db0
update features
2016-10-02 01:35:57 +03:00
Gokcehan
7a851f6c72
cleanup
2016-10-02 01:19:30 +03:00
Gokcehan
dbb4220084
update features
2016-10-02 01:10:31 +03:00
Gokcehan
d66eb7349d
clean path before changing directory
2016-10-02 00:39:03 +03:00
Gokcehan
7fe72c188f
check null bytes instead to detect binaries
2016-10-02 00:29:14 +03:00
Gokcehan
751dbe8a7c
show message for successful yank/delete
...
Mentioned in #13 .
2016-10-02 00:11:45 +03:00
Gokcehan
00516af039
fix push with command example
2016-09-20 23:18:39 +03:00
Gokcehan
27135faccd
add a push command to simulate key pushes
2016-09-18 19:21:24 +03:00
Gokcehan
155fbc5a16
load first file on startup
2016-09-18 12:58:32 +03:00
Gokcehan
1e7811334e
use the same goroutine to wait preview command
...
Mentioned in #5 .
2016-09-18 12:56:13 +03:00
Gokcehan
d51e99adc1
close pipe and then wait command in a separate goroutine
...
Mentioned in #5 .
2016-09-16 15:22:39 +03:00
Gokcehan
f82073603f
clean command resources after preview script call
...
Mentioned in #5 .
2016-09-16 13:27:38 +03:00
Gokcehan
878d28237a
add file previewing to the documentation
...
Mentioned in #5 .
2016-09-15 21:44:06 +03:00
Gokcehan
0395f75ea9
break previewer output pipe when enough lines are read
...
Mentioned in #5 .
2016-09-15 21:26:54 +03:00
Gokcehan
b0b06c46d2
escape backticks in documentation
2016-09-15 17:08:05 +03:00
Gokcehan
6094078185
buffer file and dir previews for drawing
...
Mentioned in #5 .
2016-09-15 16:28:36 +03:00
Gokcehan
ceb1f2d15a
expand ~ to HOME in previewer option
...
Mentioned in #5 .
2016-09-15 14:27:14 +03:00
Gokcehan
991bbc628f
cleanup
2016-09-15 02:31:12 +03:00
Gokcehan
d0f2ee1e35
remove old documentation
2016-09-15 02:27:43 +03:00
Gokcehan
6cfcbc192e
point to the new documentation in the readme
2016-09-15 02:26:05 +03:00
Gokcehan
295c9bff76
add tutorial to the documentation
2016-09-15 02:18:50 +03:00
Gokcehan
bfb0c0c4a8
add example mapping for documentation
2016-09-14 00:49:02 +03:00
Gokcehan
7d2ee16e2d
generate documentation and embed in binary
2016-09-14 00:40:14 +03:00
Gokcehan
57bebef804
use recursive and backup options for paste
2016-09-13 22:56:03 +03:00
Gokcehan
9c2f594a6b
add empty match tests
2016-09-12 23:40:17 +03:00
Gokcehan
a2c7656301
add comp tests
2016-09-12 23:33:52 +03:00
Gokcehan
37a7eda095
add missing files
2016-09-12 19:19:47 +03:00
Gokcehan
1fcd70afa0
add parse tests
2016-09-12 19:18:13 +03:00
Gokcehan
ee0f931db8
add command counts
2016-09-09 01:03:25 +03:00
Gokcehan
a31ce17b90
add half-up/half-down/page-up/page-down commands
2016-09-09 00:04:44 +03:00