Last active
October 3, 2015 03:08
-
-
Save bialikover/2378394 to your computer and use it in GitHub Desktop.
vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => General | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
set ls=2 " Allways show status line | |
set hlsearch " Highlight searches | |
set ruler " Show the cursor position all the time | |
set visualbell " Turn off error beep/flash | |
set ignorecase " Ignore case while searching | |
set number " Put numbers on side | |
set so=7 " Set 7 lines to the cursor when movin j/k | |
set t_Co=256 " Set vim to 256 colours | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Colors and Fonts | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
syntax on " This is needed to see syntax | |
set autoread " If the file is changed from the outside" | |
"set background=dark " Makes it easier to read with black background | |
"colorscheme candycode " Set theme in ./vim/colors folder | |
"set incsearch " Do incremental searching | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Text, tab and indent related | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
set smartindent " Ident files smart | |
set tabstop=4 " Set 1 tab = 4 spaces | |
set shiftwidth=4 " Set 1 tab = 4 spaces | |
set expandtab " Spaces instead of tabs | |
set showmatch " Show matching brackets when text indicator is over them | |
set cmdheight=2 " Height of the command bar | |
set encoding=utf8 " Set utf8 as standard encoding | |
set ffs=unix,dos,mac " Use Unix as the standard file type | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Files, backups and undo | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Turn backup off, since most stuff is in SVN, git et.c anyway... | |
set nobackup | |
set nowb | |
set noswapfile | |
autocmd VimEnter * NERDTree | |
autocmd VimEnter * wincmd p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment