bashrc, zshrc: vim aliases; vimplugrc: get rid of gvim, I do not use it anyway
This commit is contained in:
parent
6006e52950
commit
e788939620
3 changed files with 15 additions and 11 deletions
18
vimplugrc
18
vimplugrc
|
@ -42,22 +42,18 @@ nmap <Leader>ft :Filetypes<CR>
|
|||
" vimwiki
|
||||
let g:vimwiki_list = [{'path': '$HOME/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
|
||||
|
||||
" colorscheme and gui
|
||||
if has('gui_running')
|
||||
set bg=dark
|
||||
set guifont=JetBrains\ Mono\ 10
|
||||
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
|
||||
set guiheadroom=0 guioptions=aei mouse=a
|
||||
|
||||
map <S-Insert> <MiddleMouse>
|
||||
map! <S-Insert> <MiddleMouse>
|
||||
" colorschemes
|
||||
if $TERM =~ '^tmux' || $TERM =~ '^xterm' || $TERM =~ '^st'
|
||||
set bg=dark tgc
|
||||
let g:gruvbox_filetype_hi_groups = 1
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
|
||||
colorscheme gruvbox8
|
||||
elseif $TERM !~ '^linux'
|
||||
set bg=light
|
||||
let g:solarized_use16 = 1
|
||||
let g:solarized_italics = 1
|
||||
let g:solarized_extra_hi_groups = 1
|
||||
let g:solarized_use16 = 1
|
||||
|
||||
colorscheme solarized8
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue