diff options
Diffstat (limited to 'stow/vim/dot-vim/ftplugin/sh')
-rw-r--r-- | stow/vim/dot-vim/ftplugin/sh/sh.vim | 16 | ||||
-rw-r--r-- | stow/vim/dot-vim/ftplugin/sh/snippets/if.txt | 3 |
2 files changed, 0 insertions, 19 deletions
diff --git a/stow/vim/dot-vim/ftplugin/sh/sh.vim b/stow/vim/dot-vim/ftplugin/sh/sh.vim deleted file mode 100644 index 3eb4da5..0000000 --- a/stow/vim/dot-vim/ftplugin/sh/sh.vim +++ /dev/null @@ -1,16 +0,0 @@ -" ~/.vim/ftplugin/sh.vim -" Bourne shell scripts specific vim configuration -" -" Linters: sh, shellcheck - -call matchadd('ColorColumn', '\%111v', 100) -setlocal textwidth=110 - -nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/sh/sh.vim<CR> -nnoremap <buffer> <leader>+x :!chmod 744 %<CR><CR> -nnoremap <buffer> <leader>x :w<CR>:!./%<Space> -nnoremap <buffer> <leader>e :Errors<CR> - -inoremap <buffer> <leader>sh #!/bin/sh -inoremap <buffer> <leader>if if <+++>; then<CR><++><CR>fi<++><Esc>?<+++><CR>cf> -"inoremap <buffer> <leader>if <Esc>:read ~/.vim/ftplugin/sh/snippets/if.txt<CR>kdd/<+++><CR>cf> diff --git a/stow/vim/dot-vim/ftplugin/sh/snippets/if.txt b/stow/vim/dot-vim/ftplugin/sh/snippets/if.txt deleted file mode 100644 index 9f6bb88..0000000 --- a/stow/vim/dot-vim/ftplugin/sh/snippets/if.txt +++ /dev/null @@ -1,3 +0,0 @@ -if <+++>; then - <++> -fi<++> |