-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcore.vim
More file actions
71 lines (61 loc) · 1.72 KB
/
core.vim
File metadata and controls
71 lines (61 loc) · 1.72 KB
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
62
63
64
65
66
67
68
69
70
71
" Basic UI and usage tweaks more complex things in own modules
" Usage
" =============================================================================
" set hidden
" filetypes
" =============================================================================
syntax on
filetype plugin on
filetype indent on
" UI
" =============================================================================
set statusline=%2n:\ %-2.(%M%h%w%r\ %)%<%f\ %y%=%-14.(%l/%L,\ %c%V%)\ %P
set number
set ruler
set laststatus=2
set visualbell
set showbreak=...
set nowrap
set scrolloff=2
set showmatch
set cursorline
set wildmenu
set showcmd
" Colors
" =============================================================================
"if has('termguicolors') && ( $TMUX == '' || eval(matchstr(system('tmux -V'), '\v\d+.\d+')) >= 2.2 )
" colorscheme true
"else
" colorscheme term
"endif
colorscheme true
"colorscheme term
" Higlight trailing whitespace
match Trailing /\v\s+$/
" Search
" =============================================================================
set magic
set smartcase
set incsearch
set hlsearch
" Indent
" =============================================================================
set shiftwidth=4
set softtabstop=4
set tabstop=4
set noexpandtab
set autoindent
set cindent
set smarttab
set list lcs=tab:\|\ "important trailing whitespace
" Other
" =============================================================================
set undolevels=1000
set backspace=indent,eol,start
" gvim
" =============================================================================
set guifont=Monospace\ 11
set guioptions-=m "remove menu bar
set guioptions-=T "remove toolbar
set guioptions-=r "remove right-hand scroll bar
set guioptions-=L "remove left-hand scroll bar