Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax on
- set background=dark
- color jellybeans
- set number " line numbers
- set hidden
- set noautowrite " don't automagically write on :next
- set nocompatible " vim, not vi
- set autoindent " auto/smart indentation
- set cindent
- set preserveindent
- set copyindent
- set smarttab " tab and backspace are smart
- set tabstop=4 " 4 spaces
- set softtabstop=4
- set shiftwidth=4
- set scrolloff=5 " keep at least 5 lines above/below
- set sidescrolloff=5 " keep at least 5 lines left/right
- set backspace=indent,eol,start
- set linebreak
- set complete=.,w,b,u,U,t,i,d " do lots of scanning on tab completion
- set ttyfast " we have a fast terminal
- set noerrorbells " No error bells please
- set shell=bash
- filetype on " Enable filetype detection
- filetype indent on " Enable filetype-specific indenting
- filetype plugin on " Enable filetype-specific plugins
- let maplocalleader=',' " all my macros start with ,
- set laststatus=2
- " searching
- set incsearch " incremental search
- set ignorecase " search ignoring case
- set hlsearch " highlight the search
- set showmatch " show matching bracket
- set diffopt=filler,iwhite " ignore all whitespace and sync
- " spelling
- if v:version >= 700
- " Enable spell check for text files
- autocmd BufNewFile,BufRead *.txt setlocal spell spelllang=en
- endif
- " GUI Stuff
- set guioptions-=m "menubar
- set guioptions-=T "toolbar
- set guioptions-=r
- set guioptions-=l
- set guioptions-=R
- set guioptions-=L
- set guioptions-=b
Advertisement
Add Comment
Please, Sign In to add comment