aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/sh/lint.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-25 09:00:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-25 09:00:52 +1200
commit669b695d8f8663f4c1bc8514e0738e2963b66167 (patch)
tree15b1f7119bd198d810b312bc6f194ab12d489e19 /vim/after/ftplugin/sh/lint.vim
parentCorrect .vimrc comment (diff)
downloaddotfiles-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/lint.vim')
-rw-r--r--vim/after/ftplugin/sh/lint.vim9
1 files changed, 0 insertions, 9 deletions
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