-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
41 lines (33 loc) · 802 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
" My vim confs
" I will learn to handling with this guy (.vimrc)
" Here have a few configurations which i know
"
"
" turn hybrid line numbers on
:set number relativenumber
:set nu rnu
" Highlight all search pattern matches
:set hlsearch
" incremental search
:set incsearch
" command-line completion.
:set wildmenu
" Show partial commands in the last line of the screen.
:set showcmd
" show ALL white spaces as a character
:set list
:set listchars=tab:>-,trail:~,extends:>,precedes:<
" Transform an tab in 4 white spaces
:set tabstop=4
:set shiftwidth=4
:set expandtab
" don't use arrowkeys
:noremap <Up> <NOP>
:noremap <Down> <NOP>
:noremap <Left> <NOP>
:noremap <Right> <NOP>
" really, just don't
:inoremap <Up> <NOP>
:inoremap <Down> <NOP>
:inoremap <Left> <NOP>
:inoremap <Right> <NOP>