vim - new plugin, fix colors
This commit is contained in:
parent
f255c043d2
commit
bb64d19b00
10
vim/init.vim
10
vim/init.vim
@ -6,6 +6,7 @@ Plug 'rodjek/vim-puppet'
|
|||||||
Plug 'junegunn/goyo.vim'
|
Plug 'junegunn/goyo.vim'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'dense-analysis/ale'
|
Plug 'dense-analysis/ale'
|
||||||
|
Plug 'jiangmiao/auto-pairs'
|
||||||
Plug 'frazrepo/vim-rainbow'
|
Plug 'frazrepo/vim-rainbow'
|
||||||
Plug 'edkolev/tmuxline.vim'
|
Plug 'edkolev/tmuxline.vim'
|
||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
@ -35,7 +36,6 @@ set cursorline
|
|||||||
set cursorcolumn
|
set cursorcolumn
|
||||||
set nojoinspaces
|
set nojoinspaces
|
||||||
set nowritebackup
|
set nowritebackup
|
||||||
set termguicolors
|
|
||||||
|
|
||||||
set bs=2
|
set bs=2
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
@ -106,11 +106,3 @@ let g:lightline = {
|
|||||||
function! LightLineReadonly()
|
function! LightLineReadonly()
|
||||||
return &readonly && &filetype !=# 'help' ? 'RO' : ''
|
return &readonly && &filetype !=# 'help' ? 'RO' : ''
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
inoremap " ""<left>
|
|
||||||
inoremap ' ''<left>
|
|
||||||
inoremap ( ()<left>
|
|
||||||
inoremap [ []<left>
|
|
||||||
inoremap { {}<left>
|
|
||||||
inoremap {<CR> {<CR>}<Esc>O
|
|
||||||
inoremap {;<CR> {<CR>};<Esc>O
|
|
||||||
|
Loading…
Reference in New Issue
Block a user