diff --git a/gvimrc b/gvimrc new file mode 100644 index 0000000..ff0ce63 --- /dev/null +++ b/gvimrc @@ -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 +map! diff --git a/vimrc b/vimrc index 5458cb2..4f65cfc 100644 --- a/vimrc +++ b/vimrc @@ -55,9 +55,6 @@ nnoremap s :w if v:version >= 800 set breakindent - " FZF map - nmap :FZF - " easy-align options xmap a (EasyAlign) nmap a (EasyAlign) @@ -67,27 +64,16 @@ if v:version >= 800 packadd vimwiki endif autocmd FileType python packadd jedi-vim | packadd ale + autocmd FileType sh packadd ale " yaaay themes - " if has('gui_running') || $TERM =~ '^\(rxvt\|st\|tmux\|xterm\)' - " let &t_8f = "\033[38;2;%lu;%lu;%lum" - " let &t_8b = "\033[48;2;%lu;%lu;%lum" - " 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 + if $TERM =~ '^\(rxvt\|st\|tmux\|xterm\)' + let &t_8f = "\033[38;2;%lu;%lu;%lum" + let &t_8b = "\033[48;2;%lu;%lu;%lum" + set termguicolors 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 - map! + set bg=dark + colorscheme gruvbox8 endif syntax on