forked from bihanviranga/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
executable file
·29 lines (25 loc) · 925 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
" colorscheme badwolf " cool color scheme
syntax enable " enable syntax processing
set tabstop=4 " number of VISUAL spaces per TAB
set number " enable line numbers
set cursorline " highlight current line
filetype indent on " load filetype-specific indent files
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when needed
set showmatch " highlight matching bracket
set hlsearch " highlight matches
nnoremap <leader><space> :nohlsearch<CR>
" with space, stop highlighting search results
set foldenable " enable folding
set foldlevelstart=10 " open most folds by default
set foldnestmax=10 " 10 nested fold max
nnoremap <space> za
" space open/closes folds
set foldmethod=indent " fold based on indent level
" let mapleader="," " leader is comma
inoremap jk <esc>
" jk is escape
" PLUG add-on manager
" call plug#begin('~/.vim/plugged')
" Plug 'leafgarland/typescript-vim'
" call plug#end()