shellcheck vim shortcut

This commit is contained in:
Luke Smith 2018-11-05 18:08:40 -05:00
parent 9f9f1e3fbc
commit babc633685
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

6
.vimrc
View File

@ -27,8 +27,8 @@ let mapleader =" "
map <C-k> <C-w>k
map <C-l> <C-w>l
" Open file as suckless sent presentation
map <leader>s :!sent<space><C-r>% 2>/dev/null &<CR><CR>
" Check file in shellcheck:
map <leader>s :!clear && shellcheck %<CR>
" View an image for a suckless sent presentation:
map <leader>v $F@ly$:!feh --scale-down --auto-zoom --image-bg black <c-r>" &<CR><CR>
@ -45,7 +45,7 @@ let mapleader =" "
" Replace all is aliased to S.
nnoremap S :%s//g<Left><Left>
" Open corresponding.pdf
" Open corresponding .pdf
map <leader>p :!opout <c-r>%<CR><CR>
" Compile document