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
This commit is contained in:
parent
9058178187
commit
3c19dd0ace
1 changed files with 4 additions and 0 deletions
|
@ -34,3 +34,7 @@ set list listchars=tab:»\ ,trail:\␣,eol:↩
|
||||||
|
|
||||||
" Stops vim wrapping in the middle of a word
|
" Stops vim wrapping in the middle of a word
|
||||||
set linebreak
|
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…
Add table
Add a link
Reference in a new issue