feat(nnn): dump trash files
This commit is contained in:
parent
8c8b57ab1c
commit
7d69fd73e2
11
.zshrc
11
.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()
|
||||
|
Loading…
Reference in New Issue
Block a user