Merge branch 'dev' of https://github.com/Donaldttt/dotfiles into dev
This commit is contained in:
+4
-8
@@ -198,11 +198,11 @@
|
||||
endif
|
||||
|
||||
" what to use for dark theme
|
||||
let g:dark_theme = ''
|
||||
let g:dark_theme = 'default'
|
||||
let g:airline_dark_theme = "deus"
|
||||
|
||||
" what to use for light theme
|
||||
let g:light_theme = ''
|
||||
let g:light_theme = 'default'
|
||||
let g:airline_light_theme = "silver"
|
||||
|
||||
" transparent backgroud for supported terminal emulator
|
||||
@@ -219,17 +219,13 @@
|
||||
|
||||
function! SetDarkTheme()
|
||||
set background=dark
|
||||
if g:dark_theme != ""
|
||||
execute("colorscheme " . g:dark_theme)
|
||||
endif
|
||||
execute("colorscheme " . g:dark_theme)
|
||||
let g:theme_color = 'dark'
|
||||
endfunction
|
||||
|
||||
function! SetLightTheme()
|
||||
set background=light
|
||||
if g:light_theme != ""
|
||||
execute("colorscheme " . g:light_theme)
|
||||
endif
|
||||
execute("colorscheme " . g:light_theme)
|
||||
let g:theme_color = 'light'
|
||||
endfunction
|
||||
|
||||
|
||||
+7
-7
@@ -132,7 +132,7 @@ setup_vimplug() {
|
||||
"+qall"
|
||||
|
||||
export SHELL="$system_shell"
|
||||
success "plugins updated/installed using vim-plug"
|
||||
success "Plugins' updated/installed using vim-plug"
|
||||
}
|
||||
|
||||
set_up_nvim() {
|
||||
@@ -148,9 +148,9 @@ set_up_nvim() {
|
||||
echo "set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath=&runtimepath
|
||||
source ~/.vimrc" > $nvim_config
|
||||
success "neovim config setup successed"
|
||||
success "Neovim config setup successed"
|
||||
else
|
||||
fail "neovim config is not setup(neovim not installed)"
|
||||
fail "Neovim config is not setup(neovim not installed)"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -158,9 +158,9 @@ set_up_tmux() {
|
||||
if program_exists "tmux"; then
|
||||
backup_file "$HOME/.tmux.conf"
|
||||
try_symlink "$APP_PATH/.tmux.conf" "$HOME/.tmux.conf" && \
|
||||
success "tmux config setup successed"
|
||||
success "Tmux config setup successed"
|
||||
else
|
||||
fail "tmux config is not setup(tmux not installed)"
|
||||
fail "Tmux config is not setup(tmux not installed)"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ set_up_bash_tool(){
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
success "terminal configuration is sourced in zsh"
|
||||
success "Terminal configuration is sourced in zsh"
|
||||
fi
|
||||
|
||||
if program_exists "bash"; then
|
||||
@@ -227,7 +227,7 @@ set_up_bash_tool(){
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
success "terminal configuration is sourced in bash"
|
||||
success "Terminal configuration is sourced in bash"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user