All Projects → justinmk → Vim Dirvish

justinmk / Vim Dirvish

Licence: other
Directory viewer for Vim ⚡️

Projects that are alternatives of or similar to Vim Dirvish

Vim Yoink
Vim plugin that maintains a yank history to cycle between when pasting
Stars: ✭ 225 (-75.78%)
Mutual labels:  plugin, viml, neovim, nvim
Vim Sneak
The missing motion for Vim 👟
Stars: ✭ 2,467 (+165.55%)
Mutual labels:  plugin, viml, neovim, nvim
Vim Subversive
Vim plugin providing operator motions to quickly replace text
Stars: ✭ 168 (-81.92%)
Mutual labels:  plugin, viml, neovim, nvim
Nvim Lspconfig
Quickstart configurations for the Nvim LSP client
Stars: ✭ 3,410 (+267.06%)
Mutual labels:  plugin, neovim, nvim
Packer.nvim
A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
Stars: ✭ 418 (-55.01%)
Mutual labels:  neovim, nvim
Vim Startify
🔗 The fancy start screen for Vim.
Stars: ✭ 4,479 (+382.13%)
Mutual labels:  viml, neovim
Comfortable Motion.vim
Brings physics-based smooth scrolling to the Vim world!
Stars: ✭ 543 (-41.55%)
Mutual labels:  plugin, neovim
Chadtree
File manager for Neovim. Better than NERDTree.
Stars: ✭ 653 (-29.71%)
Mutual labels:  neovim, nvim
Vimpyter
Edit your Jupyter notebooks in Vim/Neovim
Stars: ✭ 308 (-66.85%)
Mutual labels:  plugin, neovim
Gina.vim
👣 Asynchronously control git repositories in Neovim/Vim 8
Stars: ✭ 587 (-36.81%)
Mutual labels:  plugin, neovim
Any Jump.vim
Jump to any definition and references 👁 IDE madness without overhead 🚀
Stars: ✭ 714 (-23.14%)
Mutual labels:  viml, nvim
Awesome Dotfiles
Dotfiles for awesome people using the awesomewm linux environment
Stars: ✭ 409 (-55.97%)
Mutual labels:  neovim, nvim
Rigel
🌌 Colorscheme for vim, terminal, vscode and slack - based on the star Rigel ✨.
Stars: ✭ 324 (-65.12%)
Mutual labels:  neovim, nvim
Nvim Compe
Auto completion plugin for nvim that written in Lua.
Stars: ✭ 433 (-53.39%)
Mutual labels:  neovim, nvim
Vim Dadbod Ui
Simple UI for https://github.com/tpope/vim-dadbod
Stars: ✭ 315 (-66.09%)
Mutual labels:  viml, neovim
Neovim Dots
most beautiful neovim cli setup
Stars: ✭ 547 (-41.12%)
Mutual labels:  neovim, nvim
Semshi
🌈 Semantic Highlighting for Python in Neovim
Stars: ✭ 758 (-18.41%)
Mutual labels:  neovim, nvim
Nvim
The Ultimate NeoVim Config for Colemak Users
Stars: ✭ 754 (-18.84%)
Mutual labels:  neovim, nvim
Markdown Preview.vim
⚠️ PLEASE USE https://github.com/iamcco/markdown-preview.nvim INSTEAD
Stars: ✭ 764 (-17.76%)
Mutual labels:  plugin, neovim
Deoplete Phpactor
Phpactor integration for deoplete.nvim
Stars: ✭ 17 (-98.17%)
Mutual labels:  neovim, nvim

dirvish.vim ⚡️

Path navigator designed to work with Vim's built-in mechanisms and complementary plugins.

dirvish

Features

  • Simple: Each line is just a filepath
  • Flexible: Mash up the buffer with :g, automate it with g:dirvish_mode
  • Safe: Never modifies the filesystem
  • Non-intrusive: Impeccable defaults. Preserves original/alternate buffers
  • Fast: 2x faster than netrw
  • Intuitive: Visual selection opens multiple files
  • Powerful: :Shdo[!] generates shell script
  • Reliable: Less code, fewer bugs (96% smaller than netrw). Supports Vim 7.2+

Concepts

Lines are filepaths

Each Dirvish buffer contains only filepaths, hidden by conceal.

  • Use plain old y to yank a path, then feed it to :r or :e or whatever.
  • Sort with :sort, filter with :global. Hit R to reload.
  • Append to quickfix (:'<,'>caddb), iterate with :cdo.
  • Script with :Shdo[!].
  • :set ft=dirvish on any buffer to enable Dirvish features:
    git ls-files | vim +'setf dirvish' -
    

Buffer name is the directory name

So commands and plugins that work with @% and @# do the Right Thing.

  • Create directories:
    :!mkdir %foo
    
  • Create files:
    :e %foo.txt
    
  • Use @# to get the Dirvish buffer from a :Shdo buffer:
    :Shdo
    mkdir <C-R>#.bk
    Z!
    

Edit Dirvish buffers

For any purpose. It's safe and reversible.

  • Use :sort or :global to re-arrange the view, delete lines with d, etc. Then :%Shdo the result.
  • Pipe to :! to see inline results:
    :'<,'>!xargs du -hs
    
  • Type u to undo, or R to reload.

Work with the :args list

The arglist is an ad-hoc list of filepaths.

  • Type x to add files to the (window-local) arglist.
  • Iterate with standard commands like :argdo, or plugin features like ]a.
  • Run :Shdo! (mapping: [count].) to generate a shell script from the arglist.

Extensions

Some people have created plugins that extend Dirvish:

Credits

Dirvish was originally forked (and completely rewritten) from filebeagle by Jeet Sukumaran.

Copyright 2015 Justin M. Keyes.

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].