Skip to content

alireza-amirsamimi/my_vimrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

my vimrc

ّI'm Vim user like many people and I'm sharing my vimrc here. It's not something special or complicated(I am not a fan of complexity), but it might be useful to someone.

Dark color scheme:

image

Light color scheme:

Screenshot_2025-07-03_00-44-03

Install dependencies

I am ArchLinux user and I usually write code in Python language.

sudo pacman -S vim python-lsp-server python-pycodestyle ctags vim-jedi autopep8

Install python-pyflakes if you want pep8, ...

Install VimPlug

I use VimPlug. Install it with this command.

curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Copy my vimrc file

Clone this repository and copy my vimrc file to ~/.vimrc. close the file.

Reopen vimrc

vim ~/.vimrc

Run VimPlug

Run this vim command. You know how to do it, don't you? Press ESC key. Press : key. Write this command in vim and press Enter.

:PlugInstall

Once the plugins are installed, exit by typing the following command.

:q

Pycodestyle

It's my pycodstyle file config. Use it if it helps you.

[pycodestyle]
count = False
ignore = E722
max-line-length = 160
statistics = True

Copy it to:

~/.config/pycodestyle

Light and dark color scheme

By default, the settings are for a dark color scheme, but if you prefer a light color scheme, uncomment these lines:

set background=light
colorscheme PaperColor
let g:airline_theme='papercolor'

And comment or delete these lines:

"colorscheme synthwave84
set termguicolors
set background=dark

" air-line
let g:airline_theme='synthwave84'
let g:airline_powerline_fonts = 1

Enjoy!

Press F9 for opening NerdTree.
Press t or T in NerdTree for opening files in new tab.
Press F3 and F4 for switching between tabs.
Press F2 for paste mode.
Press F8 for check spelling.
Press F6 and F7 for commenting and uncommenting code lines.
Press F10 for showing popdef window.
Checkout NerdTree and Vim-Lsp for more information.

Acknowledgements

Vim
VimPlug
vim-synthwave84
tagbar
vim-airline
vim-airline-themes
NerdTree
vim_current_word
vim-lsp
vim-lsp-settings
asyncomplete.vim
asyncomplete-lsp.vim
vim-devicons
vim-nerdtree-syntax-highlight
indentLine
popdef
papercolor-theme

About

I share my vimrc file here.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published