This article goes over customizing VIM and making a custom vim installation.
This is my custom vim that I am constantly updating via GitHub and clone this to every installation I have. Let’s go over the install, config, and usage.
Installation of VIM
The first thing I do is install vim-plug from junegunn that has makes a lot of vim-based plugins. Here is the repository that I am using for this: https://github.com/junegunn/vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Using My Custom .vimrc
This is the main repository that has all of my customization to VIM. https://github.com/ChrisTitusTech/myvim
cd ~ wget https://raw.githubusercontent.com/ChrisTitusTech/myvim/master/.vimrc
Configuration of VIM
- Launch VIM
- Type :PlugInstall
- Exit (Shift+ZZ)
Overview of Plugins
Let’s go over all the plugins that were just installed. Feel free to edit the .vimrc to your needs.
This plugin adds a nice look to the bottom part of vim and adding a colored line that is now displayed and changes when VIM enters different modes.
This is a theme for VIM that adds a greater contrast and dark theme to vim. This makes text and everything inside easier to read.
FZF (Fuzzy Search)
This adds greater functionality to search that allows you to search for partial matches easier. See full syntax here: https://github.com/junegunn/fzf#usage
This plugin removes all the numbers and formatting and makes it easier when writing documents in VIM. From Normal Mode - I made the hotkey Ctrl+\ to enter this special format.
UndoTree is an amazing plugin that makes it easy to see everything you have done in your session. Simply press F5 from Normal mode and you will see the entire all your recent changes and undo them.
NerdTree is a file management plugin. This hotkey is Ctrl+o and opens up a file tree on the left side for you switch files
VimWiki adds syntax formatting for markdown and is a fantastic plugin to have if you many markdown files.
There is still a ton of other edits I need to make to this VIM and will be a work in progress for many years. Everyday I learn something new and powerful with VIM and if you can think about what you want, I am sure VIM will be able to accommodate that. Future additions that I am looking at is SpellCheck, VIM Tabs, and general improvements to the .vimrc file. My vimrc file currently has a lot of the most common tweaks, longer history, sorting, file numbering, and removal of auto comment formatting, However there is still a of things to improve. So come and check back often as I will update this project as it progresses.
Chris Titus Tech
- Twitter - https://twitter.com/christitustech
- YouTube - https://youtube.com/c/ChrisTitusTech
- Twitch - https://twitch.tv/christitustech
- Odysee / LBRY (Privacy) - https://links.christitus.com/lbry
- ChrisTitus.com Members Section (CC Only)
- Digital Downloads with Guides and Pre-Built Images
- Monthly Members Only Video
- $5 Per Month (100% of Proceeds goes to Chris Titus Tech)
- YouTube Chris Titus Tech Membership (All Payments Accepted)
- Monthly Members Only Video
- YouTube Emojis for Comments and Live Chat
- YouTube Badges that changes based on membership time for comments and chat.
- All YouTube comments are highlighted when I review comments daily.
- $4.99 Per Month (70% of the Proceeds goes to Chris Titus Tech)