Commit cd86ed37 authored by Murukesh Mohanan's avatar Murukesh Mohanan

added tabularize, go mappings, switched clipboard registers in helpurl function

parent 568c16c6
......@@ -65,3 +65,6 @@
[submodule "bundle/YouCompleteMe"]
path = bundle/YouCompleteMe
url = https://github.com/Valloric/YouCompleteMe.git
[submodule "bundle/tabular"]
path = bundle/tabular
url = https://github.com/godlygeek/tabular.git
Subproject commit 60f25648814f0695eeb6c1040d97adca93c4e0bb
......@@ -33,3 +33,6 @@ let g:tagbar_type_go = {
\ 'ctagsbin' : 'gotags',
\ 'ctagsargs' : '-sort -silent'
\ }
nnoremap <buffer> <leader>r :GoRun<cr>
nnoremap <buffer> <leader>pc :pc<cr>
......@@ -67,10 +67,10 @@ function! s:Help2Url (...)
endif
let l:tagfile = expand ('%:t')
if ! empty ($DISPLAY)
let @* = expand ('<cword>')
let @+ = expand ('<cword>')
python import urllib
let @* = pyeval ('urllib.quote_plus ("' . @* . '")')
let @* = printf ('http://vimhelp.appspot.com/%s.html#%s', l:tagfile, @*)
let @+ = pyeval ('urllib.quote_plus ("' . @* . '")')
let @+ = printf ('http://vimhelp.appspot.com/%s.html#%s', l:tagfile, @*)
else
let @a = expand ('<cword>')
python import urllib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment