forked from sparks/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
57 lines (42 loc) · 1.27 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
set nocompatible "VIM Mode
" Automatically cd into the directory that the file is in
set autochdir
" Remove any trailing whitespace that is in the file
autocmd BufRead, BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
" highlight current line
" set cul
set background=dark
colorscheme desert
set backspace=indent,eol,start " allow backspacing over everything in insert mode
set history=200 " 200 lines of command scroll back
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
set number " line numebrs
set nuw=3 " number with 6
set backup
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
if has("mouse")
set mouse=a "enable mouse
set mousehide "hides mouse while typing
endif
filetype on
filetype plugin on
let g:pydiction_location = '~/.vim/pydiction-1.2/complete-dict'
filetype plugin indent on
syntax on
set hlsearch " Highlight things that we find with the search
" Who doesn't like autoindent?
set autoindent
set expandtab
set textwidth=79
set tabstop=8
set softtabstop=4
set shiftwidth=4
set wildmenu "menue has tab completion
set wildmode=list:longest,full
set ignorecase "case insensitivity
set smartcase "unless its a capital letter
"set nohidden
"highlight MatchParen ctermbg=4