Added the easy print message

This commit is contained in:
Marcin Woźniak 2022-07-18 22:59:51 +02:00
parent 1be12bd677
commit 2720c79634
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -407,6 +407,10 @@ set completeopt-=preview
let mapleader = "\<Space>"
nmap <leader>2 :w!<cr>
" Adding print message
autocmd FileType python nmap <leader>f i print(--------DEBUG--------)<CR>print()<CR>print(--------END DEBUG--------)<UP><LEFT>
autocmd FileType sh nmap <leader>f i echo -e "--------DEBUG--------"<CR>echo -e ""<CR>echo -e "--------END DEBUG--------"<UP><LEFT>
" Adding commentary
xmap <leader>c <Plug>Commentary
nmap <leader>c <Plug>Commentary