VIM: Makes vim open external files with opout

Vim can open external files when the cursor is "over" them by pushing gx

If in a netrw window, simply x is used.

This is useful when in, for example, a markdown file. I can view the
image by putting the cursor over the path and pushing gx
master
Jonathan Hodgson 4 years ago
parent 9058178187
commit 3c19dd0ace
  1. 4
      nvim/.config/nvim/plugin/settings.vim

@ -34,3 +34,7 @@ set list listchars=tab:»\ ,trail:\␣,eol:↩
" Stops vim wrapping in the middle of a word
set linebreak
" Sets tool for opening non-text files with gx
" If in netrw, this is run with just x
let g:netrw_browsex_viewer = "opout"

Loading…
Cancel
Save