-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
37 lines (37 loc) · 799 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
colorscheme sahara
syntax on
set nobackup
set nowb
set noswapfile
set shiftwidth=4
set tabstop=4
set softtabstop=4
set autoindent
set expandtab
set cursorline
set cindent
map 0 ^
set ignorecase
set smartcase
set incsearch
set hlsearch
set showmatch
set scrolloff=7
set mat=2
set colorcolumn=80
hi colorcolumn ctermbg=235
set number
set backspace=indent,eol,start
set clipboard=unnamed
autocmd FileType make setlocal noexpandtab softtabstop=0
autocmd InsertEnter * syn clear EOLWS | syn match EOLWS excludenl /\s\+\%#\@!$/
autocmd InsertLeave * syn clear EOLWS | syn match EOLWS excludenl /\s\+$/
highlight EOLWS ctermbg=red guibg=red
noremap <up> <C-w><up>
map <down> <C-w><down>
map <left> <C-w><left>
map <right> <C-w><right>
imap <up> <nop>
imap <down> <nop>
imap <left> <nop>
imap <right> <nop>