-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
57 lines (40 loc) · 978 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
" Enable syntax highlighting
syntax on
" Enable file type detection and plugin support
filetype plugin indent on
" Show line numbers
set number
" Enable mouse support
set mouse=a
" Enable persistent undo, so undo history is saved across sessions
set undofile
" Use spaces instead of tabs
set expandtab
" Set the number of spaces for each indentation level
set tabstop=4
set shiftwidth=4
" Enable auto-indentation
set autoindent
set smartindent
" Enable line wrapping
set wrap
" Enable incremental search
set incsearch
" Highlight search results
set hlsearch
" Enable a status line at the bottom
set laststatus=2
" Display matching parentheses, brackets, and braces
set showmatch
" Better command-line completion
set wildmenu
" Faster screen redrawing
set ttyfast
" Disable Vim backup files (ending with ~)
set nobackup
set nowritebackup
set noswapfile
" Set colorscheme
colorscheme lunaperche
" Improve completion menu behavior
set completeopt=menuone,noselect