Re:Neovim v0.2.1 released
by berfarah on Wednesday November 08, 2017 @04:25AM
(#15650855)
My favorite thing in this release is that shift+tab works in the terminal now.
[ Parent
| on HN ]
To unindent a visual selection? The "correct" way to do that is "<" in visual mode.
What has always annoyed me about this is that < and > (de)indent but also unselect the text and put you back in normal mode. Why? I often want to indent more than once but don't want to count ahead of time how many it will take, but that means I have to reselect the text N times. Is there a good way around this?
Edit: just found that gv will reselect the last visual mode selection, which makes this much less cumbersome.
Re:Neovim v0.2.1 released
by superflyguy on Wednesday November 08, 2017 @02:47PM
(#15656234)
Why don't you just hit . to repeat the last indent?
This is the super easy way to do it.
I like to us gv as default, so I have this in my .vimrc:
" Align blocks of text and keep them selected
vmap < <gv
vmap > >gv
I think my comment wasn't super clear. What I meant is shift-tab in terminal emulation, which wasn't registering correctly.
What does/should shift+tab do ?
Before this release, using shift tab (as well as the function keys and a few other key combos) in the embedded terminal would just output weird junk characters. Now they all get passed through to the terminal correctly and behave like they would in a normal terminal.
Re:Neovim v0.2.1 released
by ComputerGuru on Wednesday November 08, 2017 @07:05AM
(#15651579)
Reverse tab completion for autocomplete suggestions.
Shift+Tab always worked in the Terminal for me since Vim 7.3. What Terminal are you using?