tweag / promptworks.vim

PromptWorks vim configs as a self-bootstrapping vundle setup
2 stars 1 forks source link

Use emacs command line plugin instead of mappings #44

Closed pcaisse closed 5 years ago

pcaisse commented 6 years ago

This plugin is more-full featured than our custom, partial solution: https://github.com/houtsnip/vim-emacscommandline

Keys I like

Ctrl + e = end of line Ctrl + a = beginning of line Meta + f = skip forward to next word 🆕 Meta + b = skip back to next word 🆕

kliph commented 6 years ago

💯 for the keybindings, but unfortunately I'm not qualified to review vim prs 🤣

di commented 6 years ago

My only concern with this PR is that I can't tell if this changes the behavior of <M-BS> or not... it seems like it does?

pcaisse commented 6 years ago

So with the plugin running it looks like it does change that behavior. To delete a word, you would now need to do what is option + backspace on my computer, just like it is with the default keybindings in bash.