aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorjason2013-12-19 12:58:13 -0700
committerjason2013-12-19 12:58:13 -0700
commit3df87f38124e20972bb693b11e5404cceaa98eb7 (patch)
tree269ff79f9898df48a22863e754eed3d86ae7c163 /vim
downloaddotfiles-3df87f38124e20972bb693b11e5404cceaa98eb7.tar.gz
dotfiles-3df87f38124e20972bb693b11e5404cceaa98eb7.zip
add vimrc
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc57
1 files changed, 57 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
new file mode 100644
index 0000000..edc111f
--- /dev/null
+++ b/vim/vimrc
@@ -0,0 +1,57 @@
1set nocompatible " disable vi settings
2
3set noerrorbells " don't play a noise in macvim
4set vb " flash the screen
5set number " display line numbers
6set bs=2 " allow backspacing over everything in insert mode
7set ai " always set autoindenting on
8set nobackup " don't keep a backup file
9set viminfo='20,\"50 " read/write a .viminfo file, don't store more
10 " than 50 lines of registers
11set history=50 " keep 50 lines of command line history
12set ruler " show the cursor position all the time
13set nowrap " make sure that long lines don't wrap
14set laststatus=2 " Make sure the status line is always displayed
15filetype plugin on
16
17" Switch syntax highlighting on
18syntax enable
19
20" Display bufnr:filetype (dos,unix,mac) in status line
21set statusline=%<%n:%f%h%m%r%=%{&ff}\ %l,%c%V\ %P
22"
23" Hide the mouse pointer while typing
24" The window with the mouse pointer does not automatically become the
25" active window
26" Right mouse button extends selections
27" Turn on mouse support
28set mousehide
29set nomousefocus
30set mousemodel=extend
31set mouse=a
32set colorcolumn=80
33
34" Show paren matches for 5 tenths of a second
35set showmatch
36set matchtime=5
37
38" Setup tabs for 4 spaces
39set tabstop=4
40set shiftwidth=4
41set softtabstop=4
42set textwidth=78
43set smarttab
44set shiftround
45set expandtab
46
47if $TERM_PROGRAM =~ 'APPLE'
48 colorscheme synic
49else
50 set t_Co=256
51 colorscheme synic
52endif
53
54set runtimepath+=~/.vim/vim-addon-manager
55call vam#ActivateAddons([
56 \ 'github:jamessan/vim-gnupg'])
57 " \ 'github:scrooloose/nerdtree',