shellcheck vim shortcut
This commit is contained in:
parent
2f4c2a68a1
commit
38453b2bcf
1 changed files with 3 additions and 3 deletions
4
.vimrc
4
.vimrc
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue