Compare commits
No commits in common. "e539bb663db349e52f6ed258a804f4c7d8e6cf32" and "b2cbeb41c1e0172a79abfc39c4bb1d9174cd3a36" have entirely different histories.
e539bb663d
...
b2cbeb41c1
|
@ -1,17 +1 @@
|
||||||
" predefined macros in functions
|
" 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