[IDE turns NeoVim] Part 2.1 Essential plugins

Tram Ho

Continuing with the neovim IDE series, today I will introduce you the plugins that you should have when installing your neovim for any language.

Nerdtree

Nerdtree is a sidebar managing the project directory tree. Similar to the sidebar of vscode, nerdtree provides the function to create bookmarks, folders, files, copy, add, delete, edit … right in the context of nerdtree extremely convenient.

After installation is complete, map keys to toggle nerdtree as you like:

When in the nerdtree context, click ? to see how to use nerdtree.

Theme

For me the syntax, color text, highlight … will be the things that inspire the code. After trying a lot of themes, now I’m stopping with gruvbox . You can search google with keyword “neovim themes” is the whole mountain, you can refer to the theme that many people evaluate and use here .

Vim-airline

Vim-airline displays status / tabline, can integrate with other plugins to display message, status like git, nerdtree, linter.

Ctrlp.vim

If you use an editor such as vscode, sublime, or atom, you should be familiar with Ctrl + P keys to search files in the current project.

Ctrlp.vim has the same function, but with more functions, you can open the current file into a buffer | New tab while keeping the old buffer.

Keys binding: Use:

Vim-surround

Vim-surround provides a function to manipulate around a subject (a piece of code, a word, an object …..)

On the git page of vim-surround, there is a detailed talk about how to use it, so I will not present it again, you can see it at vim-surround’s github.

Some Use-case:

Usecase:

Usecase:

Vim-easymotion

Move to any location in your code screen with vim-easymotion. Just input 1 | 2 characters as the prefix for that word, vim-easymotion will bind all the keys to jump to words matching that character.

End

I would like to end part 1 here (I will divide it into 2 parts). Here I only introduce plugins that are common to an IDE such as folder management, themes, navigator, search files …., plugins that do not belong to any language.

You register to Codefun to participate in discussions, write articles, share and learn useful knowledge together. In the process of finding out if you have any questions, please leave in the comment section I will answer as soon as possible.

Thank you for reading and …. see you again in part 2.

Source

https://codefun.dev/@lythanhnhan27294/ide-hoa-neovim-phan-1-cai-dat-plugins-va-setup-neovim-co-ban-1482174216

Share the news now

Source : Viblo