t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

Missing ctrl-h command #1041

Closed falsandtru closed 6 years ago

falsandtru commented 6 years ago

Could you support ctrl-h command in insert mode? This is very common command. Currently I'm using the following workaround.

'atom-text-editor.vim-mode-plus.insert-mode':
  'ctrl-h': 'core:backspace'
debug info ```json { "atom": "1.22.1", "platform": "linux", "release": "4.13.0-36-generic", "vmpVersion": "1.29.0", "vmpConfig": { "blackholeRegisteredOperators": [], "startInInsertModeScopes": [], "charactersToAddSpaceOnSurround": [], "highlightSearchExcludeScopes": [], "flashOnOperateBlacklist": [] } } ```

Check list

You have to check all before open issue.

t9md commented 6 years ago

I don't want to modify insert-mode's keymap basically. To make insert-mode's UX to be atom's native UX.

I use MacOS, it have that keymap.

https://github.com/atom/atom/blob/1dc700182171ae2fe8773bed703a62104aad0b8e/keymaps/darwin.cson#L17

But linux doesn't have.

https://github.com/atom/atom/blob/1dc700182171ae2fe8773bed703a62104aad0b8e/keymaps/linux.cson

I think there must be some reason. You can ask or request to atom/atom repository.

t9md commented 6 years ago

Close since no update and nothing to do by my side.

falsandtru commented 6 years ago

I see, I defined those commands myself.

'body':
  'ctrl-h': 'core:backspace'
  'ctrl-d': 'core:delete'
'atom-text-editor.vim-mode-plus.insert-mode':
  'ctrl-d': 'core:delete'