-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
27 lines (24 loc) · 993 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
call plug#begin()
Plug 'scrooloose/nerdcommenter'
Plug 'scrooloose/nerdtree'
Plug 'vim-airline/vim-airline'
Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'Raimondi/delimitMate'
Plug 'Yggdroot/indentLine'
Plug 'mindriot101/vim-yapf'
Plug 'lervag/vimtex'
call plug#end()
nmap <F2> :NERDTreeToggle<CR>
syntax on
filetype plugin indent on
colorscheme dracula
set tabstop=4
set shiftwidth=4
set mouse=r
nnoremap <buffer> <F5> :exec '!python' shellescape(@%, 1)<cr>
nnoremap <silent><F3> :MaximizerToggle<CR>
vnoremap <silent><F3> :MaximizerToggle<CR>gv
" highlight patterns you search for
set hlsearch
" highlight all occurances of word under cursor
autocmd CursorMoved * exe printf('match IncSearch /\V\<%s\>/', escape(expand('<cword>'), '/\'))