diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-25 09:00:52 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-25 09:00:52 +1200 |
commit | 669b695d8f8663f4c1bc8514e0738e2963b66167 (patch) | |
tree | 15b1f7119bd198d810b312bc6f194ab12d489e19 /vim/after/ftplugin/sh | |
parent | Correct .vimrc comment (diff) | |
download | dotfiles-669b695d8f8663f4c1bc8514e0738e2963b66167.tar.gz dotfiles-669b695d8f8663f4c1bc8514e0738e2963b66167.zip |
Move all local bindings out into .vimrc
This is the natural way of things, I think.
Diffstat (limited to 'vim/after/ftplugin/sh')
-rw-r--r-- | vim/after/ftplugin/sh/check.vim | 9 | ||||
-rw-r--r-- | vim/after/ftplugin/sh/lint.vim | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/vim/after/ftplugin/sh/check.vim b/vim/after/ftplugin/sh/check.vim index 499926f3..48bb72d0 100644 --- a/vim/after/ftplugin/sh/check.vim +++ b/vim/after/ftplugin/sh/check.vim @@ -35,12 +35,3 @@ nnoremap <buffer> <silent> <unique> \ :<C-U>call compiler#Make(b:sh_check_compiler)<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <Plug>ShCheck' - -" If there isn't a key mapping already, use a default one -if !hasmapto('<Plug>ShCheck') - nmap <buffer> <unique> - \ <LocalLeader>c - \ <Plug>ShCheck - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap <buffer> <LocalLeader>c' -endif diff --git a/vim/after/ftplugin/sh/lint.vim b/vim/after/ftplugin/sh/lint.vim index 65fe003d..a24ba369 100644 --- a/vim/after/ftplugin/sh/lint.vim +++ b/vim/after/ftplugin/sh/lint.vim @@ -26,12 +26,3 @@ nnoremap <buffer> <silent> <unique> \ :<C-U>call compiler#Make('shellcheck')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <Plug>ShLint' - -" If there isn't a key mapping already, use a default one -if !hasmapto('<Plug>ShLint') - nmap <buffer> <unique> - \ <LocalLeader>l - \ <Plug>ShLint - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap <buffer> <LocalLeader>l' -endif |