Gokcehan
45552cf809
use correct search directions with incsearch
...
Related #284
2020-07-04 03:32:05 +03:00
gotroyb127
4d3e1cfd6e
added a count field to listExpr and toggle now ignores count ( #394 )
2020-07-03 18:29:55 +03:00
Gokcehan
5d1136abfe
keep the destination file before rename
...
Related #343
2020-06-17 05:19:16 +03:00
Gokcehan
0e3910652a
cleanup
2020-06-11 04:11:40 +03:00
Gokcehan
99cee56d6e
reload directories when 'hiddenfiles' is changed
2020-06-11 03:16:24 +03:00
Gokcehan
25e487cc51
check pattern errors when 'hiddenfiles' is set
2020-06-11 03:14:45 +03:00
Adam Abrams
72facea2a0
add hiddenFiles option ( #372 )
...
* add hiddenFiles option
* harden and improve syntax
* refactor name and add to docs
2020-06-11 02:52:15 +03:00
gotroyb127
41e0bb32cd
fix tilde expansion and numbering ( #373 )
...
* Fixed issue #346 and changed the format of numbers when both relativenumber and number are set.
* Fixed issue #349 (incorrect replacement of '~' with user's home direcotry).
* Changed where appropriate so that tilde replacements happens correctly.
* Added a function to replace tilde with user's home directory, only when it should.
* Renamed ReplaceTilde to replaceTilde so that it won't get exported and removed some ';' at the end of some lines.
2020-06-07 20:53:25 +03:00
ath3
9c1836c18b
Add possibility to execute commands when directory changes (on_chdir) ( #291 )
...
* Add possibility to execute commands when cwd changes (on_chdir)
* Renamed function and special command on_chdir (onChdir, on-cd), support select command
2020-03-20 22:01:47 +03:00
Gokcehan
3c5abbbc5d
Revert "Error clear ( #192 )"
...
This reverts commit 30d3078559
.
2019-12-23 16:33:45 +03:00
Gokcehan
e0747fa2f9
use rune indices for word matching
...
Related #193
2019-12-23 16:00:10 +03:00
Gokcehan
b0064df32c
convert string indices to rune slice indices
...
Related #193
2019-12-23 02:35:32 +03:00
David Pedersen
d63e7a2076
Don't rename when name is the same. Fix #253 ( #266 )
...
Currently, renaming a file without changing the name will prompt for
replacing and then delete the file. This will instead cancel the
renaming if the old and new names are the same.
2019-12-18 01:39:02 +03:00
Juris Arturs Majors
f76bf30f65
Asynchronous delete ( #238 )
...
* Asynchronous deletion, similar to moving
* Reversed some sloppy new lines from previous commit
* Move delete operations to delete.go
* Simplify to use RemoveAll before
* Send errors directly to ui.exprChan directly
2019-12-02 14:27:58 +03:00
Kennedy Mwenja
9991a40e87
Sort by file extensions ( #230 )
...
- preserve natural ordering of filenames if extensions are the same
or are missing
- files without extensions rank higher on ascending sort and lower
on descending sort
2019-10-04 21:44:52 +03:00
Kennedy Mwenja
9515bd73d0
Sort By Access Time and Change Time ( #226 )
...
- Add access time and change time as sort by types. This is
powered by github.com/djherbis/times.
- Fall back to modification time if access time and change time
cannot be determined.
- Add `sa` and `sc` as default bindings for sort by access time and
sort by change time respectively.
- Add access time and change time to info types allowing them to be
displayed by the file list in the ui
2019-09-18 21:52:30 +03:00
Daniel Martí
50ac367626
fix ineffective breaks, remove unused parameters ( #210 )
...
While at it, simplify a few pieces of code.
2019-08-12 14:52:27 +03:00
David Pedersen
2ab866d474
Make prompt for delete command more descriptive ( #206 )
...
This will make the prompt shown when running the delete command more descriptive.
Before: `delete?[y/N]:`
Now when deleting one file: `delete /tmp/abc [y/N]?`
Now when deleting selection: `delete 3 items [y/N]?`
2019-07-23 22:33:43 +03:00
Gokcehan
9f661344ed
allow defining a custom rename command
2019-07-21 20:40:57 +03:00
Juris Arturs Majors
bfd01e5ed8
draft rename ( #197 )
...
* basic structure
* working rename, without making dir's and selection change
* mkdirAll if necessary
* updated TODO's
* rename with replace prompting
* path prompt and moved functionality to nav.rename()
* renewing now (no set period is needed)
* documentation, keybidning change, load file info after renaming
* go generate
2019-07-20 19:31:19 +03:00
Juris Arturs Majors
30d3078559
Error clear ( #192 )
...
* reset ui msg string
* loadfileinfo after prompts too
* removed legacy from previous pr...
2019-06-30 18:53:45 +03:00
Gokcehan
db224f04fe
add icon support
...
Related #158 and #164
2019-06-28 18:08:11 +03:00
Gokcehan
afca893153
clear error message on succesful commands
...
Related #185 and #187
2019-06-26 17:52:29 +03:00
Juris Arturs Majors
16db95707e
Mark clear ( #190 )
...
* markclear
* Revert "markclear"
This reverts commit 5e3a188618cb02f7aa284e9f2c9a00ed8ce3dc14.
* Revert "Revert "markclear""
This reverts commit a7a3bfebbf99c10b4a09f197fa997eca461369c4.
* markclear with arguments
* docs
* reverted some whitepsace
* some inline comments
* additional error handling
* wrong argument case
* consider case when argument specified clears all marks
* code cleanup and removed readMarks from writeMarks
* indentation :/
* discussed changes implemnted
* return readMarks error in sync()
* remove reset marks
2019-06-25 21:38:34 +03:00
Juris Arturs Majors
bf39c7c63b
glob-select implementation ( #184 )
...
* glob-select logical implementation
* documentation
* indentation
* indentation
* indentation
* save
* merge glob selects
* check if selected before toggling
* glob-unselect
* identation ...
* return early
2019-06-20 18:17:47 +03:00
ath3
eb8e516cfb
Check ratios before enabling preview ( #174 )
2019-06-12 16:45:40 +03:00
David Pedersen
f3407b2d61
Remain in command mode after cmd-history-next ( #168 )
2019-05-17 18:52:58 +03:00
Gokcehan
e69a229578
allow movement commands in cmap
...
Related #68
2019-05-14 20:21:24 +03:00
David Pedersen
e815adc6a6
Add Wrap Scroll functionality. Fixes #126 ( #166 )
2019-05-12 17:21:45 +03:00
Gokcehan
791b704257
add 'errorfmt' option to format error messages
...
Related #154
2019-03-27 22:07:41 +03:00
Gokcehan
1eedd29546
add file completion to search
...
Related #150
2019-03-14 01:20:06 +03:00
Gokcehan
193285a65d
add 'echomsg' and 'echoerr' commands for logging
2019-02-28 21:58:14 +03:00
Gokcehan
599ac11f26
cleanup
2019-02-26 21:27:04 +03:00
Gokcehan
0f47c5428b
load directories after copy/move
2019-02-26 21:04:51 +03:00
Gokcehan
d6e9aece51
implement builtin copy operation
...
Related #61 and #113
2019-02-26 20:12:13 +03:00
Gokcehan
35930924a7
disable normal commands in cmap
...
Related #68
2019-02-10 19:28:14 +03:00
Gokcehan
ca95bcf1d8
add shell prefixes to history
2019-02-08 19:19:28 +03:00
Gokcehan
52be0b3aab
handle shell-pipe prompts properly
...
Related #137
2019-02-07 00:34:42 +03:00
Gokcehan
bd889a9e06
make 'delete' command prompting
...
Related #113
2019-02-06 15:56:41 +03:00
Gokcehan
951529ebc0
make read commands work when typed manually
2019-02-06 15:07:31 +03:00
Gokcehan
c7fe60c541
keep command line mode for resize events
2019-01-31 21:55:32 +03:00
Tomáš Martiček
90f0339fa9
Implemented line numbers ( #133 )
2019-01-27 17:31:29 +03:00
Gokcehan
d8b9bab3ea
add 'color256' option to control color mode
...
Related #104
2019-01-08 22:47:41 +03:00
Gokcehan
c5297d6b6b
handle normal commands in cmap
...
Related #68
2018-12-29 21:39:06 +03:00
Kallinteris Andreas
7e3f92f049
added ':delete' builtin command ( #121 )
...
* added ':delete' command
* fixed doc
* fixed typo
* added dummy function for delete for windows
* detacted the functionality from the OS
* now deletion works based on selections
* added effective selection
* delete no longer sends 'send sync'
* fixed typo
* fixed typo
* added DOC to effective selection
* added DOC to deleteFiles()
* fixed DOC typos
* added ability to overwrite :delete
* added ability to overwrite :delete
2018-12-29 20:14:20 +03:00
martinlebeda
c693b7eae4
add ignoredia and smartdia option for search and find without diacritics ( #118 )
2018-12-03 15:41:53 +03:00
Gokcehan
4ee6488a09
add 'incsearch' option for incremental searching
...
Related #68
2018-11-24 19:02:04 +03:00
Gokcehan
4ba3c3cda9
keep reverse direction in find and search
2018-08-23 01:55:50 +03:00
Gokcehan
4420e41c76
add 'anchorfind' option to control find start
...
Related #68
2018-08-23 01:37:07 +03:00
Gokcehan
a59a5aa712
use zero value in findlen for arbitrary length
...
Related #68
2018-08-23 01:29:59 +03:00
Gokcehan
170e39b95e
add 'findlen' option to control number of chars
...
Related #68
2018-08-22 20:57:47 +03:00
Gokcehan
011cca76d1
add find commands to find as you type
...
Related #68
2018-08-22 20:05:22 +03:00
Gokcehan
d3f9a3588f
handle non-existent directories during reload
2018-07-30 20:56:57 +03:00
Gokcehan
abf2187271
save last directory as a mark
...
Related #76
2018-07-17 19:45:31 +03:00
Gokcehan
0d0f7451ac
add 'mark-save' and 'mark-load' commands for marks
...
Related #76
2018-07-09 21:35:04 +03:00
Gokcehan
a80900f41e
rename mark to selection
2018-07-09 21:22:10 +03:00
Gokcehan
96f35e986d
rename 'open-file' to 'open'
2018-06-28 21:20:43 +03:00
Gokcehan
6c319316e2
add 'source' command to read a configuration file
...
Related #97
2018-06-28 17:14:35 +03:00
Gokcehan
d987c9e439
rename yank-delete-put to copy-cut-paste
2018-06-27 21:17:56 +03:00
Gokcehan
e99478e8a1
add 'shellopts' option to set shell arguments
...
Related #102
2018-06-26 21:14:55 +03:00
Gokcehan
6d20887b16
update preview when 'hidden' is changed
2018-06-16 16:34:14 +03:00
Gokcehan
078dc47e34
find hidden parents when 'hidden' is changed
2018-06-16 16:27:39 +03:00
Gokcehan
52974615f2
handle command properly with 'cmd-word'back'
2018-06-16 00:13:33 +03:00
Gokcehan
51101f7020
load all clients after running 'put' command
2018-06-15 16:34:44 +03:00
Gokcehan
ba01f85340
add 'load' command to load modified dirs and files
2018-06-15 16:33:54 +03:00
Gokcehan
723357fe3d
add 'period' option for periodic refresh
...
Related #73
2018-06-09 22:02:09 +03:00
Gokcehan
397d5e0fac
disable history when a command is running
2018-05-20 20:42:19 +03:00
Gokcehan
9400f07e45
skip searches from command history
2018-05-20 20:38:18 +03:00
Gokcehan
a85e0da9b0
cleanup
2018-05-20 20:30:41 +03:00
Gokcehan
03b9fe0c5e
skip whitespace before 'cmd-capitalize-word'
2018-05-16 15:13:05 +03:00
Gokcehan
42d57121f7
rename 'cmd-put' to 'cmd-yank'
2018-05-16 00:28:11 +03:00
Gokcehan
ed8137a79c
rename 'bot' to 'bottom'
2018-05-16 00:20:05 +03:00
Gokcehan
d9761d2dc8
rename 'hist' to 'history'
2018-05-16 00:16:49 +03:00
Gokcehan
04f1d68d1e
rename 'comp' to 'complete'
2018-05-16 00:05:06 +03:00
Gokcehan
3deea69c4d
rename 'cmd-delete-beg' to 'cmd-delete-home'
2018-05-16 00:02:06 +03:00
Gokcehan
980a89c908
rename 'cmd-beg' to 'cmd-home'
2018-05-16 00:00:20 +03:00
Gokcehan
de39594a46
add 'cmd-transpose-word' to swap words
2018-05-14 19:38:35 +03:00
Gokcehan
6e6cca33b8
add 'cmd-lowercase-word' to downcase word to end
2018-05-14 01:38:19 +03:00
Gokcehan
18f6d954a7
add 'cmd-uppercase-word' to upcase word to end
2018-05-14 01:30:53 +03:00
Gokcehan
1a95df7b64
add 'cmd-delete-word' to delete word to end
2018-05-14 01:25:26 +03:00
Gokcehan
afefc30a67
rename 'cmd-delete-word' to 'cmd-delete-unix-word'
2018-05-14 01:19:26 +03:00
Gokcehan
0c672fef6f
add 'cmd-capitalize-word' to upcase letter
2018-05-14 01:16:01 +03:00
Gokcehan
ef709b5611
implement 'cmd-word' and 'cmd-word-back' commands
...
Related #67
2018-05-05 19:37:14 +03:00
Gokcehan
a0e1d4d59a
sort cached directories while loading
2018-04-18 23:08:28 +03:00
Gokcehan
09b1daaade
sort directory preview when options are changed
2018-04-18 21:57:41 +03:00
Gokcehan
8eb9055622
add 'drawbox' option to draw box around windows
2018-04-15 19:26:51 +03:00
Gokcehan
d608eb4a56
handle resize events properly
2018-04-15 18:18:39 +03:00
Gokcehan
ebd599deca
remove 'lscolors' option
...
Related #37
2018-04-14 21:21:39 +03:00
Gokcehan
5a9a829252
handle 256 colors in $LS_COLORS
...
Related #37
2018-04-14 21:18:39 +03:00
M1rt
f92e0f53a5
LSCOLORS & LS_COLORS support ( #96 )
...
* LSCOLORS & LS_COLORS support
* Renamed lsColors to gColors
* Fixed gOptWords & setExpr.eval()
2018-04-14 14:58:29 +03:00
Gokcehan
4d3437a198
add builtin 'draw' command to update efficiently
2018-04-12 21:48:32 +03:00
Gokcehan
03619c3cbb
handle command counts efficiently
...
Related #66
2018-04-12 18:04:37 +03:00
Gokcehan
54315ffde2
clear output on 'cmd-enter' with 'shell-pipe'
2018-04-06 22:22:38 +03:00
Gokcehan
f6c99a7d46
reset 'cmd-hist-next/prev' to last in normal mode
2018-04-03 23:19:13 +03:00
Gokcehan
e55c490bf5
add 'cmd-interrupt' command to kill current shell
2018-04-03 22:56:38 +03:00
Gokcehan
c63c8f63ac
pipe stdin for 'shell-pipe' commands
2018-04-03 22:22:58 +03:00
Gokcehan
68232c06e3
rename 'read-shell' to 'shell' in shell commands
2018-03-27 21:23:34 +03:00
Gokcehan
4f05975e77
add builtin 'select' command to change selection
2018-03-27 20:47:17 +03:00
Gokcehan
32d729eac1
add a new shell type displaying the output
2018-03-26 21:22:18 +03:00
Gokcehan
61c8b588cd
add promptfmt option to configure prompt line
...
Related #50
2018-02-22 18:18:30 +03:00