" ~/.vim/ftplugin/sh.vim " Bourne shell scripts specific vim configuration " " Linters: sh, shellcheck call matchadd('ColorColumn', '\%111v', 100) setlocal textwidth=110 " Mappings let mapleader = " " nnoremap C :sp ~/.vim/ftplugin/sh/sh.vim nnoremap +x :!chmod 744 % nnoremap x :w:!./% nnoremap X :w:!./% nnoremap e :Errors let mapleader = "," inoremap sh #!/bin/sh inoremap if if <+++>; then<++>fi<++>?<+++>cf> "inoremap if :read ~/.vim/ftplugin/sh/snippets/if.txtkdd/<+++>cf>