aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/ftplugin/sh/sh.vim
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-09-20 13:57:02 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-09-20 13:57:02 +0200
commitf154d3f778214e5cca7f2e6fb9412184b57edf04 (patch)
tree072ec5bf989c2328944414e7708ba5ae9671a8ed /stow/vim/.vim/ftplugin/sh/sh.vim
parent26fdb2bcb24881a4c3ab6a1859bdcb9b646aa876 (diff)
downloadconfigs-f154d3f778214e5cca7f2e6fb9412184b57edf04.tar.gz
configs-f154d3f778214e5cca7f2e6fb9412184b57edf04.zip
Changes mostly to vim, trying neovim LSP.
Diffstat (limited to 'stow/vim/.vim/ftplugin/sh/sh.vim')
-rw-r--r--stow/vim/.vim/ftplugin/sh/sh.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/stow/vim/.vim/ftplugin/sh/sh.vim b/stow/vim/.vim/ftplugin/sh/sh.vim
index cc52e08..58d39fe 100644
--- a/stow/vim/.vim/ftplugin/sh/sh.vim
+++ b/stow/vim/.vim/ftplugin/sh/sh.vim
@@ -11,13 +11,12 @@ setlocal textwidth=110
let mapleader = " "
nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/sh/sh.vim<CR><CR>
-nnoremap <buffer> <leader>sh :read ~/.vim/ftplugin/sh/snippets/template.txt<CR><CR>
nnoremap <buffer> <leader>+x :!chmod 744 %<CR><CR>
nnoremap <buffer> <leader>x :w<CR>:!./%<Space>
nnoremap <buffer> <leader>X :w<CR>:!./%<CR><CR>
-nnoremap <buffer> <leader>e :Errors<CR>
let mapleader = ","
+inoremap <buffer> <leader>sh <Esc>:read ~/.vim/ftplugin/sh/snippets/template.txt<CR><CR>
inoremap <buffer> <leader>if <Esc>:read ~/.vim/ftplugin/sh/snippets/if.txt<CR>kdd/<+++><CR>cf>
inoremap <buffer> <leader>case <Esc>:read ~/.vim/ftplugin/sh/snippets/case.txt<CR>kdd/<+++><CR>cf>