commit 1b789cb8cc8389ede728b963629d92baf5a9f835 parent a1b04517a59caa969f918c20df49df44b415e433 Author: Nirmal Kumar R <tildezero@gmail.com> Date: Sat, 30 Mar 2024 00:45:18 +0530 Update vimrc to the current setup Diffstat:
M | .vimrc | | | 60 | +++++++++++++++++++++++------------------------------------- |
1 file changed, 23 insertions(+), 37 deletions(-)
diff --git a/.vimrc b/.vimrc @@ -1,52 +1,38 @@ -set nocompatible +" Vim Plug call plug#begin('~/.vim/plugged') -" Actual plugins -Plug 'editorconfig/editorconfig-vim' + +"utility +Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } +Plug 'junegunn/fzf.vim' Plug 'tpope/vim-fugitive' +Plug 'preservim/nerdtree' + +"accessiblities +Plug 'NLKNguyen/papercolor-theme' Plug 'itchyny/lightline.vim' -call plug#end() -" Important!! -if has('termguicolors') - set termguicolors -endif +call plug#end() -" For dark version. +syntax on set background=dark - -" Set contrast. -" This configuration option should be placed before `colorscheme everforest`. -" Available values: 'hard', 'medium'(default), 'soft' -let g:everforest_background = 'soft' - -" For better performance -let g:everforest_better_performance = 1 - -colorscheme everforest - set laststatus=2 set t_Co=256 set encoding=utf-8 + +let g:lightline = { + \ 'colorscheme': 'PaperColor', + \ } + +colorscheme PaperColor + +set shiftwidth=4 +set tabstop=4 +set expandtab +set smarttab set autoindent -set magic +filetype on set number -set scrolloff=3 -set sidescroll=3 set ruler -set cc=80 -set nowrap -set ignorecase -set smartcase -set splitbelow -set hidden -set notimeout -set incsearch -set showmatch -set hlsearch set mouse=a set noswapfile -set nofoldenable -set lazyredraw - -syntax enable