1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Use gx.nvim for browsing in Browser

This commit is contained in:
jdhao
2024-08-16 00:02:24 +02:00
parent d90273df8e
commit 6e60475f3f
2 changed files with 9 additions and 13 deletions

View File

@@ -113,17 +113,6 @@ let g:Lf_PreviewResult = {
\ 'Gtags': 0
\}
""""""""""""""""""""""""""""open-browser.vim settings"""""""""""""""""""
if g:is_win || g:is_mac
" Disable netrw's gx mapping.
let g:netrw_nogx = 1
" Use another mapping for the open URL method
nmap <leader>ob <Plug>(openbrowser-smart-search)
xmap <leader>ob <Plug>(openbrowser-smart-search)
nmap ob <cmd>echoerr "Use <leader>ob instead!"<CR>
endif
""""""""""""""""""""""""""" vista settings """"""""""""""""""""""""""""""""""
let g:vista#renderer#icons = {
\ 'member': '',