diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index c1adb0c..99eea66 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -1,11 +1,11 @@ # Set Default Font font: normal: - family: CaskaydiaCove Nerd Font + family: CaskaydiaCove Nerd Font style: Regular bold: - family: CaskaydiaCove Nerd Font + family: CaskaydiaCove Nerd Font style: Bold italic: @@ -13,7 +13,7 @@ font: style: Italic bold_italic: - family: CaskaydiaCove Nerd Font + family: CaskaydiaCove Nerd Font style: Bold Italic # Color Schemes diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 81a7e6d..723c6f5 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,5 +1,21 @@ +" Use 24-bit (true-color) mode in Vim/Neovim when outside tmux. +" If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support +" (see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.) +if (empty($TMUX)) + if (has("nvim")) + " For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 > + let $NVIM_TUI_ENABLE_TRUE_COLOR=1 + endif + " For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 > + " Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd > + " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 > + if (has("termguicolors")) + set termguicolors + endif +endif + " Shortcuts -map :NERDTreeToggle +nnoremap o :NERDTreeToggle nnoremap s :TagbarToggle " Remove Highlight @@ -29,7 +45,6 @@ inoremap coc#refresh() " coc.nvim quick fix nmap qf (coc-fix-current) - " Use tab for trigger completion with characters ahead and navigate. " Used by coc.nvim inoremap @@ -66,7 +81,7 @@ endfunction " CoC Status in LightLine " Used by coc.nvim lightline.nvim let g:lightline = { - \ 'colorscheme': 'molokai', + \ 'colorscheme': 'one', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'cocstatus', 'readonly', 'filename', 'modified' ] ] @@ -94,11 +109,18 @@ nnoremap c :CocList commands " Plugged Plugins call plug#begin(stdpath('data') . '/plugged') -" Activity Tracking -" Plug 'ActivityWatch/aw-watcher-vim' + +" Blue Theme +Plug 'wadackel/vim-dogrun' + +" Indent Detection +Plug 'tpope/vim-sleuth' " One Dark Theme -Plug 'joshdick/onedark.vim' +Plug 'rakr/vim-one' + +" Activity Tracking +" Plug 'ActivityWatch/aw-watcher-vim' " Monokai Theme Plug 'tomasr/molokai' @@ -146,4 +168,4 @@ let g:rustfmt_autosave = 1 " Configuration set noshowmode " Not Needed because we have Lightline -colorscheme molokai +colorscheme one diff --git a/paoda.zsh b/.paodarc similarity index 80% rename from paoda.zsh rename to .paodarc index 1c8b779..17c4a8b 100644 --- a/paoda.zsh +++ b/.paodarc @@ -22,9 +22,3 @@ dotfile() { # Re-enable reverse-i-search bindkey '^R' history-incremental-search-backward - -# Set Default Editor -export EDITOR="/usr/bin/nvim" - -# Make mpv XDG Compliant -export MPV_HOME=~/.local/share/mpv diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..dbc8076 --- /dev/null +++ b/.zshenv @@ -0,0 +1,9 @@ +# Rust +export PATH="$HOME/.cargo/bin:$PATH" + +# DenoJS +export DENO_INSTALL="/home/paoda/.deno" +export PATH="$DENO_INSTALL/bin:$PATH" + +# Set Default Editor +export EDITOR="/usr/bin/nvim" diff --git a/.zshrc b/.zshrc index 03d98af..04a3761 100644 --- a/.zshrc +++ b/.zshrc @@ -81,8 +81,6 @@ plugins=(git) # .zhistory not .zsh_history export HISTFILE=$HOME/.zhistory - - source $ZSH/oh-my-zsh.sh # User configuration @@ -112,7 +110,7 @@ source $ZSH/oh-my-zsh.sh # alias ohmyzsh="mate ~/.oh-my-zsh" # Source Personal Config -source ~/paoda.zsh +source ~/.paodarc # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh