From a909de07c5f982968cb8cd0f2101ac052f4a0034 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 3 Oct 2013 09:48:51 +0600 Subject: Vim plugins cleaning up. --- files/.vim/ftplugin/rfc.vim | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 files/.vim/ftplugin/rfc.vim (limited to 'files/.vim/ftplugin/rfc.vim') diff --git a/files/.vim/ftplugin/rfc.vim b/files/.vim/ftplugin/rfc.vim deleted file mode 100644 index 0a8bb13..0000000 --- a/files/.vim/ftplugin/rfc.vim +++ /dev/null @@ -1,21 +0,0 @@ -" Vim script file -" FileType: RFC -" Author: lilydjwg -" Last Change: 2010年1月16日 - -function! s:rfcTag() - " 从目录跳转到正文 - let syn = synIDattr(synID(line("."), col("."), 1), "name") - if syn == 'rfcContents' || syn == 'rfcDots' - let l = getline('.') - let l = matchstr(l, '\v[0-9.]+\s(\w|\s)\S') - let l = '^\V' . l - call search(l, 's') - else - echohl Error - echomsg '光标不位于目录项!' - echohl None - endif -endfunction - -nmap :call rfcTag() -- cgit v1.2.3