Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add ranger_replace_netrw option in the doc
  • Loading branch information
francoiscabrol committed Oct 31, 2017
1 parent e5945aa commit 4742062
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ Vim will open the selected file in the current window.
The old way to make vim open the selected file in a new tab was to add
`let g:ranger_open_new_tab = 1` in your .vimrc or init.vim. That way is still
supported but deprecated.

If you want to see vim opening ranger when you open a directory (ex: nvim ./dir), please add this in your .(n)vimrc.
```
let g:NERDTreeHijackNetrw = 0 // add this line if you use NERDTree
let g:ranger_replace_netrw = 1 // open ranger when vim open a directory
```

0 comments on commit 4742062

Please sign in to comment.