Skip to content

Instantly share code, notes, and snippets.

@harsha5500
Created July 29, 2023 05:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harsha5500/6fa32a777ac096fcceaf4fe04550afc4 to your computer and use it in GitHub Desktop.
Save harsha5500/6fa32a777ac096fcceaf4fe04550afc4 to your computer and use it in GitHub Desktop.
My VIM configuration
" turn on syntax highlighting
syntax on
" turn on line numbers
set nu
set tabstop=4 "Tab space is 4
set shiftwidth=4
set softtabstop=0
set noexpandtab
" set smarttab
" set textwidth=80
let g:auto_save = 1 "Enable AutoSave
" set textwidth=80
" set autoindent on
set autoindent
" set up indent based on filetypes
filetype indent on
" set up autocomplete commands
set wildmenu
" highlight closing paranthesis
set showmatch
" highlight matching regex
set hlsearch
" Specify a directory for plugins
call plug#begin('~/.vim/plugged') " Any valid git URL is allowed for plugin
Plug 'arcticicestudio/nord-vim'
Plug 'vim-airline/vim-airline'
Plug 'itchyny/lightline.vim'
Plug 'scrooloose/nerdtree'
Plug 'w0rp/ale'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'airblade/vim-gitgutter'
call plug#end()
colorscheme nord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment