" ~/.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 sh :read ~/.vim/ftplugin/sh/snippets/template.txt nnoremap +x :!chmod 744 % nnoremap x :w:!./% nnoremap X :w:!./% nnoremap e :Errors let mapleader = "," inoremap if :read ~/.vim/ftplugin/sh/snippets/if.txtkdd/<+++>cf> inoremap case :read ~/.vim/ftplugin/sh/snippets/case.txtkdd/<+++>cf>