aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/c.vim6
-rw-r--r--vim/ftplugin/csv.vim3
-rw-r--r--vim/ftplugin/html.vim18
-rw-r--r--vim/ftplugin/perl.vim7
-rw-r--r--vim/ftplugin/php.vim6
-rw-r--r--vim/ftplugin/sh.vim7
-rw-r--r--vim/ftplugin/tsv.vim3
-rw-r--r--vim/ftplugin/vim.vim4
8 files changed, 0 insertions, 54 deletions
diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim
deleted file mode 100644
index 1be25bf5..00000000
--- a/vim/ftplugin/c.vim
+++ /dev/null
@@ -1,6 +0,0 @@
-" Explicitly set indent level; this matches the global default, but it's tidy
-" to enforce it in case we changed from a filetype with different value (e.g.
-" VimL)
-setlocal shiftwidth=4
-setlocal softtabstop=4
-setlocal tabstop=4
diff --git a/vim/ftplugin/csv.vim b/vim/ftplugin/csv.vim
deleted file mode 100644
index 3d78df97..00000000
--- a/vim/ftplugin/csv.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-" Manual indenting and literal tabs for CSVs
-setlocal noautoindent
-setlocal noexpandtab
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim
deleted file mode 100644
index 654aa407..00000000
--- a/vim/ftplugin/html.vim
+++ /dev/null
@@ -1,18 +0,0 @@
-" Explicitly set indent level; this matches the global default, but it's tidy
-" to enforce it in case we changed from a filetype with different value (e.g.
-" VimL)
-setlocal shiftwidth=4
-setlocal softtabstop=4
-setlocal tabstop=4
-
-" Run tidy -eq -utf8 on file for the current buffer
-nnoremap <leader>v :exe "!tidy -eq -utf8 " . shellescape(expand("%"))<CR>
-
-" Make a bare URL into a link to itself
-function! UrlLink()
- normal yiW
- execute "normal i<a href=\"\<C-R>0\">\<Esc>"
- normal E
- execute "normal a</a>\<Esc>"
-endfunction
-nnoremap <silent> <leader>r :<C-U>call UrlLink()<CR>
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 08d41008..dad2ce35 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -1,10 +1,3 @@
-" Explicitly set indent level; this matches the global default, but it's tidy
-" to enforce it in case we changed from a filetype with different value (e.g.
-" VimL)
-setlocal shiftwidth=4
-setlocal softtabstop=4
-setlocal tabstop=4
-
" Run perl -c on file for the current buffer
nnoremap <leader>pc :exe "!perl -c " . shellescape(expand("%"))<CR>
" Run perlcritic on the file for the current buffer
diff --git a/vim/ftplugin/php.vim b/vim/ftplugin/php.vim
deleted file mode 100644
index 1be25bf5..00000000
--- a/vim/ftplugin/php.vim
+++ /dev/null
@@ -1,6 +0,0 @@
-" Explicitly set indent level; this matches the global default, but it's tidy
-" to enforce it in case we changed from a filetype with different value (e.g.
-" VimL)
-setlocal shiftwidth=4
-setlocal softtabstop=4
-setlocal tabstop=4
diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim
index 25e433e7..2b73611e 100644
--- a/vim/ftplugin/sh.vim
+++ b/vim/ftplugin/sh.vim
@@ -1,10 +1,3 @@
-" Explicitly set indent level; this matches the global default, but it's tidy
-" to enforce it in case we changed from a filetype with different value (e.g.
-" VimL)
-setlocal shiftwidth=4
-setlocal softtabstop=4
-setlocal tabstop=4
-
" Default to POSIX shell, as I never write Bourne, and if I write Bash or Ksh
" it'll be denoted with either a shebang or an appropriate extension. At the
" time of writing, changing this also prompts sh.vim to set g:is_kornshell,
diff --git a/vim/ftplugin/tsv.vim b/vim/ftplugin/tsv.vim
deleted file mode 100644
index 53841357..00000000
--- a/vim/ftplugin/tsv.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-" Manual indenting and literal tabs for TSVs
-setlocal noautoindent
-setlocal noexpandtab
diff --git a/vim/ftplugin/vim.vim b/vim/ftplugin/vim.vim
deleted file mode 100644
index b958fe54..00000000
--- a/vim/ftplugin/vim.vim
+++ /dev/null
@@ -1,4 +0,0 @@
-" Observe VimL conventions for two-space indents
-setlocal shiftwidth=2
-setlocal softtabstop=2
-setlocal tabstop=2