add open-browser as osx is weird

This commit is contained in:
Thomas Ruoff
2018-03-13 22:43:17 +01:00
parent e3b1f9162b
commit 5d78e5848d

6
vimrc
View File

@@ -54,6 +54,7 @@ Plug 'mxw/vim-jsx'
" previews " previews
Plug 'suan/vim-instant-markdown', { 'for': 'markdown' } Plug 'suan/vim-instant-markdown', { 'for': 'markdown' }
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
Plug 'tyru/open-browser.vim'
" debug " debug
Plug 'tweekmonster/startuptime.vim' Plug 'tweekmonster/startuptime.vim'
@@ -313,6 +314,11 @@ let g:markdown_fenced_languages = [
" vim-jsx " vim-jsx
let g:jsx_ext_required = 0 let g:jsx_ext_required = 0
" open-browser
let g:netrw_nogx = 1
nmap gx <Plug>(openbrowser-smart-search)
vmap gx <Plug>(openbrowser-smart-search)
" }}} " }}}
" Autocmd Rules {{{ " Autocmd Rules {{{