aboutsummaryrefslogtreecommitdiff
path: root/files/.vim/ftplugin/rfc.vim
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2013-10-03 09:48:51 +0600
committerAnton Bobov <abobov@gmail.com>2013-10-03 09:53:41 +0600
commita909de07c5f982968cb8cd0f2101ac052f4a0034 (patch)
tree99111641ac662d8b437d885befe50ff1a3f3dbf9 /files/.vim/ftplugin/rfc.vim
parentede4983c110a5947fa034857a5e37bdbb03ab49a (diff)
Vim plugins cleaning up.
Diffstat (limited to 'files/.vim/ftplugin/rfc.vim')
-rw-r--r--files/.vim/ftplugin/rfc.vim21
1 files changed, 0 insertions, 21 deletions
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 <lilydjwg@gmail.com>
-" 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 <buffer> <silent> <C-]> :call <SID>rfcTag()<CR>