Compare commits
No commits in common. "281ea9f354bbfb6198f5508f666ad6165ca4a726" and "cfe15e5e1b2dd21f52bb6a7b0d8f62bfb290b530" have entirely different histories.
281ea9f354
...
cfe15e5e1b
5 changed files with 3 additions and 17 deletions
2
.zimrc
2
.zimrc
|
@ -7,7 +7,6 @@ zmodule crater2150-zsh/chroma-z
|
||||||
zmodule $ZDOTDIR/plugins/tmpsrc
|
zmodule $ZDOTDIR/plugins/tmpsrc
|
||||||
zmodule $ZDOTDIR/plugins/pyenv
|
zmodule $ZDOTDIR/plugins/pyenv
|
||||||
zmodule $ZDOTDIR/plugins/cs-java-home
|
zmodule $ZDOTDIR/plugins/cs-java-home
|
||||||
zmodule $ZDOTDIR/plugins/atuin
|
|
||||||
|
|
||||||
zmodule $ZDOTDIR/plugins/highlight-config
|
zmodule $ZDOTDIR/plugins/highlight-config
|
||||||
zmodule zsh-users/zsh-syntax-highlighting
|
zmodule zsh-users/zsh-syntax-highlighting
|
||||||
|
@ -15,4 +14,3 @@ zmodule zsh-users/zsh-syntax-highlighting
|
||||||
zmodule ohmyzsh/ohmyzsh --root plugins/ng --fpath ./
|
zmodule ohmyzsh/ohmyzsh --root plugins/ng --fpath ./
|
||||||
|
|
||||||
zmodule carlosedp/mill-zsh-completions
|
zmodule carlosedp/mill-zsh-completions
|
||||||
zmodule zsh-users/zsh-autosuggestions
|
|
||||||
|
|
|
@ -98,17 +98,11 @@ bindkey "\ev" zle-venv
|
||||||
|
|
||||||
# Map widgets to key
|
# Map widgets to key
|
||||||
bindkey "\ec" fzf-change-directory
|
bindkey "\ec" fzf-change-directory
|
||||||
|
bindkey "^r" fzf-insert-history
|
||||||
bindkey "^xf" fzf-insert-files
|
bindkey "^xf" fzf-insert-files
|
||||||
bindkey "^xd" fzf-insert-directory
|
bindkey "^xd" fzf-insert-directory
|
||||||
bindkey "^xn" fzf-insert-named-directory
|
bindkey "^xn" fzf-insert-named-directory
|
||||||
|
|
||||||
if [[ $+commands[atuin] == 1 ]]; then
|
|
||||||
bindkey -M viins '^r' atuin-search-viins
|
|
||||||
bindkey -M vicmd '/' atuin-search
|
|
||||||
else
|
|
||||||
bindkey "^r" fzf-insert-history
|
|
||||||
fi
|
|
||||||
|
|
||||||
FZF_CHANGE_DIR_FIND_COMMAND="fd -t d"
|
FZF_CHANGE_DIR_FIND_COMMAND="fd -t d"
|
||||||
FZF_INSERT_DIR_COMMAND="fd -t d"
|
FZF_INSERT_DIR_COMMAND="fd -t d"
|
||||||
FZF_INSERT_FILES_COMMAND="fd -t f"
|
FZF_INSERT_FILES_COMMAND="fd -t f"
|
||||||
|
|
1
confs
1
confs
|
@ -19,4 +19,3 @@ xd $XDG_CONFIG_HOME/xd.conf
|
||||||
zsh $ZDOTDIR
|
zsh $ZDOTDIR
|
||||||
kitty $XDG_CONFIG_HOME/kitty/kitty.conf
|
kitty $XDG_CONFIG_HOME/kitty/kitty.conf
|
||||||
kitty-sessions $XDG_CONFIG_HOME/kitty/sessions
|
kitty-sessions $XDG_CONFIG_HOME/kitty/sessions
|
||||||
atuin $XDG_CONFIG_HOME/atuin/config.toml
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
local FOUND_ATUIN=$+commands[atuin]
|
|
||||||
|
|
||||||
if [[ $FOUND_ATUIN -eq 1 ]]; then
|
|
||||||
source <(atuin init zsh --disable-up-arrow)
|
|
||||||
fi
|
|
4
zshrc
4
zshrc
|
@ -102,8 +102,8 @@ exists thefuck && eval $(thefuck --alias)
|
||||||
|
|
||||||
if [[ -e $HOME/.calendars ]]; then
|
if [[ -e $HOME/.calendars ]]; then
|
||||||
_prompt_todos() {
|
_prompt_todos() {
|
||||||
local todos=( ${(u)$( rg -l '^STATUS:NEEDS-ACTION' $HOME/.calendars ):t} )
|
local todos=$(rg -l '^STATUS:NEEDS-ACTION' $HOME/.calendars | wc -l)
|
||||||
[[ $#todos -gt 0 ]] && echo "Todos: $#todos"
|
[[ $todos -gt 0 ]] && echo "Todos: $todos"
|
||||||
}
|
}
|
||||||
__chromaz_extra_left+=_prompt_todos
|
__chromaz_extra_left+=_prompt_todos
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue