Skip to content

zahyur/ranger.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Ranger.vim

Ranger integration in vim and neovim

Demo

Installation

Install it with your favorite plugin manager. Example with vim-plug:

    Plug 'francoiscabrol/ranger.vim'

If you use neovim, you have to add the dependency to the plugin bclose.vim:

    Plug 'rbgrouleff/bclose.vim'

How to use it

The default shortcut for opening Ranger is f (\f by default) To disable the default key mapping, add this line in your .vimrc or init.vim: let g:ranger_map_keys = 0

then you can add a new mapping with this line: map <leader>f :Ranger<CR>.

To open the selected file in a new tab, instead of the current tab (the default behaviour) - add this line in your .vimrc or init.vim: let g:ranger_open_new_tab = 1

The command for opening ranger is :Ranger.

About

Ranger integration in vim and neovim

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%