Tweaked vim. Set zsh theme
This commit is contained in:
parent
576b44e3da
commit
3e3fa0b073
1
.vimrc
1
.vimrc
|
@ -31,6 +31,7 @@ Plugin 'VundleVim/Vundle.vim'
|
||||||
" Pass the path to set the runtimepath properly.
|
" Pass the path to set the runtimepath properly.
|
||||||
" Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
" Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
||||||
Plugin 'ycm-core/YouCompleteMe'
|
Plugin 'ycm-core/YouCompleteMe'
|
||||||
|
Plugin 'metakirby5/codi.vim'
|
||||||
" Install L9 and avoid a Naming conflict if you've already installed a
|
" Install L9 and avoid a Naming conflict if you've already installed a
|
||||||
" different version somewhere else.
|
" different version somewhere else.
|
||||||
" Plugin 'ascenator/L9', {'name': 'newL9'}
|
" Plugin 'ascenator/L9', {'name': 'newL9'}
|
||||||
|
|
14
.zshrc
14
.zshrc
|
@ -8,7 +8,7 @@ ZSH=/usr/share/oh-my-zsh/
|
||||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||||
ZSH_THEME="random"
|
ZSH_THEME="kolo"
|
||||||
# michelebologna
|
# michelebologna
|
||||||
|
|
||||||
# Set list of themes to pick from when loading at random
|
# Set list of themes to pick from when loading at random
|
||||||
|
@ -140,3 +140,15 @@ function pushdot {
|
||||||
fi
|
fi
|
||||||
cd -
|
cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
|
codi() {
|
||||||
|
local syntax="${1:-python}"
|
||||||
|
shift
|
||||||
|
vim -c \
|
||||||
|
"let g:startify_disable_at_vimenter = 1 |\
|
||||||
|
set bt=nofile ls=0 noru nonu nornu |\
|
||||||
|
hi ColorColumn ctermbg=NONE |\
|
||||||
|
hi VertSplit ctermbg=NONE |\
|
||||||
|
hi NonText ctermfg=0 |\
|
||||||
|
Codi $syntax" "$@"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue