Skip to content

Instantly share code, notes, and snippets.

Last active Sep 11, 2017
What would you like to do?
" 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