Skip to content

Instantly share code, notes, and snippets.

@sergixnet
Last active October 7, 2018 17:14
Show Gist options
  • Save sergixnet/21b8e52e906dfdca7cbae07c0a1db7ef to your computer and use it in GitHub Desktop.
Save sergixnet/21b8e52e906dfdca7cbae07c0a1db7ef to your computer and use it in GitHub Desktop.
personal .vimrc, color scheme https://github.com/tomasiser/vim-code-dark
set nocompatible
set autoindent
set clipboard=unnamedplus " using the X Window clipboard
" colors
colorscheme codedark " color scheme
syntax enable
set background=dark
set t_Co=256
" spaces and tabs
set tabstop=2 " The width of a TAB is set to 4.
" Still it is a \t. It is just that
" Vim will interpret it to be having
" a width of 4.
set shiftwidth=2 " Indents will have a width of 4
set softtabstop=2 " Sets the number of columns for a TAB
set expandtab " Expand TABs to spaces
" UI config
set relativenumber " show line numbers
set showcmd "show command in bottom bar
set cursorline "highlight current line
filetype indent on " load filetype-specific indent files
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when we need to.
set showmatch " highlight matching [{()}]
" Searching
set incsearch " search as characters are entered
set hlsearch " highlight matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment