vimrc here again now

This commit is contained in:
Luddifee 2021-02-26 13:45:26 +01:00
parent e833b053e7
commit 66389bec42

49
.vimrc Normal file
View 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