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

4
.vimrc
View File

@ -27,8 +27,8 @@ let mapleader =" "
map <C-k> <C-w>k map <C-k> <C-w>k
map <C-l> <C-w>l map <C-l> <C-w>l
" Open file as suckless sent presentation " Check file in shellcheck:
map <leader>s :!sent<space><C-r>% 2>/dev/null &<CR><CR> map <leader>s :!clear && shellcheck %<CR>
" View an image for a suckless sent presentation: " 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> map <leader>v $F@ly$:!feh --scale-down --auto-zoom --image-bg black <c-r>" &<CR><CR>