-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
62 lines (50 loc) · 1.13 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
58
59
60
61
"pathogen
runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect()
"file type detection
filetype on
"ligne number
set number
"coloration
syntax on
set cursorline
"highlight ColorColumn ctermbg=DarkYellow
let g:spacegray_use_italics=1
colorscheme spacegray
"let g:minimap_highlight='Visual'
"miscellaneous
set backspace=indent,eol,start
set tabstop=4
set shiftwidth=4
set shiftround
set ruler
set nocompatible
"inclomplete commands
set showcmd
"indent
filetype plugin indent on
set autoindent
set smartindent
set cindent
set pastetoggle=<F5>
"matching parenthesis
set showmatch
"mapping
nmap <silent> <S-A-Up> :wincmd k<CR>
nmap <silent> <S-A-Down> :wincmd j<CR>
nmap <silent> <S-A-Left> :wincmd h<CR>
nmap <silent> <S-A-Right> :wincmd l<CR>
nmap <silent> <C-l> :noh<CR>
nmap <silent> <F6> gg=G<C-o><C-o><CR>
nmap <silent> <C-t> :NERDTreeToggle<CR>
"escape sequence
:set timeout timeoutlen=100
"tags
set tags=tags;
set autochdir
"headers
let g:header_auto_add_header=0
let g:header_field_author='Steins7'
let g:header_field_author_email='[email protected]'
let g:header_field_license_id='GNU'
nmap <silent> <F4> :AddHeader<CR>