1
0
Fork 0

some minor fixes to zshrc, gvimrc; moar themes for vim as well

This commit is contained in:
Von Random 2017-11-24 19:46:01 +03:00
parent 540dafe4ae
commit 20ca3eae49
3 changed files with 17 additions and 14 deletions

5
gvimrc
View file

@ -4,7 +4,10 @@ if has('win32')
else else
set guifont=Fantasque\ Sans\ Mono\ 11 set guifont=Fantasque\ Sans\ Mono\ 11
endif endif
let g:lightline = { 'colorscheme': 'solarized', } if exists("g:lightline")
unlet g:lightline.separator
unlet g:lightline.subseparator
endif
set guiheadroom=0 guioptions=aei mouse=a set guiheadroom=0 guioptions=aei mouse=a
set noerrorbells visualbell t_vb= set noerrorbells visualbell t_vb=
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor

View file

@ -23,6 +23,7 @@ Plug 'w0rp/ale', { 'for': 'python' }
" colorschemes " colorschemes
Plug 'lifepillar/vim-solarized8' Plug 'lifepillar/vim-solarized8'
Plug 'KeitaNakamura/neodark.vim' Plug 'KeitaNakamura/neodark.vim'
Plug 'nanotech/jellybeans.vim'
" syntax highlight plugins " syntax highlight plugins
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
@ -36,11 +37,10 @@ call plug#end()
" lightline options " lightline options
set noshowmode set noshowmode
let g:solarized_termcolors = 16 let g:solarized_termcolors = 16
let g:lightline = { let g:lightline = {}
\ 'colorscheme': 'solarized', let g:lightline.colorscheme = 'solarized'
\ 'separator': { 'left': "\ue0b0", 'right': "\ue0b2" }, let g:lightline.separator = { 'left': "\ue0b0", 'right': "\ue0b2" }
\ 'subseparator': { 'left': "\ue0b1", 'right': "\ue0b3" }, let g:lightline.subseparator = { 'left': "\ue0b1", 'right': "\ue0b3" }
\ }
" signify options " signify options
let g:signify_vcs_list=[ 'git' ] let g:signify_vcs_list=[ 'git' ]

16
zshrc
View file

@ -200,14 +200,14 @@ font_colors() {
} }
# grc # grc
colorize() { colorize() {
local cmds cmd local cmds cmd
cmds=(\ cmds=(\
cc configure cvs df diff dig gcc gmake id ip last lsof make mount \ cc configure cvs df diff dig gcc gmake id ip last lsof make mount \
mtr netstat ping ping6 ps tcpdump traceroute traceroute6 \ mtr netstat ping ping6 ps tcpdump traceroute traceroute6 \
) )
for cmd in $cmds[@]; do for cmd in $cmds[@]; do
alias $cmd="command grc -es --colour=auto $cmd" alias $cmd="command grc -es --colour=auto $cmd"
done done
} }
if [[ -x "$(whence grc)" ]]; then if [[ -x "$(whence grc)" ]]; then
colorize colorize