-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
33 lines (27 loc) · 1.07 KB
/
.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
" Colors {{{
syntax enable " enable syntax processing
" set Vim-specific sequences for RGB colors (before setting termguicolors)
colorscheme molokai
" }}}
" Spaces & Tabs & Delete {{{
set tabstop=2 " 2 space tab
set expandtab " use spaces for tabs
set softtabstop=2 " 2 space tab
filetype indent on " load filetype-specific indent files
set backspace=indent,eol,start
" }}}
" UI Layout {{{
set number " show line numbers
set showcmd " show command in bottom bar
set cursorline " highlight current line
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when we need to
set showmatch " highlight matching [{()}]
" }}}
" Searching {{{
set ignorecase " ignore case when searching
set incsearch " search as characters are entered
set hlsearch " highlight all matches
set nohlsearch " turn off previous seach results
nnoremap <leader><space> :nohlsearch<CR> " turn off search highlight by pressing <SPACE>
" }}}