From 5d78e5848d3c7a81deef22c545d165c0ab1664c7 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Tue, 13 Mar 2018 22:43:17 +0100 Subject: [PATCH] add open-browser as osx is weird --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index 6a4ea59..0cf88b1 100644 --- a/vimrc +++ b/vimrc @@ -54,6 +54,7 @@ Plug 'mxw/vim-jsx' " previews Plug 'suan/vim-instant-markdown', { 'for': 'markdown' } Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } +Plug 'tyru/open-browser.vim' " debug Plug 'tweekmonster/startuptime.vim' @@ -313,6 +314,11 @@ let g:markdown_fenced_languages = [ " vim-jsx let g:jsx_ext_required = 0 +" open-browser +let g:netrw_nogx = 1 +nmap gx (openbrowser-smart-search) +vmap gx (openbrowser-smart-search) + " }}} " Autocmd Rules {{{