Skip to content

Instantly share code, notes, and snippets.

@Kyborg2011
Last active January 3, 2023 11:20
Show Gist options
  • Save Kyborg2011/d2e9812c4dd91568f4fe898d5f12fb09 to your computer and use it in GitHub Desktop.
Save Kyborg2011/d2e9812c4dd91568f4fe898d5f12fb09 to your computer and use it in GitHub Desktop.
VIM editor configuration for making auto tabulation with 4 spaces length (file must be saved as "~/.vimrc")
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
set nu
syntax on
" Installed VIM plugins
call plug#begin()
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'PhilRunninger/nerdtree-buffer-ops'
Plug 'ryanoasis/vim-devicons'
Plug 'wuelnerdotexe/nerdterm'
Plug 'terrastruct/d2-vim'
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment