diff options
-rw-r--r-- | vim/.netrwhist | 3 | ||||
-rw-r--r-- | zshrc | 31 |
2 files changed, 24 insertions, 10 deletions
diff --git a/vim/.netrwhist b/vim/.netrwhist index 87b6bdf..5793e91 100644 --- a/vim/.netrwhist +++ b/vim/.netrwhist @@ -1,5 +1,6 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =3 +let g:netrw_dirhist_cnt =4 let g:netrw_dirhist_1='/home/urbain/Dropbox/phd/code/spectral/feature' let g:netrw_dirhist_2='/home/urbain/Dropbox/phd/code/spectral/feature/src' let g:netrw_dirhist_3='/home/urbain/Dropbox/phd/code/spectral/develop/python' +let g:netrw_dirhist_4='/home/urbain/.antigen' @@ -8,15 +8,21 @@ if ! zgen saved; then # Load oh-my-zsh framework zgen oh-my-zsh - # Plugins + # Oh-my-zsh plugins zgen oh-my-zsh plugins/git zgen oh-my-zsh plugins/vi-mode zgen oh-my-zsh plugins/ubuntu zgen oh-my-zsh plugins/tmux - zgen rupa/z - # Load completion + # zsh-users plugins zgen load zsh-users/zsh-completions src + zgen load zsh-users/zsh-syntax-highlighting + + # Other plugins + zgen load rupa/z + zgen load tarruda/zsh-autosuggestions + zgen load Tarrasch/zsh-autoenv + zgen load uvaes/fzf-marks plugin develop # Theme zgen oh-my-zsh themes/eastwood @@ -25,6 +31,19 @@ if ! zgen saved; then zgen save fi +# Plugins configuration + +# Autosuggestion +AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=6' +bindkey '^y' autosuggest-execute-suggestion +zle-line-init() { + zle autosuggest-start +} +zle -N zle-line-init + +# Fzf-marks +bindkey '^g' fzf-marks-navigate + # User configuration export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" @@ -120,9 +139,6 @@ fshow() { [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh -# Set programmer dvorak -# xrdb ~/.Xresources - TERM=xterm-256color if [[ -n ${TMUX} && -n ${commands[tmux]} ]];then @@ -134,6 +150,3 @@ if [[ -n ${TMUX} && -n ${commands[tmux]} ]];then TERM=screen esac fi - -# Load external scripts -source ~/github/fzf-marks/fzf-marks.zsh |