Skip to content

Instantly share code, notes, and snippets.

@y56
Created March 28, 2020 04:45
Show Gist options
  • Save y56/b4c3e05664b9c28b47004ab8b1895d2b to your computer and use it in GitHub Desktop.
Save y56/b4c3e05664b9c28b47004ab8b1895d2b to your computer and use it in GitHub Desktop.
.vimrc
set nocompatible
"set number
set hlsearch
set autoindent
set ruler
set showmode
" Coloring
syntax on
colorscheme torte
highlight Comment ctermfg=DarkCyan
highlight Search term=reverse ctermbg=4 ctermfg=7
" Let backspace work
set backspace=indent,eol,start
filetype plugin indent on
" Show exsisting 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment