Interact with this post using Mastodon or
[Plugin] Discharge your (neo)vim
Published on
B The beauty of GNU/Linux is to allow users to built their system to match their specific needs to perfection while also avoiding bloated tools supercharged with hundreds of functions when each user will use only few of them. In that sense, vim is no exception and comes pretty bear bone. You can add plugins to extend its capabilities and built it to suit your needs perfectly but by default vim also loads some plugins. That’s great to make sure everything is working for a new user but when you eventually built vim the way you like it, some plugins may not be necessary anymore. Following the KISS (Keep It Simple Stupid) philosophy, there is no need to overcharge your tools with pieces you don’t use. Here is a list of plugins loaded by default, you can disable them by adding this to your vim config file:
let g:loaded_plugin-name =1 # if you're using vimrc
vim.g.loaded_plugin-name = 1 # if you're using init.lua
- 2html_plugin: transform a file into HTML, using the current syntax highlighting
- gzip: gzip archive handling
- logiPat: takes Boolean logic arguments and produces a regular expression which is used to search for a line satisfying the logic.
- matchit: if hitting
%
allows you to jump between various pairs of characters and some programming constructs, matchit extends this functionality by adding support to cycle between if, else if, else, endif keywords in various programming languages, as well as the ability to find pairs of HTML tags. Another handy mapping is “g%” that does “%” in opposite direction (goes from endif to else to else if to if).
- menu: menu creation and display
- netrw and netrwPlugin: file explorer and browser
- remote_plugins: any programming language may be used to extend neovim without changes to neovim itself. This is achieved with remote plugins, coprocesses that have a direct communication channel (via RPC) with the Nvim process
- rrhelper: I don’t really know what this one does. All I can find is that it’s a plugin with helper function(s) for –remote-wait
- shada_plugin: automatically open .shada
- spellfile_plugin: download missing spell files
- tarPlugin: for browsing tarfiles
- tutor_mode_plugin: interactive tutorial to learn the basics of vim keybindings
- vimball: vim ball archive handling
- xfontset: font set management
- zipPlugin: for browsing zipfiles
If you’re not sure you need a plugin, I would say that there’s no risk at disabling it and see if it affects the way you use vim.
Thanks for your read. Hope it's been useful to you.
✄ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈
More food for thoughts? Check other posts about: #(Neo)vim #(Neo)vim-Plugins