Skip to content

saxena-codes/vim

Repository files navigation

Learning Vim

Learning vim and its various settings for better understanding.

Ser Description Remarks
1. Installation Installation for Linux.
2. Basic Commands Using the basic vimtutorial from vim to learn basic commands of vim.
3. Plugin Manager vim-plug installation as a plugin manager.
4. Self Discovered Commands All the commands of vim which have been researched on internet and found useful

Basic .vimrc commands and settings

Ser Description Remarks
1. Starting of File Settings All the settings at the start of .vimrc file for basic requirements.
2. Splitting Windows Splitting windows inside vim for working on various files together. Also added functionality of movement amongst the opened windows.
3. Syntax and Theme Settings For setting up highlighting of code and basic theme, for in a situation if the plugins doesn't load, vim will fallback to these settings.
4. Flagging Whitespaces Flagging trailing whitespaces.
5. Search Highlighting Highlighting the seach once done using /.

Plugins

Ser Description Remarks Alternate Found - Incorporated in updated .vimrc
1. SimpylFold For folding of code blocks in a file.
2. supertab For auto completion/ suggestions for a code through tab key.
3. ALE For error checking.
4. ctrlp.vim For searching files in the working directory.
5. vim-fugitive For Git inside vim.
6. vim-airline For airline at the bottom. Also include description for including airline themes through vim-airline-themes. Removed vim-airline-themes - showing errors.
7. onedark.vim For overall vim theme.
8. vim-polygot For syntax highlighting.
9. delimitMate For automatic closing of paranthesis and quotes.
10. indentpython.vim For Python indentation checking.
11. NERDTree NERDTree - File explorer for vim. Found inbuilt command works much better :Explore. Removed NerdTree from .vimrc.

Final .vimrc File

  1. .vimrc-v3 - Improved version with search highlighting.
  2. .vimrc-v2 - Better version
  3. .vimrc-v1 - Initial version

Note: Remove -v1 or any other version before saving .vimrc file.

Preview

Screenshot

The End

About

Learning vim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published