-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvimrc
59 lines (42 loc) · 827 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
57
58
59
syntax on
set updatetime=200
set mouse=a
set encoding=utf8
set ignorecase
set smartcase
set hlsearch
set incsearch
set showmatch
set autoread
set history=200
set nobackup
set nowb
set noswapfile
set ruler
set cursorline
set number
set expandtab
set shiftwidth=4
set tabstop=4
set softtabstop=4
set smarttab
set backspace=indent,eol,start
set laststatus=2
set wildmenu
set wildmode=list:longest,full
set showcmd
set title
set autoindent
set nocompatible
filetype indent on
nmap <C-k> :wincmd k<CR>
nmap <C-j> :wincmd j<CR>
nmap <C-h> :wincmd h<CR>
nmap <C-l> :wincmd l<CR>
nnoremap <C-Right> :tabnext<CR>
nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-t> :tabnew<CR>
nmap <Leader>l :setlocal number!<CR>:setlocal number?<CR>
nmap <Leader>o :set paste!<CR>:set paste?<CR>
set background=dark
colorscheme zenburn