From 38453b2bcfba9c42d5d984383eb159eb984964b7 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 5 Nov 2018 18:08:40 -0500 Subject: [PATCH] shellcheck vim shortcut --- .vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index b9fcd5a..81b2d4e 100644 --- a/.vimrc +++ b/.vimrc @@ -27,8 +27,8 @@ let mapleader =" " map k map l -" Open file as suckless sent presentation - map s :!sent% 2>/dev/null & +" Check file in shellcheck: + map s :!clear && shellcheck % " View an image for a suckless sent presentation: map v $F@ly$:!feh --scale-down --auto-zoom --image-bg black " & @@ -45,7 +45,7 @@ let mapleader =" " " Replace all is aliased to S. nnoremap S :%s//g -" Open corresponding.pdf +" Open corresponding .pdf map p :!opout % " Compile document