diff --git a/.vimrc b/.vimrc index 934d4c9..c97a71a 100644 --- a/.vimrc +++ b/.vimrc @@ -31,6 +31,7 @@ Plugin 'VundleVim/Vundle.vim' " Pass the path to set the runtimepath properly. " Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} Plugin 'ycm-core/YouCompleteMe' +Plugin 'metakirby5/codi.vim' " Install L9 and avoid a Naming conflict if you've already installed a " different version somewhere else. " Plugin 'ascenator/L9', {'name': 'newL9'} diff --git a/.zshrc b/.zshrc index 3100f65..a06a17b 100644 --- a/.zshrc +++ b/.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, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="random" +ZSH_THEME="kolo" # michelebologna # Set list of themes to pick from when loading at random @@ -140,3 +140,15 @@ function pushdot { fi 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" "$@" +}