" ~/.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:!tmux new-window './% \| less' nnoremap X :w:!tmux new-window './% \| less' let mapleader = "," inoremap sh :read ~/.vim/ftplugin/sh/snippets/template.txt inoremap if :read ~/.vim/ftplugin/sh/snippets/if.txtkdd/<+++>cf> inoremap case :read ~/.vim/ftplugin/sh/snippets/case.txtkdd/<+++>cf>