Commit Graph
41 Commits
Author SHA1 Message Date
Gokcehan cb072eba12 add smartcase option for smart case sensitive search
Mentioned in #69.
2017-07-15 17:46:22 +03:00
Gokcehan ca7a3ccab4 add ignorecase option for case insensitive search
Mentioned in #69.
2017-07-15 17:18:37 +03:00
Gokcehan 9e69ce94ca add globsearch option for wildcard searching
Mentioned in #69.
2017-07-15 17:06:18 +03:00
Karol Woźniak fe05105c88 Implement directory count info (#85) 2017-06-03 14:12:43 +03:00
Karol Woźniak 79728a93da Properly close file handle in readdir (#74) 2017-04-09 16:15:06 +03:00
Gokcehan 8bc975a858 add wrapscan option for cyclic search
Mentioned in #57.
2017-03-16 16:22:42 +03:00
Gokcehan 87825fb2ad cleanup 2017-02-11 16:34:18 +03:00
Gokcehan 8689d712a3 make search cyclic
Mentioned in #57.
2017-01-07 17:42:33 +03:00
Olivier Perret a704248696 preserve mark order in f[sx] variables (#59)
* preserve mark order in f[sx] variables

* Revert "preserve mark order in f[sx] variables"

This reverts commit e02c5e8bb3.

* preserve mark order in f[sx], but more efficiently
credit to @gokcehan for the idea
2017-01-06 00:23:22 +03:00
Karol Woźniak 8be854d3ba Add reverse option (#55) 2016-12-26 23:49:18 +03:00
Olivier Perret 79b874e147 include first item in reverse search (#54) 2016-12-26 23:47:27 +03:00
Gokcehan f7e778591a implement search/search-back and search-next/prev
Closes #38.
2016-12-24 15:57:57 +03:00
Gokcehan a717c31ca1 cleanup 2016-12-18 21:34:41 +03:00
Gokcehan e532db082f use lowercase initials for type names 2016-12-18 00:47:37 +03:00
Gokcehan 8ae5f838c7 simplify number extraction using regexp 2016-12-18 00:02:30 +03:00
Gokcehan 721a20269e add natural sorting as a sortby option
Closes #21.
2016-12-03 00:45:04 +03:00
Gokcehan 609c637e82 move file sorting to nav 2016-11-11 00:18:56 +03:00
Gokcehan c6560ad607 fix less function for name sorting
Mentioned in #43.
2016-11-11 00:08:35 +03:00
Gokcehan 3b5759efba sync with server on startup
Mentioned in #13 and #36.
2016-11-10 23:43:54 +03:00
Karol Woźniak a4c395a4de Refactor sorting types to only implement Len and Swap once (#43)
Using "trick" similar to `sort.Slice` that's comming in `go1.8`.
2016-11-10 01:01:30 +03:00
Gokcehan 724422efa3 keep a copy of saved files and show in the ui
Mentioned in #13 and #36.
2016-11-07 23:32:19 +03:00
Gokcehan 23f89f7c7f use single line strings for file list save and load 2016-11-06 21:32:14 +03:00
Gokcehan ec4cb78535 rename paste command to put 2016-11-06 18:09:18 +03:00
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
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
Olivier Perret 69ff83a4b0 add command to invert marks in current directory 2016-10-09 18:19:32 +02:00
Gokcehan 1683cdfd47 check if the directory is empty before nav operations
Mentioned in #23.
2016-10-05 18:26:55 +03:00
Gokcehan 7a851f6c72 cleanup 2016-10-02 01:19:30 +03:00
Gokcehan d66eb7349d clean path before changing directory 2016-10-02 00:39:03 +03:00
Gokcehan 57bebef804 use recursive and backup options for paste 2016-09-13 22:56:03 +03:00
Gokcehan a31ce17b90 add half-up/half-down/page-up/page-down commands 2016-09-09 00:04:44 +03:00
Gokcehan 3d493e8271 use filepath module instead of path for portability
This should fix path separator confusion in windows.

Mentioned in #12.
2016-09-07 00:27:55 +03:00
Gokcehan 607cd7aeff format 2016-09-02 23:06:25 +03:00
Gokcehan 188bd97b3b fix jiggle when scrolloff is maxed 2016-09-02 22:47:11 +03:00
Gokcehan 4b0a6d1013 cleanup 2016-08-17 23:28:42 +03:00
Gokcehan 70f8c1331d error context for nav and ui 2016-08-17 23:22:11 +03:00
Gokcehan 63e32e1685 cleanup 2016-08-14 18:39:02 +03:00
Gokcehan 5df5c23489 fix for cd home with a tilda 2016-08-14 18:38:33 +03:00
Gokcehan fac1c9e8de move selection path handling to eval 2016-08-14 15:37:22 +03:00
Gokcehan 6a2bdf472b handle dir symlinks in preview and open 2016-08-14 15:15:54 +03:00
Gokcehan 4b266c97e9 initial commit 2016-08-13 15:49:04 +03:00