"for open-browser {{{ " This is my setting. let g:netrw_nogx = 1 " disable netrw's gx mapping. "nmap gx (openbrowser-smart-search) "vmap gx (openbrowser-smart-search) "" Open URI under cursor. nnoremap go (openbrowser-open) "" Open selected URI. vnoremap go (openbrowser-open) " Search word under cursor. nnoremap gs (openbrowser-search) " Search selected word. vnoremap gs (openbrowser-search) " If it looks like URI, Open URI under cursor. " Otherwise, Search word under cursor. nnoremap gx (openbrowser-smart-search) " If it looks like URI, Open selected URI. " Otherwise, Search selected word. vnoremap gx (openbrowser-smart-search) vnoremap gob :OpenBrowser http://www.baidu.com/s?wd==expand("") nnoremap gob :OpenBrowser http://www.baidu.com/s?wd==expand("") vnoremap gog :OpenBrowser http://www.google.com/?#newwindow=1&q==expand("") nnoremap gog :OpenBrowser http://www.google.com/?#newwindow=1&q==expand("") vnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/=expand("") nnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/=expand("") " In command-line ":OpenBrowser http://google.com/ ":OpenBrowserSearch ggrks ":OpenBrowserSmartSearch http://google.com/ ":OpenBrowserSmartSearch ggrks "}}}