A lightweight Neovim plugin for quick navigation between buffers, tabs, files, diagnostics, and other items using single-key repeats.
nap.nvim is a Neovim plugin that enables rapid navigation between various editor elements like buffers, tabs, files, diagnostics, and quickfix entries. It solves the problem of cumbersome multi-key navigation by allowing users to jump initially with a prefix key and then cycle with a single repeat key, streamlining movement within Neovim.
Neovim users, particularly developers and power users who frequently switch between buffers, tabs, or navigate diagnostics and quickfix lists, and seek to optimize their editing workflow with fewer keystrokes.
Developers choose nap.nvim for its lightweight, navigation-focused design that reduces keystrokes compared to default Vim motions or plugins like unimpaired.vim, its extensibility via Lua, and seamless integration with popular Neovim plugins.
Quickly move between next and previous NeoVim buffer, tab, file, quickfix, diagnostic, etc.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
After an initial jump with a prefix key, cycling through items uses single repeat keys like <c-n>, cutting keystrokes significantly compared to standard two-key combinations.
Supports navigation across buffers, tabs, files, diagnostics, quickfix/location lists, and more with consistent ]/[ mappings, reducing the need to memorize disparate commands.
Allows adding or overriding operators with a simple API, including helper functions for plugins like Gitsigns and Aerial, making it adaptable to various workflows.
Dedicated solely to navigation tasks without bloat from editing features, ensuring minimal performance overhead and a clean scope.
Choosing optimal prefix and repeat keys requires trial and error, and the README admits issues like timeout delays if prefix and repeat keys are identical.
Focuses only on navigation, lacking editing or option-toggling commands found in similar plugins like unimpaired.vim, which might necessitate additional plugins.
While extensible, integrating with external plugins like Gitsigns requires extra setup, and conflicts with other keymap-heavy plugins can arise.