Compare commits
2 Commits
b2cbeb41c1
...
e539bb663d
Author | SHA1 | Date |
---|---|---|
|
e539bb663d | |
|
5f39958f59 |
|
@ -1 +1,17 @@
|
|||
" predefined macros in functions
|
||||
function SpacedLine()
|
||||
normal o
|
||||
normal O
|
||||
normal O
|
||||
normal j
|
||||
endfunction
|
||||
|
||||
function SwapWords()
|
||||
normal dw
|
||||
normal e
|
||||
exec 'normal! a '
|
||||
normal p
|
||||
endfunction
|
||||
|
||||
nnoremap <leader>o :call SpacedLine()<CR>
|
||||
nnoremap <leader>ls :call SwapWords()<CR>
|
||||
|
|
Loading…
Reference in New Issue