Skip to main content

1-behaviors.lua

Plugins that add new behaviors.

List of plugins

yazi

Yazi is a blazing fast file manager for the terminal. This plugin allows you to open yazi in a floating window in Neovim.

Yazi.nvim screenshot

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.

project.nvim screenshot

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.

toggleterm.nvim screenshot

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

neovim-session-manager screenshot

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.

spectre screenshot

neo-tree

A project file tree viewer.

  • Press Space + e to toggle it.

neotree screenshot

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.

neoclip screenshot

zen-mode

Distraction-free mode.

  • Press Space + u + z to toggle it.

neoclip screenshot

vim-suda

Allows writing a file with sudo permissions.

  • Press Space + W to write a buffer as sudo.

suda screenshot

vim-matchup

Improves the % motion to work over anything.

  • Press % over [], (), {}, '', "", function names, or for 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.

hop screenshot

Hint: If you need to use ENTER while HOP is displaying, press, SHIFT+ENTER.

nvim-ts-autotag

Adds HTML support to nvim-autopairs.

nvim-ts-autotag screenshot

nvim-autopairs

Autocompletes [], (), {}, '', "".

  • This feature is disabled by default. You can enable it in base/1-options.lua by setting vim.g.autopairs_enabled = true.

nvim-ts-autotag screenshot

lsp-signature

Shows code documentation as you write functions parameters.

lsp signature screenshot

nvim-lightbulb

Shows a lightbulb under the cursor when a code action is available.

  • You can use code actions with Space + l + a

lightbulb screenshot

hot-reload

Reload your neovim config on the fly! It works with any lua file.

hot-reload screenshot

distroupdate

Provides commands to update the distro from the current git remote origin of your Neovim config directory.

distroupdate screenshot