Skip to content

Instantly share code, notes, and snippets.

@vdugnist
Last active September 11, 2017 08:41
Show Gist options
  • Save vdugnist/b63829017837a63fdefa0a9d3771f4f0 to your computer and use it in GitHub Desktop.
Save vdugnist/b63829017837a63fdefa0a9d3771f4f0 to your computer and use it in GitHub Desktop.
" System
set encoding=utf8
set nobackup
" Use case insensitive search, except when using capital letters
set ignorecase
set smartcase
set hlsearch
" Syntax highlight
filetype indent plugin on
syntax enable
set background=dark
let g:solarized_termcolors=256
colorscheme solarized
" Indent configuration
set expandtab
set shiftwidth=4
set tabstop=4
set ai
set si
" Display line numbers on the left
set number
" Enable use of the mouse for normal mode
" It allows you navigation with mouse in normal mode and system selection in
" insert mode
set mouse=n
" Disable replacing tab to spaces for txt files
autocmd BufRead,BufNewFile *.txt set noexpandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment