From cf78a037c2a5575da083d10e3a8081ca667feb8a Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 23 Jul 2015 11:42:33 -0400 Subject: 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. --- DefaultKeyBinding.dict | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3