zsh: add ec
This commit is contained in:
parent
7a97b66166
commit
edb443270c
11
zsh/.zshrc
11
zsh/.zshrc
|
@ -63,8 +63,8 @@ export PAGER=less
|
|||
export XCURSOR_THEME=capitaine-cursors
|
||||
export GTK_THEME=materia-custom-accent:dark
|
||||
|
||||
esway &> .swaylog
|
||||
# ei3 &> .i3log
|
||||
# esway &> .swaylog
|
||||
ei3 &> .i3log
|
||||
# ebsp &> .bsplog
|
||||
fi
|
||||
fi
|
||||
|
@ -205,6 +205,13 @@ preexec() { echo -ne '\e[5 q' ;}
|
|||
}
|
||||
bindkey -s '^o' 'rcd\n'
|
||||
|
||||
ec(){
|
||||
cd ~/.config
|
||||
TMP=$(fzf)
|
||||
[ -n "$TMP" ] && nvim $TMP
|
||||
cd -
|
||||
}
|
||||
|
||||
# }}}
|
||||
# Keys. {{{
|
||||
#
|
||||
|
|
Reference in New Issue