aboutsummaryrefslogtreecommitdiff
path: root/files/.vim/plugin/luarefvim.vim
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2013-10-10 22:55:51 +0600
committerAnton Bobov <abobov@gmail.com>2013-10-10 22:55:51 +0600
commit9356a267f4ff70ed2c41996a248f1ca90552bd89 (patch)
tree81692c3e25b01cc877b6827bfb76caf79043806e /files/.vim/plugin/luarefvim.vim
parent758071194a0adf8a6ec2e83130f8677d7ca7b70c (diff)
parenta909de07c5f982968cb8cd0f2101ac052f4a0034 (diff)
Merge branch 'master' of github.com:abobov/dotfiles
Conflicts: .gitmodules
Diffstat (limited to 'files/.vim/plugin/luarefvim.vim')
-rw-r--r--files/.vim/plugin/luarefvim.vim30
1 files changed, 0 insertions, 30 deletions
diff --git a/files/.vim/plugin/luarefvim.vim b/files/.vim/plugin/luarefvim.vim
deleted file mode 100644
index cb5664c..0000000
--- a/files/.vim/plugin/luarefvim.vim
+++ /dev/null
@@ -1,30 +0,0 @@
-" luarefvim plugin
-" This is somewhat based on CRefVim
-" Maintainer: Luis Carvalho <lexcarvalho@gmail.com>
-" Last Change: Jun, 3, 2005
-" Version: 0.2
-
-" initial setup: avoid loading more than once
-if exists("loaded_luarefvim")
- finish
-endif
-let loaded_luarefvim = 1
-
-" mappings:
-vmap <silent> <unique> <Leader>lr y:call <SID>LookUp('<c-r>"')<CR>
-nmap <silent> <unique> <Leader>lr :call <SID>LookUp(expand("<cword>"))<CR>
-map <silent> <unique> <Leader>lc :help luaref<CR>
-
-function <SID>LookUp(str)
- if a:str == "--" "comment?
- silent! execute ":help lrv-comment"
- elseif a:str == ""
- silent! execute ":help luaref"
- else
- silent! execute ":help lrv-" . a:str
- if v:errmsg != ""
- echo "luarefvim: \`" . a:str . "\' not found"
- endif
- endif
-endfunction
-