Config vim ~/.vimrc

If a lot of your work is done in VIM, it would be interesting to set it up a bit easier. Here is an example of a config that I often use.

vim ~/.vimrc


set encoding=utf8
set paste
set expandtab
set textwidth=0
set tabstop=4
set softtabstop=4
set shiftwidth=4
set smartindent
set backspace=indent,eol,start
set incsearch
set ignorecase
set ruler
set wildmenu
set commentstring=\ #\ %s
set clipboard+=unnamed
syntax on