vimrc here again now
This commit is contained in:
parent
e833b053e7
commit
66389bec42
49
.vimrc
Normal file
49
.vimrc
Normal file
@ -0,0 +1,49 @@
|
||||
if has("syntax")
|
||||
syntax on
|
||||
endif
|
||||
|
||||
nnoremap qt :vert term<CR><C-w><C-r>
|
||||
|
||||
noremap qq <Esc>:q<CR>
|
||||
noremap qaq <Esc>:qa<CR>
|
||||
noremap q1q <Esc>:q!<CR>
|
||||
noremap qa1q <Esc>:qa!<CR>
|
||||
|
||||
noremap qf <Esc>:NERDTreeToggle<CR>
|
||||
|
||||
noremap vrc <Esc>:e $MYVIMRC<CR>
|
||||
|
||||
inoremap qw <Esc>:w<CR>i<Right>
|
||||
inoremap ii <Esc><Right>
|
||||
|
||||
imap <C-@> <C-n>
|
||||
|
||||
inoremap ( ()<Left>
|
||||
inoremap { {}<Left>
|
||||
inoremap [ []<Left>
|
||||
inoremap " ""<Left>
|
||||
inoremap ' ''<Left>
|
||||
|
||||
nnoremap qw :w<CR>
|
||||
|
||||
set number
|
||||
|
||||
call plug#begin()
|
||||
" coding
|
||||
Plug 'lervag/vimtex'
|
||||
Plug 'neoclide/coc.nvim'
|
||||
" ui
|
||||
Plug 'scrooloose/nerdtree'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
call plug#end()
|
||||
|
||||
set encoding=UTF-8
|
||||
set expandtab
|
||||
set tabstop=4
|
||||
|
||||
set laststatus=2
|
||||
set noshowmode
|
||||
"set background=dark
|
||||
|
||||
colors peachpuff
|
||||
|
Loading…
x
Reference in New Issue
Block a user