1
0
Fork 0

gvimrc is back, vimrc tweaks

This commit is contained in:
Von Random 2018-06-28 19:24:31 +03:00
parent 2ac396d59a
commit 7cfec077c1
2 changed files with 16 additions and 21 deletions

9
gvimrc Normal file
View 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
View file

@ -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
if has('gui_running')
if has('win32')
set guifont=Fantasque_Sans_Mono:h11
else
set guifont=Fantasque\ Sans\ Mono\ 11
endif endif
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor set bg=dark
set guiheadroom=0 guioptions=aei mouse=a noerrorbells visualbell t_vb= colorscheme gruvbox8
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
endif endif
syntax on syntax on