添加新配置
On branch main Changes to be committed: new file: bash/.Xresources new file: bash/.bashrc new file: bash/.config/i3/config new file: bash/.gitconfig new file: bash/.vimrc new file: bash/.xinitrc
This commit is contained in:
38
bash/.vimrc
Normal file
38
bash/.vimrc
Normal file
@@ -0,0 +1,38 @@
|
||||
" 设置主题
|
||||
set background=dark
|
||||
|
||||
" 语法高亮
|
||||
syntax on
|
||||
" 显示行数
|
||||
set number
|
||||
" tab 4格子
|
||||
set ts=4
|
||||
set shiftwidth=4
|
||||
|
||||
" 快捷键设置
|
||||
map <C-S> :w!<CR>
|
||||
map <C-Q> :wq!<CR>
|
||||
map <C-A-Q> :q!<CR>
|
||||
map <C-N> :NERDTree<CR>
|
||||
map <C-C> :NERDTreeClose<CR>
|
||||
map <C-D> :NERDTreeFind<CR>
|
||||
map <C-T> :terminal<CR>
|
||||
|
||||
" coc.pulg
|
||||
" coc-json
|
||||
" coc-vimlsp
|
||||
" coc-html
|
||||
" coc-python
|
||||
|
||||
|
||||
" vim-pulg
|
||||
call plug#begin()
|
||||
Plug 'tpope/vim-sensible'
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'liuchengxu/vim-which-key'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
call plug#end()
|
||||
Reference in New Issue
Block a user