VIM: Keep selection when using < or > in visual mode
When indenting or unindenting a code block, I normally visually select it and use < or >. However, both of these unselect the selection. The mappings make vim also do gv after such an action which re-selects the previous selection.
This commit is contained in:
parent
d8e3b894c0
commit
9b4c064acd
4 changed files with 12 additions and 0 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -67,3 +67,9 @@
|
|||
[submodule "nvim/.config/nvim/pack/bundle/opt/firenvim"]
|
||||
path = nvim/.config/nvim/pack/bundle/opt/firenvim
|
||||
url = https://github.com/glacambre/firenvim
|
||||
[submodule "nvim/.config/nvim/pack/bundle/opt/ultisnips"]
|
||||
path = nvim/.config/nvim/pack/bundle/opt/ultisnips
|
||||
url = https://github.com/SirVer/ultisnips
|
||||
[submodule "nvim/.config/nvim/pack/bundle/opt/vim-snippets"]
|
||||
path = nvim/.config/nvim/pack/bundle/opt/vim-snippets
|
||||
url = https://github.com/honza/vim-snippets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue