Skip to content

Instantly share code, notes, and snippets.

@lopesivan
Created May 9, 2022 12:42
Show Gist options
  • Save lopesivan/7a723537502dadfb75191a91cee55ddd to your computer and use it in GitHub Desktop.
Save lopesivan/7a723537502dadfb75191a91cee55ddd to your computer and use it in GitHub Desktop.
Lista VIM
"Press <m-t> to start
function! s:Chaves(string)
echomsg a:string
endfunction
function! s:Chiquinha(string)
echomsg a:string
endfunction
nnoremap <silent> <Plug>(chaves) :<C-u>call <SID>Chaves("Ninguém tem paciência comigo")<CR>
nnoremap <silent> <Plug>(chiquinha) :<C-u>call <SID>Chiquinha("Ai, Chaves, você só não é mais burro por falta de vitaminas.")<CR>
nmap <m-t> <Plug>(chaves)<Plug>(chiquinha)
" ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
" função 1 finção 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment