gvimrc is back, vimrc tweaks
This commit is contained in:
parent
2ac396d59a
commit
7cfec077c1
2 changed files with 16 additions and 21 deletions
9
gvimrc
Normal file
9
gvimrc
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
if has('win32')
|
||||||
|
set guifont=Fantasque_Sans_Mono:h11
|
||||||
|
else
|
||||||
|
set guifont=Fantasque\ Sans\ Mono\ 11
|
||||||
|
endif
|
||||||
|
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
|
||||||
|
set guiheadroom=0 guioptions=aei mouse=a noerrorbells visualbell t_vb=
|
||||||
|
map <S-Insert> <MiddleMouse>
|
||||||
|
map! <S-Insert> <MiddleMouse>
|
28
vimrc
28
vimrc
|
@ -55,9 +55,6 @@ nnoremap <Leader>s :w<CR>
|
||||||
if v:version >= 800
|
if v:version >= 800
|
||||||
set breakindent
|
set breakindent
|
||||||
|
|
||||||
" FZF map
|
|
||||||
nmap <Leader><Tab> :FZF<CR>
|
|
||||||
|
|
||||||
" easy-align options
|
" easy-align options
|
||||||
xmap <Leader>a <Plug>(EasyAlign)
|
xmap <Leader>a <Plug>(EasyAlign)
|
||||||
nmap <Leader>a <Plug>(EasyAlign)
|
nmap <Leader>a <Plug>(EasyAlign)
|
||||||
|
@ -67,27 +64,16 @@ if v:version >= 800
|
||||||
packadd vimwiki
|
packadd vimwiki
|
||||||
endif
|
endif
|
||||||
autocmd FileType python packadd jedi-vim | packadd ale
|
autocmd FileType python packadd jedi-vim | packadd ale
|
||||||
|
autocmd FileType sh packadd ale
|
||||||
|
|
||||||
" yaaay themes
|
" yaaay themes
|
||||||
" if has('gui_running') || $TERM =~ '^\(rxvt\|st\|tmux\|xterm\)'
|
if $TERM =~ '^\(rxvt\|st\|tmux\|xterm\)'
|
||||||
" let &t_8f = "\033[38;2;%lu;%lu;%lum"
|
let &t_8f = "\033[38;2;%lu;%lu;%lum"
|
||||||
" let &t_8b = "\033[48;2;%lu;%lu;%lum"
|
let &t_8b = "\033[48;2;%lu;%lu;%lum"
|
||||||
" set termguicolors
|
set termguicolors
|
||||||
" endif
|
|
||||||
set bg=light
|
|
||||||
colorscheme PaperColor
|
|
||||||
endif
|
endif
|
||||||
|
set bg=dark
|
||||||
if has('gui_running')
|
colorscheme gruvbox8
|
||||||
if has('win32')
|
|
||||||
set guifont=Fantasque_Sans_Mono:h11
|
|
||||||
else
|
|
||||||
set guifont=Fantasque\ Sans\ Mono\ 11
|
|
||||||
endif
|
|
||||||
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
|
|
||||||
set guiheadroom=0 guioptions=aei mouse=a noerrorbells visualbell t_vb=
|
|
||||||
map <S-Insert> <MiddleMouse>
|
|
||||||
map! <S-Insert> <MiddleMouse>
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
|
|
Loading…
Reference in a new issue