-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
35 lines (28 loc) · 744 Bytes
/
vimrc
File metadata and controls
35 lines (28 loc) · 744 Bytes
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
" ~/.vimrc for configure the vim-editor
"
" Basic Options ----------------------------------------------------------------
"
" be IMproved
set nocompatible
set rtp+=~/.vim/
filetyp plugin on
filetyp indent on
syntax enable
" setting leader keys
let mapleader = '\'
let maplocalleader = ','
" load plugins
source ~/.vim/config/plugins.vim
" load settings
source ~/.vim/config/settings.vim
" load mappings
source ~/.vim/config/mappings.vim
" load autocommands
source ~/.vim/config/autocommands.vim
"colorscheme codecolors
colorscheme PaperColor
" show whitespace at end of line
hi ExtraWhitespace ctermbg=gray guibg=red
hi ExtraWhitespace2 ctermbg=gray guibg=red
match ExtraWhitespace /^\t*\zs \+/
match ExtraWhitespace2 /\s\+$\| \+\ze\t/