Closed turnspike closed 6 years ago
I tried this workaround:
'atom-text-editor.vim-mode-plus.normal-mode':
'c i (': 'keystroke f ) c i )'
'c i <': 'keystroke f > c i >'
'c i {': 'keystroke f } c i }'
It fires the keystrokes but the cursor still doesn't change position. However pressing eg f)ci)
works fine.
You cannot find forwading inner-pair, it only can find enclosed pair. So what you are trying is non-supported in pure-Vim and vmp's normal i).
But vmp have enhanced command named inner-pair-allow-forwarding.
Find example keymap from my dotfiles. https://github.com/t9md/dotfiles
@t9md you're right, I just tried it in vanilla Vim and it doesn't work. Thank you very much, I will look into inner-pair-allow-forwarding
. And cheers for the awesome Atom plugin.
:clipboard: Check list
vim-mode is not installed.
:eyes: Observed behavior
ci'
andci"
work greatci{
ci(
andci[
don't work at all if cursor is outside brackets:ok_hand: Works:
:sob: Doesn't work:
According to the Keybinding-Resolver it is hitting "inner-parenthesis" but it is not changing the content. Screenshot attached.
I've also tried
rm -rf ~/.atom
and installing just vim-mode-plus and I get the same issue.:pray: Why it's important to me
I work with Ruby a lot and this issue totally kills my VIM workflow.