mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-31 00:35:42 +00:00
feat: make it cleaner
This commit is contained in:
parent
0f5e3d1921
commit
ce2409ddf1
1 changed files with 18 additions and 3 deletions
19
vim/vimrc
19
vim/vimrc
|
@ -15,6 +15,7 @@ call plug#begin('~/.vim/plugged')
|
|||
" General
|
||||
Plug 'ojroques/vim-oscyank'
|
||||
Plug 'tpope/vim-obsession'
|
||||
Plug 'tmux-plugins/vim-tmux-focus-events'
|
||||
" Look
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'sonph/onehalf', { 'rtp': 'vim' }
|
||||
|
@ -48,7 +49,7 @@ let g:coc_global_extensions = [
|
|||
\ 'coc-yaml',
|
||||
\ 'coc-json',
|
||||
\ 'coc-git',
|
||||
\ 'coc-pyright'
|
||||
\ 'coc-pyright'
|
||||
\ ]
|
||||
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
|
||||
let g:coc_global_extensions += ['coc-prettier']
|
||||
|
@ -127,9 +128,10 @@ set incsearch " search as you type
|
|||
set ignorecase
|
||||
set smartcase
|
||||
set mouse=a
|
||||
set ttymouse=sgr
|
||||
set spell spelllang=en_us
|
||||
set updatetime=300
|
||||
set cmdheight=2
|
||||
set cmdheight=1
|
||||
set hidden
|
||||
set shortmess+=c
|
||||
|
||||
|
@ -168,4 +170,17 @@ set cursorline
|
|||
set hlsearch " highlight all results
|
||||
set signcolumn=yes " always show git diff column
|
||||
colorscheme onehalflight
|
||||
|
||||
if !exists('g:airline_symbols')
|
||||
let g:airline_symbols = {}
|
||||
endif
|
||||
let g:airline_symbols.branch = ''
|
||||
let g:airline_symbols.dirty=' '
|
||||
let g:airline_symbols.linenr = '☰ '
|
||||
let g:airline_symbols.maxlinenr = ' '
|
||||
let g:airline_left_sep=''
|
||||
let g:airline_right_sep=''
|
||||
|
||||
let g:airline_detect_spell=0
|
||||
let g:airline#parts#ffenc#skip_expected_string='utf-8[unix]'
|
||||
let g:airline_theme = 'onehalflight'
|
||||
|
|
Loading…
Reference in a new issue