Add cmd-delete-word-back command (#1409)

* add `cmd-delete-word-back`

Implementation of zsh-like backwards word deletion.

* add unixwords option and evaluate, short description in doc

* remove unixwords configuration option

* remove yank, bind delete word back to alt-backspace, update docs

* minor changes to docs

* small fixes
This commit is contained in:
Jan-Peter Dhallé authored and GitHub committed 2023-09-03 19:52:07 +03:00
1 parent 439fb038e5
commit 791dfff8dc
6 files changed
+31

No files matched your search

+5
View File
@@ -111,6 +111,7 @@ The following command line commands are provided by lf:
cmd-word (default '<a-f>')
cmd-word-back (default '<a-b>')
cmd-delete-word (default '<a-d>')
cmd-delete-word-back (default '<a-backspace>' and '<a-backspace2>')
cmd-capitalize-word (default '<a-c>')
cmd-uppercase-word (default '<a-u>')
cmd-lowercase-word (default '<a-l>')
@@ -632,6 +633,10 @@ Move the cursor by one word in forward/backward direction.
Delete the next word in forward direction.
cmd-delete-word-back (default '<a-backspace>' and '<a-backspace2>')
Delete the previous word in backward direction.
cmd-capitalize-word (default '<a-c>')
cmd-uppercase-word (default '<a-u>')
cmd-lowercase-word (default '<a-l>')