Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set number
- set nowrap
- set showbreak=+++
- set textwidth=100
- set showmatch
- set errorbells
- set smartcase
- set ignorecase
- set nohlsearch
- set incsearch
- set autoindent
- set cindent
- set shiftwidth=4
- set smartindent
- set smarttab
- set softtabstop=4
- set ruler
- set relativenumber
- set undolevels=1000000
- set backspace=indent,eol,start
- syntax on
- "colorscheme southernlights "Pretty good for OS X Terminal
- colorscheme elflord
- " Configure the undo history directory
- set undofile
- set undodir=~/.vim/undo
- " Move to last position
- autocmd BufReadPost * exe "normal! g`\""
- " Center current line
- autocmd BufReadPost * exe "normal! zz"
- " Highlight search matches while searching, but disable when search is complete
- augroup vimrc-incsearch-highlight
- autocmd!
- autocmd CmdlineEnter /,\? :set hlsearch
- autocmd CmdlineLeave /,\? :set nohlsearch
- augroup END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement