2pac
17ed724e67
Completition menu cycling #72 ( #482 )
...
* utility modulus function
* ui adapt for tab menu cycle
* refactor(listMatches) for tab menu cycle
* refactor(draw) handle tab menu selection highlight
* refactor(eval) cmd-complete cycle + reset handles
* feat: added backtab counter-cycle in the completition menu
* cleanup
* docs changes
* refactor: make tab cycle own commands
* docs: tab cycle documentation
* bug: the matches list was not complete because index +2 after row end
* refactor(tab cycle): handle the complete menu command print
* refactor(tab cycle): make the cmdTmp varibale mymic cmdAccLeft + check for partial commands
* refactor(tab cycle): fix how to handle the menu completiton from different events
* fix(tab cycle): fix cmd-complete so that it works with new tab cycle commands
* style: changed puprle to reverse
* cleaned up cycle logic + reverted listMatches
* cleaned up eval logic for cycle feat.
* cleanup
Co-authored-by: 2pac <tarasyarema@pm.me>
2020-10-14 19:42:44 +03:00
Gokcehan
228a20ffd1
rename bs to backspace
2020-10-10 17:34:29 +03:00
Gokcehan
4c89535e18
add descriptions of variables to the documentation
2020-10-02 23:37:39 +03:00
Gokcehan
969dee3621
add descriptions of options to the documentation
...
Related #321
2020-09-24 02:00:36 +03:00
Gokcehan
36798b4c24
update doc
...
Related #469
2020-09-22 04:22:08 +03:00
Gokcehan
76c85d9459
add descriptions of cmds to the documentation
...
Related #321
2020-09-13 18:14:25 +03:00
Gokcehan
355075cf75
cleanup
2020-09-13 14:55:17 +03:00
Himujjal Upadhyaya
1186bf6382
[Minor Fix]: Doc update for Windows Users ( #465 )
...
A minor change was fixed in `doc.go:142` for Windows Users. Clear instructions for using `$f`, `$fs`, `$fx` and `$id` in Windows as `%f%`, `%fs%`, `%fx%` and `%id%`.
2020-09-10 19:17:09 +03:00
Provessor
24f01f4988
Replace termbox-go with tcell ( #439 )
...
Fix colour construction issue
This also has a test to mitigate it in the future
Remove `colormode` option
The original issue it was trying to solve is no longer present with
tcell (it being a holdover from `color256` on termbox) so it is not
needed.
retire gitter channel in favor of irc/matrix
Export options as environment variables (#448 )
* Export options as environment variables
Any options from gOpts are available via lf_OPTION environment
variables. For now it works only on booleans, integers and strings (no
array support)
* Do not export some of the options
* Add support for arrays and fix numbers
* Fix comments
* Replace 1 and 0 with true and false
* Export hidden,reverse,dirfirst and sortby options
* Fix comments
* Little fix
* Simplify boolean conversion
log readlink errors instead of fail
Related #447 and #374
2020-09-01 15:42:44 +03:00
Gokcehan
d25faf7186
add descriptions of commands to the documentation
...
Related #321
2020-09-01 00:00:38 +03:00
Gokcehan
2b445aa205
update doc
2020-07-26 00:29:50 +03:00
Gokcehan
f8daa60b31
expand '%w' in 'promptfmt' with a trailing slash
...
Related #421
2020-07-20 00:19:42 +03:00
Alexey Yerin
d0cd181eb6
Ability to customize filename truncating ( #417 )
...
* Add truncatechar option
* Add ability to set truncatechar via `set` command
* Add completion for truncatechar option
* Actually use truncatechar option when truncating
* Add truncatechar option to docs
2020-07-18 03:08:25 +03:00
gotroyb127
75e59cdd08
'toggle' command now toggles selection on its arguments when at least one ( #409 )
...
* 'toggle' command now toggles selection on its arguments when given and some cleanup
* update doc
2020-07-14 19:28:01 +03:00
Gokcehan
fd73a53f84
update doc
...
Related #352 and #386
2020-06-17 06:35:28 +03:00
Gokcehan
0e3910652a
cleanup
2020-06-11 04:11:40 +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
Gokcehan
c5d05b7683
add 'on-cd' to the documentation
...
Related #291
2020-04-13 17:58:03 +03:00
Gokcehan
ff4c36565c
mention setsid in the documentation
...
Related #148 and #233
2019-10-07 20:23:08 +03:00
Gokcehan
bc33f3154a
cleanup
2019-10-04 21:49:18 +03:00
Gokcehan
488bf9f6b6
cleanup
2019-07-30 17:06:11 +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
Gokcehan
db224f04fe
add icon support
...
Related #158 and #164
2019-06-28 18:08:11 +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
Gokcehan
a5199960ed
update documentation
2019-05-14 20:27:16 +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
866a7e6a2b
cleanup
2019-03-13 22:28:20 +03:00
Gokcehan
1956a759c4
cleanup
2019-03-04 00:05:29 +03:00
Gokcehan
31945fbcb5
update doc
2019-03-03 22:12:33 +03:00
Gokcehan
193285a65d
add 'echomsg' and 'echoerr' commands for logging
2019-02-28 21:58:14 +03:00
Gokcehan
35930924a7
disable normal commands in cmap
...
Related #68
2019-02-10 19:28:14 +03:00
Gokcehan
79b05dc365
update doc
2019-01-31 22:15:31 +03:00
Tomáš Martiček
90f0339fa9
Implemented line numbers ( #133 )
2019-01-27 17:31:29 +03:00
Gokcehan
e0e5977008
update documentation
2019-01-18 23:09:18 +03:00
Gokcehan
55955fa5c1
add search and find to the documentation
...
Related #68
2019-01-18 20:41:17 +03:00
Gokcehan
d8b9bab3ea
add 'color256' option to control color mode
...
Related #104
2019-01-08 22:47:41 +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
Gokcehan
3efdfd3bca
update documentation
2018-12-03 15:46:17 +03:00
Gokcehan
4ee6488a09
add 'incsearch' option for incremental searching
...
Related #68
2018-11-24 19:02:04 +03:00
Gokcehan
629a7f3297
update documentation
2018-08-29 19:28:22 +03:00
Gokcehan
4420e41c76
add 'anchorfind' option to control find start
...
Related #68
2018-08-23 01:37:07 +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
40002a7752
add 'quit' command to server protocol
...
Related #106
2018-07-22 20:44:56 +03:00
Gokcehan
ee7293e2f7
change system configuration path on unix
2018-07-13 22:46:37 +03:00
Gokcehan
95a9305f70
add marks and history file locations to doc
2018-07-12 21:47:19 +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
d86e9c991c
add 'doc' command to view documentation
...
Related #100
2018-07-07 17:50:47 +03:00
Gokcehan
63892ee83c
generate man page from the documentation
2018-07-05 23:09:53 +03:00
Gokcehan
fef99c1d70
use env vars on windows
2018-06-28 23:37:01 +03:00
Gokcehan
5787ecd1bd
add default environmental variables
2018-06-28 21:51:24 +03:00
Gokcehan
96f35e986d
rename 'open-file' to 'open'
2018-06-28 21:20:43 +03:00
Gokcehan
07c16fede0
add configuration file locations to doc
2018-06-28 20:23:50 +03:00
Gokcehan
6c319316e2
add 'source' command to read a configuration file
...
Related #97
2018-06-28 17:14:35 +03:00
Gokcehan
5d5d00e30b
add special keys to default keybindings
2018-06-27 21:33:00 +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
8070cd82b7
cleanup
2018-06-16 00:59:16 +03:00
Gokcehan
76a725eaf2
replace 'reload' with 'load' in documentaiton
2018-06-15 22:52:17 +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
9177ddd406
cleanup
2018-06-06 21:50:15 +03:00
Gokcehan
9d21a4f359
add key mappings to the doc
2018-06-06 21:39:44 +03:00
Gokcehan
a85e0da9b0
cleanup
2018-05-20 20:30:41 +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
0855507298
fix default commands on windows
2018-04-28 18:34:24 +03:00
Gokcehan
6b235beb39
update documentation
2018-04-21 00:11:54 +03:00
Gokcehan
8eb9055622
add 'drawbox' option to draw box around windows
2018-04-15 19:26:51 +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
0175c1bd1b
fix titles in the documentation
2018-04-06 22:52:15 +03:00
Gokcehan
01581f902f
update documentation
2018-04-06 22:49:50 +03:00
Gokcehan
e55c490bf5
add 'cmd-interrupt' command to kill current shell
2018-04-03 22:56:38 +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
c3f4aa58a7
add default file opener and more keybindings
...
Related #9 and #94
2018-03-02 23:21:52 +03:00
Gokcehan
61c8b588cd
add promptfmt option to configure prompt line
...
Related #50
2018-02-22 18:18:30 +03:00
Gokcehan
6c0f794a94
use relative path for default shell on unix
...
Related #58
2018-02-17 20:04:30 +03:00
Gokcehan
288561a9ba
bind redraw to control-l
...
Mentioned in #92 .
2018-01-29 18:12:59 +03:00
Gokcehan
f6cce2d40c
rename renew to reload and bind to control-r
...
Mentioned in #92 .
2018-01-29 18:08:51 +03:00
Gokcehan
ce508d7ed3
add unmark command to unmark all selections
...
Mentioned in #79 .
2017-11-25 16:15:04 +03:00
Gokcehan
9b7bf63096
cleanup
2017-11-19 21:55:13 +03:00