diff options
| author | Teddy Wing | 2015-07-23 11:42:33 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-07-23 11:42:33 -0400 |
| commit | cf78a037c2a5575da083d10e3a8081ca667feb8a (patch) | |
| tree | 2b09109aa48fd35a8a145d0e5e74ec822665b486 | |
| parent | 38a3a437ca7b6d4ea606a67383b910cc3989d2e2 (diff) | |
| download | KeyBindings-cf78a037c2a5575da083d10e3a8081ca667feb8a.tar.bz2 | |
DefaultKeyBinding.dict: Add mapping to delete words forward
Severely missing this in non-Readline environments. Nice to have a
single command I can use to do it instead of first moving to after the
word and then deleting it.
| -rw-r--r-- | DefaultKeyBinding.dict | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/DefaultKeyBinding.dict b/DefaultKeyBinding.dict index 372b124..9dcbead 100644 --- a/DefaultKeyBinding.dict +++ b/DefaultKeyBinding.dict @@ -18,6 +18,8 @@ // delete word before cursor "^w" = (deleteWordBackward:); + // delete word after cursor + "^~w" = (deleteWordForward:); // select word "~w" = (selectWord:); // select word backward and modify selection |
