ranger.vim icon indicating copy to clipboard operation
ranger.vim copied to clipboard

Add :RangerCD command

Open cttttt opened this issue 5 years ago • 1 comments

What's the problem?

It would be nice if I could use ranger.vim to change directories in a more visual way, which is currently the only reason I still use NerdTree. A fork of ranger.vim, https://github.com/rafaqz/ranger.vim, provides this feature, but I like this fork's simplicity.

How does this fix it?

This change enhances OpenRangerIn() so that it can be made to do more than just choose files via Ranger. It also adds a command, :RangerCD that spawns Ranger and changes to the last directory encountered.

cttttt avatar Aug 13 '19 14:08 cttttt

That would be a really nice feature ! It is really boring to need to use first . ranger to go to the correct directory and then to start vim. This is really the command I need !

Sadly, the other plugin you mentioned : rafaqz/ranger.vim does not allow you to keep netrw as the default, so it erases :Lexplore and :Hexplore...

This feature would be really useful !

OsKaR31415 avatar Apr 30 '21 09:04 OsKaR31415