forked from dknochen/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
43 lines (34 loc) · 729 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
syntax enable
colorscheme solarized
set background=dark
set guifont=Menlo:h15
let g:solarized_hitrail=1
"set columns=90
"set lines=60
set laststatus=2
set showmode
set showcmd
set ruler
set number
set numberwidth=3
set encoding=utf-8
set wrap
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set smartindent
set list listchars=tab:\ \ ,trail:·
" Tab Completion
set wildmenu
set wildignore+=.git,*.pyc,.sass-cache/,.DS_Store,*.mo
set wildmode=list:longest,list:full
" Search
set hlsearch
set incsearch
set ignorecase
set smartcase
" Command-T
let g:CommandTMaxHeight=20
au BufRead,BufNewFile {Gemfile,Vagrantfile} set ft=ruby
nnoremap <silent> <F6> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>