mirror of
https://github.com/zedsalim/debian-z.git
synced 2026-04-22 14:19:37 +00:00
Updates
This commit is contained in:
parent
320d80fbe0
commit
626d55a2fa
45 changed files with 182 additions and 64 deletions
|
|
@ -85,9 +85,9 @@ ext x?html?, has w3m, terminal = w3m "$@"
|
|||
# Misc
|
||||
#-------------------------------------------
|
||||
# Define the "editor" for text files as first action
|
||||
mime ^text, label editor = ${VISUAL:-vim} -- "$@"
|
||||
mime ^text, label editor = ${VISUAL:-nvim} -- "$@"
|
||||
mime ^text, label pager = "$PAGER" -- "$@"
|
||||
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-vim} -- "$@"
|
||||
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-nvim} -- "$@"
|
||||
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
||||
|
||||
ext 1 = man "$1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue