Skip to content

Latest commit

 

History

History
99 lines (69 loc) · 3.97 KB

15-misc-and-summary.md

File metadata and controls

99 lines (69 loc) · 3.97 KB

Misc

In this chapter I'll mention some misc plugins that I recommend to adapt.

Basic IDE Functionalities

nvim doesn't provide all the expected functionalities of an IDE, plugins are here to close that gap.

Session Manager

I use auto-session. Other Session Manager's

Adds a comment operation

Remembers the last place you edited a buffer.

Guess the indent of the file and override the indent settings.

Adds closures for your pairs, for example when you type ( it make it () and put the cursor in the middle.

Auto saves the file when a text has been edited, don't worry about losing your data.

Be a good programmer and don't leave junk for git.

If you are already good with multi cursor, take that skill with you to nvim, if you don't consider to use macros instead.

Enables an integrated terminal inside nvim.

Fix's the issues with vanilla paste of nvim.

Extras

Surround parts of your code with []/()/{}, quickly

Visualize your undo branches, never lose and redo/undo history again!

Add pair mappings (][) that fills natural.

Extends dot-repeat action.

Highlight TODO comments, populate quickfix list with all the todo comments in a workspace

Add debug prints for variables quickly.

Add leap motion to nvim, like vimium, EasyMotion, hop and such.
If you liked clever-f you will love flit.nvim

Make pane switching from/to nvim seamless, if you are using tmux its a must!

Write/read to/from files that requires sudo without executing nvim as sudo.

Improves startup time

Man pager

Consider make nvim your man pager, its so awesome to control man pages as you control your editor.
Add this to your .shellrc:

# nvim as man viewer
export MANPAGER='nvim +Man! .'
export MANWIDTH=999

More

There are many many more plugins for neovim, you can check out awesome-neovim, and you can also my list - packer.lua


Summary

Thanks for reading! I hope this guide helped you learn Neovim.
This guide doesn't cover everything, make sure you keep learning about your text editor and keep improving your skill.

If you found mistakes make sure to leave feedback at the issues section
If you liked the guide consider to leave a star.

To keep up with new plugins and updates I recommend to:


Previous Chapter