Last active
March 23, 2022 08:32
-
-
Save souparno/be5c36a8222efee67dbc3438a3ed0931 to your computer and use it in GitHub Desktop.
.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Specify a directory for plugins | |
" - For Neovim: stdpath('data') . '/plugged' | |
" - Avoid using standard Vim directory names like 'plugin' | |
call plug#begin('~/.vim/plugged') | |
Plug 'morhetz/gruvbox' | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'preservim/nerdtree' | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'maksimr/vim-jsbeautify' | |
Plug 'Yggdroot/indentLine' | |
" Initialize plugin system | |
call plug#end() | |
set mouse=a | |
set t_Co=256 | |
set winwidth=1 | |
set number | |
let g:gruvbox_vert_split='bg1' | |
let g:gruvbox_number_column='bg1' | |
" Delete pipe characters on styling vertical split borders | |
set fillchars+=vert:\ | |
colorscheme gruvbox | |
set background=dark | |
nmap <Tab> <c-w><c-w> | |
let g:airline_theme='gruvbox' | |
let g:airline#extensions#tabline#enabled=1 | |
let g:airline#extensions#tabline#formatter='unique_tail' | |
let g:airline_powerline_fonts=1 | |
if !exists('g:airline_symbols') | |
let g:airline_symbols = {} | |
endif | |
" download and install powerline fonts | |
" make sure to set the font to DejaVu\ Sans in the terminal text for the below symbols to work | |
" refer to :- | |
" https://vi.stackexchange.com/a/3363/20052 | |
" https://stackoverflow.com/a/34210791/2481350 | |
" powerline symbols | |
let g:airline_left_sep = '' | |
let g:airline_left_alt_sep = '' | |
let g:airline_right_sep = '' | |
let g:airline_right_alt_sep = '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment