Commit fe09b48c authored by Murukesh Mohanan's avatar Murukesh Mohanan

windows stuff

parent c14623ce
if has("gui_running")
set guifont=Ubuntu_Mono:h13
set guioptions-=r
endif
......@@ -69,9 +69,19 @@ function! s:Help2Url (...)
endif
let l:tagfile = expand ('%:t')
let @+ = expand ('<cword>')
try
python import urllib
let @+ = pyeval ('urllib.quote_plus ("' . @+ . '")')
let @+ = printf ('http://vimhelp.appspot.com/%s.html#%s', l:tagfile, @+)
catch /^Vim\%((\a\+)\)\=:E887/
try
if has('python3')
python3 import urllib.parse
let @+ = py3eval ('urllib.parse.quote ("' . @+ . '")')
let @+ = printf ('http://vimhelp.appspot.com/%s.html#%s', l:tagfile, @+)
endif
endtry
endtry
endfunction
command! -nargs=? -complete=help H call s:Help2Url (<f-args>)
......@@ -108,7 +118,7 @@ function! YCMInstallCmd()
endfunction
"execute pathogen#infect()
call plug#begin('~/.vim/plugged')
call plug#begin()
Plug 'murukeshm/vim-manpager'
Plug 'vim-scripts/diffchar.vim'
......@@ -134,8 +144,10 @@ endif
Plug 'godlygeek/tabular'
Plug 'vim-scripts/deb.vim'
Plug 'moon-musick/vim-logrotate'
if !has('windows')
Plug 'vim-scripts/deb.vim'
Plug 'moon-musick/vim-logrotate'
endif
call plug#end()
function! EnableYCM()
......@@ -187,8 +199,8 @@ let g:ycm_seed_identifiers_with_syntax = 1
let g:ycm_python_binary_path = '/usr/bin/python3'
if empty($MAN_PN) && @% == "" && getcwd() == "/tmp"
" From http://vi.stackexchange.com/questions/239/
" with exception for reading manpages
" From http://vi.stackexchange.com/questions/239/
" with exception for reading manpages
try
silent find test.*
catch /^Vim\%((\a\+)\)\=:E345/
......
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