1-behaviors.lua
Plugins that add new behaviors.
List of plugins
- yazi
- project
- trim
- stickybuf
- mini-bufremove
- smart-splits
- better-escape
- toggleterm
- neovim-session-manager
- spectre
- neo-tree
- nvim-ufo
- nvim-neoclip
- zen-mode
- vim-suda
- vim-matchup
- hop
- nvim-ts-autotag
- nvim-autopairs
- lsp-signature
- nvim-lightbulb
- hot-reload
- distroupdate
yazi
Yazi is a blazing fast file manager for the terminal. This plugin allows you to open yazi in a floating window in Neovim.
project
Provides a menu to open projects you've previously worked on.
Hint: This plugin will auto
:cd
the project dir every time you open a new buffer if it finds.git
. This behavior can be configured.
trim
This plugin trims trailing whitespace and lines.
stickybuf
Prevent certain UI buffers from being accidentally replaced.
mini-bufremove
Customize the behavior of closing buffers.
smart-splits
Elegant window resize.
- Press
ctrl + w + v
to create a vertial window. - Press
ctrl + arrow keys
to resize it.
better-escape
Removes the annoying delay Vim historically has had when pressing ESC.
toggleterm
More powerful than the built-in Neovim terminal.
- Press
F7
to toggle the terminal. - Alternatively, you can press
Space + t
to open it splitted.
neovim-session-manager
Provides a menu to save/load Neovim sessions.
- To save the current session press
Space + S + s
- To find a session to load press
Space + S + f
spectre
A search and replace panel for Neovim.
- Press
Space + f + b
to search and replace in buffer. - Press
Space + f + r
to search and replace in the current working directory recursively.
neo-tree
A project file tree viewer.
- Press
Space + e
to toggle it.
nvim-ufo
Provides convenient folding functions we use in the key mappings.
nvim-neoclip
Clipboard manager Neovim plugin with Telescope integration.
- Press
Space + f + y
to toggle it. - Press
Space + f + q
to display your current neovim macros.
zen-mode
Distraction-free mode.
- Press
Space + u + z
to toggle it.
vim-suda
Allows writing a file with sudo permissions.
- Press
Space + W
to write a buffer as sudo.
vim-matchup
Improves the %
motion to work over anything.
- Press
%
over[]
,()
,{}
,''
,""
, function names, orfor
loops.
hop
Moves the cursor to any point of the visible screen.
- Press
Enter
in normal mode to move the cursor to the point on the screen you want. Then complete the key secuence to go to that point of the screen.
Hint: If you need to use ENTER while HOP is displaying, press,
SHIFT+ENTER
.
nvim-ts-autotag
Adds HTML support to nvim-autopairs.
nvim-autopairs
Autocompletes []
, ()
, {}
, ''
, ""
.
- This feature is disabled by default. You can enable it in
base/1-options.lua
by settingvim.g.autopairs_enabled = true
.
lsp-signature
Shows code documentation as you write functions parameters.
nvim-lightbulb
Shows a lightbulb under the cursor when a code action is available.
- You can use code actions with
Space + l + a
hot-reload
Reload your neovim config on the fly! It works with any lua file.
distroupdate
Provides commands to update the distro from the current git remote origin
of your Neovim config directory.