summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin/xs.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin/xs.vim')
-rw-r--r--vim/ftplugin/xs.vim10
1 files changed, 0 insertions, 10 deletions
diff --git a/vim/ftplugin/xs.vim b/vim/ftplugin/xs.vim
deleted file mode 100644
index 8dc989f..0000000
--- a/vim/ftplugin/xs.vim
+++ /dev/null
@@ -1,10 +0,0 @@
-setlocal cindent
-setlocal cinoptions+=:0,l1,g0,(0,W1s
-
-" look up words in perldoc rather than man for K if they exist
-function! s:perldoc_or_man(word)
- exe 'silent read! perldoc -o PlainText -a "' . a:word . '" 2>/dev/null || man -Pcat ' . a:word
- setlocal ft=man
-endfunction
-nnoremap <buffer> <silent>K :call Help(0, [], '<SID>perldoc_or_man')<CR>
-vnoremap <buffer> <silent>K :call Help(1, [], '<SID>perldoc_or_man')<CR>