diff options
author | Camil Staps | 2021-06-18 14:02:55 +0200 |
---|---|---|
committer | Camil Staps | 2021-06-18 14:02:55 +0200 |
commit | 3959a9d19c22b53752dc615538cc28a38fd94c7f (patch) | |
tree | 4e36d3f19930d0b0c02b7c522595b7dc82b4e14f /vim | |
parent | Install yaml-language-server from npm (diff) |
Fix gx in neovim
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -73,6 +73,9 @@ set incsearch set hlsearch map <LocalLeader>q :nohlsearch<CR> +" Fix `gx`: https://github.com/vim/vim/issues/4738#issuecomment-856925080 +nnoremap <silent> gx :execute 'silent! !xdg-open ' . shellescape(expand('<cfile>'), 1)<cr> + filetype plugin indent on syntax enable |