-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
37 lines (28 loc) · 690 Bytes
/
.vimrc
File metadata and controls
37 lines (28 loc) · 690 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
36
37
" Packages."
packadd! dracula
set termguicolors
set background=dark
" Remember last position. "
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"zz" | endif
endif
" Tab. "
set tabstop=4
set softtabstop=0 noexpandtab
set shiftwidth=4
" Enable syntax highlighting. "
syntax on
" Enable line numbers. "
set number
" Enable modeline. "
set modeline
" Split to the right by default."
set splitright
" Disable folding. "
set nofoldenable
" Set colorscheme."
colorscheme dracula
" File specific settings. "
au BufRead,BufNewFile *.cf set ft=cf3
au BufNewFile,BufRead *.sh set softtabstop=2
au BufNewFile,BufRead *.sh set shiftwidth=2