Skip to content

Commit

Permalink
More Vim configuration improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
JEG2 committed Apr 3, 2011
1 parent 5ab4d59 commit fc520d0
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions vimrc
@@ -1,3 +1,43 @@
"""""""""""""""
""" Setting """
"""""""""""""""

set nocompatible " Changes other options.

syntax enable " Turn on syntax highlighting.
filetype plugin indent on " Turn on file type detection.

set backspace=indent,eol,start " Intuitive backspacing.

set hidden " Handle multiple buffers better.

set wildmenu " Enhanced command line completion.
set wildmode=list:longest " Complete files like a shell.

set ignorecase " Case-insensitive searching.
set smartcase " Case-sensitive if it contains a capital.

set incsearch " Highlight matches as you type.
set hlsearch " Highlight matches.

set nobackup " Don't backup before overwriting a file.
set nowritebackup " And again.
set directory=$HOME/.vim/tmp//,. " Keep swap files in one location.

set tabstop=2 " Global tab width.
set shiftwidth=2 " And again, related.
set expandtab " Use spaces instead of tabs.

""""""""""""
""" Keys """
""""""""""""

let mapleader=","

"""""""""""""""
""" Plugins """
"""""""""""""""

"
" Install Pathogen
" http://www.vim.org/scripts/script.php?script_id=2332
Expand Down

0 comments on commit fc520d0

Please sign in to comment.