ripxorip / bolt.nvim

⚡ Ultrafast multi-pane file manager for Neovim with fuzzy matching
MIT License
108 stars 3 forks source link
bolt commander dual dual-pane filter-as-you-type finder fuzzy-matching fuzzy-search neovim neovim-plugin nvim parser python ripgrep ripgrep-frontend vim vim-plugin

⚡ bolt.nvim

⚡ Filter-as-you-type file manager for Neovim with emphasis on speed and visibility

"Total Commander inspired file manager for the 21st century"

Gitter Chat

Demo

Navigation

Example Highlight

The filter is automatically updated as you type , no extra keystrokes needed.

Searching

Example Highlight

Quicly perform a search in the active directory using ripgrep. If desired, expand the results to see which lines that matches your pattern. For convenience, simply start typing to filter your search results.

Dual-pane

Example Highlight

Unleash the commander using the multi-pane mode.

Notice

The development of Bolt.nvim is still in a very early phase, so bugs are expected. If you find something that needs fixing please create an issue.

Requirements

bolt.nvim requires Neovim with Python3. tIf :echo has("python3") returns 1, then you have python 3 support; otherwise, see below.

You can enable the Neovim Python3 interface with pip:

pip3 install neovim

Installation

Note: bolt.nvim requires Neovim(latest is recommended) with Python3 enabled. See requirements if you aren't sure whether you have this.

For vim-plug:


call plug#begin()

Plug 'ripxorip/bolt.nvim', { 'do': ':UpdateRemotePlugins' }

call plug#end()

Usage

Open Bolt

Command Action
:Bolt Open up the bolt explorer
:BoltCwd Open up the bolt explorer in cwd

Keybindings

Command Action
enter Open the selected file/cd to the selected folder
backspace Clear a character from the filter / go to parent directory if filter is cleared
Ctrl-j/k Move the selection one up/down
Ctrl-d/u Page up / page down the selection
Ctrl-w Clear the filter
a-z Filter as you type
space Select
Ctrl-c Copy selection
Ctrl-v Paste selection

For actions, refer to the top menu of the explorer.

Self-Promotion

Like bolt.nvim? Make sure to follow the repository and why not leave a star.

Thanks

Thanks for trying out this plugin, any feedback/contrubution would be much appreciated as this is my first take on writing plugins for Neovim. Additionally, I would like to express my cincere gratitude to Per-Åke Bligård and David Johansson for introducing me to the wonderful world of unorthodox file managers 🍻

Contributors

License

MIT License

Copyright (c) 2018 Philip Karlsson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.