t9md / atom-vim-mode-plus

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

add-blank-line-* commands exit insert mode #1057

Closed paradox460 closed 6 years ago

paradox460 commented 6 years ago

When calling the add-blank-line-* operators (add-blank-line-above and add-blank-line-below) in insert mode, the editor is transitioned out of insert mode, into normal mode.

These functions are particularly useful for inserting a newline around the current line, while maintaining cursor position.

t9md commented 6 years ago

Basically every operator in vmp is designed to be invoked from normal-mode. So invoking it from insert-mode is out of scope.

For your case, using following native command solve problem.

tryit_txt_ ___tryit

paradox460 commented 6 years ago

Huh, I opened my command palette in an effort to find the exact command I wanted to bind. Thank you!