diff --git a/.zshrc b/.zshrc index d30fa86..6a812a4 100644 --- a/.zshrc +++ b/.zshrc @@ -246,15 +246,16 @@ compdef hg=rg local nnn_plug=( 'b:-!bat --paging=always "$nnn"*' - 'd:fzcd' - 'z:fzopen' - 'm:mimelist' + 'd:fzcd' # fzf-select a file & cd to its folder + 'z:fzopen' # fzf-select a file & open it + 'm:mimelist' # List files corresponding to given mime type 'o:-!mimeopen "$nnn"*' 'O:-!mimeopen --ask "$nnn"*' - 'U:umounttree' + 'U:umounttree' # Un-mount from any subdir ';:-!clear*' - # TODO Dump trash + 't:-!trash-list | rg --color=always $PWD | less *' # Dump files trashed at PWD (date order) + 'T:-!trash-list | rg --color=always $PWD | sort -k3 | less *' # Dump files trashed at PWD (name order) ) n()