Vim: Keep selection when changing indent
This commit is contained in:
parent
f43db4d7a9
commit
4043a451be
2 changed files with 6 additions and 0 deletions
|
@ -8,3 +8,6 @@ set sneak
|
||||||
|
|
||||||
" Copy to system clipboard as well
|
" Copy to system clipboard as well
|
||||||
set clipboard+=unnamedplus
|
set clipboard+=unnamedplus
|
||||||
|
|
||||||
|
vnoremap < <gv
|
||||||
|
vnoremap > >gv
|
||||||
|
|
|
@ -42,3 +42,6 @@ colorscheme tokyonight
|
||||||
|
|
||||||
com! FormatXML :%!python3 -c "import xml.dom.minidom, sys; print(xml.dom.minidom.parse(sys.stdin).toprettyxml())"
|
com! FormatXML :%!python3 -c "import xml.dom.minidom, sys; print(xml.dom.minidom.parse(sys.stdin).toprettyxml())"
|
||||||
nnoremap = :FormatXML<Cr>
|
nnoremap = :FormatXML<Cr>
|
||||||
|
|
||||||
|
vnoremap < <gv
|
||||||
|
vnoremap > >gv
|
||||||
|
|
Loading…
Reference in a new issue