-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
56 lines (42 loc) · 777 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
" General options
set nocp
set nobackup
set noswapfile
set title
set tabstop=2
set shiftwidth=2
set backspace=indent,eol,start
set shiftround
set expandtab
set smarttab
set ruler
set splitright
set autoindent
set smartindent
set ignorecase
set smartcase
set incsearch
set hls
set showmatch
set matchtime=1
set cursorline
set cursorlineopt=number
set autowrite
set nobackup
set wildmenu
set wildmode=longest:full
set wildignore=*.swp,*.bak,*.pyc,*.cla
" Key mapping
map <F1> :set hls!<CR>
set pastetoggle=<F2>
map <F6> :set guifont=Monaco:h12<CR><C-W>=
map <F7> :set guifont=Monaco:h13<CR><C-W>=
map <F8> :set guifont=Monaco:h14<CR><C-W>=
map <C-H> :w<CR>
noremap Q gq
noremap j gj
noremap k gk
set display+=lastline
syn on
filetype plugin indent on
color koehler