Apply snipmate template via ',l' in vim

This commit is contained in:
2025-01-03 16:23:46 +01:00
parent b742afa9a4
commit 094eac4371

4
.vimrc
View File

@@ -146,6 +146,10 @@ nnoremap <leader>m :make<CR>
nnoremap <Leader>q :qa!<CR> nnoremap <Leader>q :qa!<CR>
nnoremap gv :vertical wincmd f<CR> nnoremap gv :vertical wincmd f<CR>
" Snipmate
imap <leader>l <Plug>snipMateNextOrTrigger
smap <leader>l <Plug>snipMateNextOrTrigger
" Open shell with Ctrl+d to enable a toggle between a shell and vim " Open shell with Ctrl+d to enable a toggle between a shell and vim
nnoremap <silent> <C-d> :botright terminal ++close<CR> nnoremap <silent> <C-d> :botright terminal ++close<CR>
inoremap <silent> <C-d> <Esc>:botright terminal ++close<CR> inoremap <silent> <C-d> <Esc>:botright terminal ++close<CR>