All Projects → iberianpig → ranger-explorer.vim

iberianpig / ranger-explorer.vim

Licence: MIT license
Vim plugin to use ranger as a file explorer. Seamless switching between vim and ranger.

Programming Languages

Vim Script
2826 projects
shell
77523 projects

Projects that are alternatives of or similar to ranger-explorer.vim

jquery.filebrowser
File browser jQuery plugin
Stars: ✭ 29 (-3.33%)
Mutual labels:  explorer
vim-phpstan
A Vim plugin for PHPStan - https://github.com/phpstan/phpstan. It calls `phpstan` to do static analysis of your PHP code and displays the errors in Vim's quickfix list.
Stars: ✭ 26 (-13.33%)
Mutual labels:  vim-plugins
swifty-vim
⌨️ A Vim plugin for Swift which provides file detection, syntax highlighting, support for compiling and running tests, and optional support for formatting and linting tools.
Stars: ✭ 18 (-40%)
Mutual labels:  vim-plugins
vim-drawer
VimDrawer is a Vim plugin to group related buffers in tabs automatically by the file name.
Stars: ✭ 26 (-13.33%)
Mutual labels:  vim-plugins
dotfiles
My hand crafted .dotfiles 🤚🛠❤️
Stars: ✭ 49 (+63.33%)
Mutual labels:  vim-plugins
vim-debugstring
Debug printf()-style at the speed of light
Stars: ✭ 30 (+0%)
Mutual labels:  vim-plugins
fsc
A set of themeable WPF File System Controls similar to some parts of Windows (7-10) Explorer
Stars: ✭ 66 (+120%)
Mutual labels:  explorer
vim-UT
Unit Testing plugin for Vim
Stars: ✭ 18 (-40%)
Mutual labels:  vim-plugins
react-file-manager
A file manager built in ReactJs
Stars: ✭ 40 (+33.33%)
Mutual labels:  explorer
vim-jsonc
⚠️Deprecated⚠️: Vim syntax highlighting plugin for JSON with C-style line (//) and block (/* */) comments.
Stars: ✭ 52 (+73.33%)
Mutual labels:  vim-plugins
etc-skel
/etc/skel with super cool confs for tmux, psql, inputrc, git, bash, dircolors, and more.
Stars: ✭ 22 (-26.67%)
Mutual labels:  ranger
IOBrowser
A macOS application for browsing the IOKit registry.
Stars: ✭ 123 (+310%)
Mutual labels:  explorer
ACViewer
Viewer / Utility for DAT files for the game Asheron's Call
Stars: ✭ 19 (-36.67%)
Mutual labels:  explorer
dotfiles
🔧 My dotfiles on  macOS for Neovim, Zsh, kitty, lf, etc
Stars: ✭ 90 (+200%)
Mutual labels:  ranger
qtile-x-dotfiles
Various dotfiles for my old Qtile setup running under X.
Stars: ✭ 47 (+56.67%)
Mutual labels:  ranger
scan
DeFi Scan, everything one-stop location for DeFi Blockchain. Powered by jellyfish & ocean network.
Stars: ✭ 31 (+3.33%)
Mutual labels:  explorer
vimapt
A package manager for vim (VimApt => Vim's Advanced Package Tools)
Stars: ✭ 16 (-46.67%)
Mutual labels:  vim-plugins
configuration
Config files
Stars: ✭ 12 (-60%)
Mutual labels:  ranger
ranger-archives
Ranger Plugin for Creating and Extracting Archives
Stars: ✭ 68 (+126.67%)
Mutual labels:  ranger
name-assign.vim
Vim plugin to automate replacing expressions with assigned variables in any programming language
Stars: ✭ 45 (+50%)
Mutual labels:  vim-plugins

ranger-explorer.vim

Vim plugin to use Ranger as a file explorer.

  • Seamless switching between Vim and Ranger
  • Adding buffer in the same process not a child of Ranger process.
  • Selecting how to open in tabedit / vsplit / split by Ranger's keymap
  • Dynamically defining above keymaps on Ranger

ranger-explorer

Requirement

Installation

"vim-plug
Plug 'iberianpig/ranger-explorer.vim'

"NeoBundle
NeoBundle 'iberianpig/ranger-explorer.vim'

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

" vim-plug
Plug 'rbgrouleff/bclose.vim'

" NeoBundle
NeoBundle 'rbgrouleff/bclose.vim'

Usage

Available Command

Keymap on Ranger

Following commands are available on ranger launched from ranger-explorer

<Ctrl-o>: edit on existing tab
<Ctrl-t>: edit on new tab
<Ctrl-v>: edit with vsplit window
<Ctrl-s>: edit with split window
Customize Keymap on Ranger

Following keymap is defined as defaut

let g:ranger_explorer_keymap_edit    = '<C-o>'
let g:ranger_explorer_keymap_tabedit = '<C-t>'
let g:ranger_explorer_keymap_split   = '<C-s>'
let g:ranger_explorer_keymap_vsplit  = '<C-v>'

Keymap on Vim

Add following keymap to ~/.vimrc (Example keymap)

nnoremap <silent><Leader>n :RangerOpenCurrentFile<CR>
nnoremap <silent><Leader>c :RangerOpenCurrentDir<CR>
nnoremap <silent><Leader>f :RangerOpenProjectRootDir<CR>

Support

Patreon

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].