From 0ec73d6242582783ae1a9d457dfe04a5bc852199 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 30 Oct 2017 11:48:42 +1300 Subject: Move vim/after/ftplugin files into vim/ftplugin None of the settings in here need to be run after the core configuration files are loaded, so I'll put them in a slightly more accessible or logical place. This adds a new target `install-vim-ftplugin`, and makes that a prerequisite of the `install-vim` target. --- vim/after/ftplugin/html.vim | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 vim/after/ftplugin/html.vim (limited to 'vim/after/ftplugin/html.vim') diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim deleted file mode 100644 index 38b71656..00000000 --- a/vim/after/ftplugin/html.vim +++ /dev/null @@ -1,11 +0,0 @@ -" Run tidy -eq -utf8 on file for the current buffer -nnoremap v :exe "!tidy -eq -utf8 " . shellescape(expand("%")) - -" Make a bare URL into a link to itself -function! UrlLink() - normal yiW - execute "normal i0\">\" - normal E - execute "normal a\" -endfunction -nnoremap r :call UrlLink() -- cgit v1.2.3