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/html | |
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/html')
-rw-r--r-- | vim/after/ftplugin/html/lint.vim | 9 | ||||
-rw-r--r-- | vim/after/ftplugin/html/tidy.vim | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/vim/after/ftplugin/html/lint.vim b/vim/after/ftplugin/html/lint.vim index 0b56e73c..9ab479c0 100644 --- a/vim/after/ftplugin/html/lint.vim +++ b/vim/after/ftplugin/html/lint.vim @@ -31,12 +31,3 @@ nnoremap <buffer> <silent> <unique> \ :<C-U>call compiler#Make('tidy')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <Plug>HtmlLint' - -" If there isn't a key mapping already, use a default one -if !hasmapto('<Plug>HtmlLint') - nmap <buffer> <unique> - \ <LocalLeader>l - \ <Plug>HtmlLint - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap <buffer> <LocalLeader>l' -endif diff --git a/vim/after/ftplugin/html/tidy.vim b/vim/after/ftplugin/html/tidy.vim index 3faefcb7..9331486b 100644 --- a/vim/after/ftplugin/html/tidy.vim +++ b/vim/after/ftplugin/html/tidy.vim @@ -31,12 +31,3 @@ nnoremap <buffer> <silent> <unique> \ :<C-U>call filter#Stable('tidy -quiet')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <Plug>HtmlTidy' - -" If there isn't a key mapping already, use a default one -if !hasmapto('<Plug>HtmlTidy') - nmap <buffer> <unique> - \ <LocalLeader>t - \ <Plug>HtmlTidy - let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap <buffer> <LocalLeader>t' -endif |