guillermooo / Vintageous

Vi/Vim emulation for Sublime Text 3
http://guillermooo.bitbucket.org/Vintageous/
Other
1.64k stars 115 forks source link

How to re-map ctrl-h like shell does? #1100

Closed snowman closed 6 years ago

snowman commented 7 years ago

Like \<Backspace> in insert-mode, to delete a single char left to the current cursor if exists. Thanks!

snowman commented 7 years ago

{ "keys": ["ctrl+h"], "command": "left_delete"}

it works, but it works also in the normal mode.

Is there a manual or help-document to fix it?

gerardroche commented 6 years ago

You could try NeoVintageous: https://github.com/NeoVintageous/NeoVintageous. Setup a mapping using your vintageousrc file. See the documentation. Your mapping will be: nnoremap <C-h> db i.e. db is delete a word backwards.