-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
43 lines (34 loc) · 794 Bytes
/
vimrc
File metadata and controls
43 lines (34 loc) · 794 Bytes
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
" initialize pathogen, this has to be done before file type detection
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
colorscheme koehler
set autoindent
set expandtab
set shiftwidth=4
set softtabstop=4
set tabstop=4
set hlsearch
set ignorecase
set incsearch
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set encoding=prc
set foldmethod=indent
set foldlevel=99
set number
imap jj <esc>
" use ctrl-hjkl to move among windows
map <c-j> <c-w>j
map <c-k> <c-w>k
map <c-l> <c-w>l
map <c-h> <c-w>h
set nocompatible
syntax enable
filetype plugin on
filetype indent on
"filetype off
"
"" lines for supertab
"au FileType python set omnifunc=pythoncomplete#Complete
"let g:SuperTabDefaultCompletionType = "context"
"set completeopt=menuone,longest,preview