Compare commits

...

2 Commits

1 changed files with 16 additions and 0 deletions

View File

@ -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>