Skip to content

Repo with my .vimrc and `.vim/` folder. Contains all configs I have made during my vim experience.

Notifications You must be signed in to change notification settings

alekseik1/my_vim_configuration

Repository files navigation

My personal VIM setup

Here you'll find instructions that I followed to obtain my current VIM installations. Here are some screenshots: Screenshot_1 Screenshot_2

Let's deploy!

On WSL2 execute

bash  install-wsl.sh

type your password if necessary, do not set zsh a default terminal (if oh-my-zsh) asks for it. Install nerd fonts, set them in Windows Terminal, restart shell.

Old instructions (legacy)

Where are several steps you need to follow. Some of them include little hacks (like installation of Powerline fonts) but I'll provide all links to articles that describes such hacks very well.

More instructions can be found here.

.vimrc and plugin installation

  1. Copy .vimrc from this repo to your ~/.vimrc (if you are on Linux or MacOS) or to ${HOME}/.vimrc (if on Windows)

  2. Restart VIM instance. Type :PlugInstall for installing all plugins mentioned in .vimrc

  3. Go to hacks section for additional steps. Where are some cosmetic actions you need to take.

Undo history

We store undo history in special directory ~/.vim/undodir/. Make sure to create it in advance:

mkdir ~/.vim/undodir/

Hacks section

These hacks are optional. In each section, I'll give options how to handle without them if you want.

Install YouCompleteMe plugin

As YCM has compilable component, you need to do some extra work described here.

If you don't want to install it, comment whole YouCompleteMe section in .vimrc

Install Powerline fonts.

If you are running in WSL (like me), you should refer to a good article on Medium. It describes process very well.

In other cases, instructions on official vim-airline page should be enough.

If you don't want to follow this step, comment let g:airline_theme='powerlineish' in .vimrc file

Further actions

If you have any ideas of optimizing suggested .vimrc, open an Issue.

About

Repo with my .vimrc and `.vim/` folder. Contains all configs I have made during my vim experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published