add a jump to end of line, formatting

This commit is contained in:
lelgenio 2020-11-06 23:54:12 -03:00
parent 27c9e63fae
commit 03c4ca7bfd

View file

@ -246,13 +246,12 @@ hi SpellLocal guisp={{@@ n.yellow @@}} guibg=none
} @@%} } @@%}
" Basic motion " Basic motion
{%@@ for old, new in keys.items() @@%} "{%@@ for old, new in keys.items() @@%}"
" {{@@ new @@}} -> {{@@ old @@}}
noremap {{@@ new @@}} {{@@ old @@}} noremap {{@@ new @@}} {{@@ old @@}}
noremap {{@@ new.upper() @@}} 10{{@@ old[-1] @@}} noremap {{@@ new.upper() @@}} 10{{@@ old[-1] @@}}
noremap <silent> <C-w>{{@@ new @@}} :wincmd {{@@ old[-1] @@}}<CR> noremap <silent> <C-w>{{@@ new @@}} :wincmd {{@@ old[-1] @@}}<CR>
noremap <silent> <C-w>{{@@ new.upper() @@}} :wincmd {{@@ old[-1].upper() @@}}<CR> noremap <silent> <C-w>{{@@ new.upper() @@}} :wincmd {{@@ old[-1].upper() @@}}<CR>
{%@@ endfor @@%} "{%@@ endfor @@%}"
" Repeat search " Repeat search
noremap {{@@ key.next @@}} n noremap {{@@ key.next @@}} n
@ -284,8 +283,9 @@ hi SpellLocal guisp={{@@ n.yellow @@}} guibg=none
" Join line without space " Join line without space
nnoremap j gJ nnoremap j gJ
" Beginning of line " Beginning/Ending of line
noremap , ^ noremap , ^
noremap ; $
imap {{@@ key.insertQuit @@}} <ESC> imap {{@@ key.insertQuit @@}} <ESC>