-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
73 lines (52 loc) · 1.86 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
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
72
73
"VIMRC CONFIG"
call plug#begin()
set nocompatible " for vundle
filetype off "required for vundle
"set runtime path to include vundle and nitialize
set rtp+=$PATH/.vim/bundle/Vundle.vim
call vundle#begin()
" let vundle manage Vundle
Plug 'VundleVim/Vundle.vim'
" Space to add plugins
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'vim-script/jedi-vim'
Plug 'vim-script/nerdtree'
" All pugins to be added before this line
call vundle#end() "required
filetype plugin indent on " required
"...........COLORS.................."
set background=dark
colorscheme badwolf " awesome colorscheme
syntax enable "enable syntax processing
"......SPACES & TABS................"
set tabstop=4 "number of visual spaces per TAB
set softtabstop=4 "number of spaces in tab while editing
set expandtab "tabs are spaces
set relativenumber " relative line numbering
"........UI Config.................."
set number "show line numbers
set showcmd "show command in bottom bar
set cursorline "highlight current line
filetype indent on " load filetype-speciic indent files
set wildmenu "visual autocomplete for comand menu
set lazyredraw "redraw only when you need to
set showmatch "highlight matching [{()}]
".......Searching..................."
set incsearch " search as characters are entered
set hlsearch " highlight matches
"turn off search highlight
nnoremap <leader><space> :nohlsearch<CR>
"............Folding................"
set foldenable "enable folding
set foldlevelstart=10 " open most folds by default
set foldnestmax=10 " 10 nested fold max
nnoremap <space> za
set foldmethod=indent " fold based on indent level
"..............Movement.............."
"..............Airline config........"
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#left_sep = ' '
let g:airline#extensions#tabline#left_alt_sep = '|'
set laststatus=2
call plug#end()