[nvim] Improve ABC alignment macro
This commit is contained in:
parent
7b077eb1b0
commit
1dc9da0a2c
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ iab HEITHG HEIGHT
|
||||||
nnoremap Q <Nop>
|
nnoremap Q <Nop>
|
||||||
|
|
||||||
" ABC macro to align system
|
" ABC macro to align system
|
||||||
nmap <silent> <leader>A mb?%<cr>jV/%<cr>k;a*<C-x>[^:.]\zs\|\ze<cr>`b
|
nmap <silent> <leader>A mb?^%<cr>jV/^%<cr>k:s/\|\|/$$/ge<cr>gv;a*<C-x>[^:.]\zs\(\|\\|\$\$\)\ze<cr>gv:s/\$\$/\|\|/ge<cr>`b
|
||||||
nmap <silent> <leader>q v3j
|
nmap <silent> <leader>q v3j
|
||||||
nmap <silent> <leader>Q v3jA
|
nmap <silent> <leader>Q v3jA
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue