mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update vim, git, tmux, migrate to light theme
This commit is contained in:
parent
72c267b784
commit
04331d3e94
16 changed files with 181 additions and 229 deletions
|
|
@ -1,21 +1,23 @@
|
|||
# vim: ft=cfg
|
||||
#== Websites
|
||||
ext x?html?, has google-chrome, X, flag f = google-chrome "$@"
|
||||
ext x?html?, has firefox, X, flag f = firefox -- "$@"
|
||||
ext x?html?, has qutebrowser, X, flag f = qutebrowser -- "$@"
|
||||
# vim:ft=cfg
|
||||
|
||||
#== Web
|
||||
ext x?html?, has google-chrome, X, flag f = google-chrome $@
|
||||
ext x?html?, has firefox, X, flag f = firefox -- "$@"
|
||||
|
||||
#== Script
|
||||
ext py = python -- "$1"
|
||||
ext js = node -- "$1"
|
||||
ext sh = bash -- "$1"
|
||||
|
||||
#== Misc
|
||||
mime ^text, label editor = ${EDITOR} -- "$@"
|
||||
mime ^text, label pager = "$PAGER" -- "$@"
|
||||
#mime ^text, lable editor = $EDITOR -- "$@"
|
||||
#mime ^text, label pager = $PAGER -- "$@"
|
||||
|
||||
|
||||
!mime ^text, label editor, ext json|csv|tex|py|rb|js|sh = ${EDITOR} -- "$@"
|
||||
!mime ^text, label pager, ext json|csv|tex|py|rb|js|sh = "$PAGER" -- "$@"
|
||||
name ^[mM]akefile$ = make
|
||||
|
||||
#== Scripts
|
||||
ext py = python -- "$1"
|
||||
ext rb = ruby -- "$1"
|
||||
ext js = node -- "$1"
|
||||
ext sh = sh -- "$1"
|
||||
|
||||
#== Video/Audio
|
||||
mime ^video, has mpv, X, flag f = mpv -- "$@"
|
||||
|
|
@ -48,7 +50,3 @@ ext zip, has unzip = unzip -l "$1" | less
|
|||
ext zip, has unzip = for file in "$@"; do unzip -d "${file%.*}" "$file"; done
|
||||
ext rar, has unrar = unrar l "$1" | less
|
||||
ext rar, has unrar = for file in "$@"; do unrar x "$file"; done
|
||||
|
||||
#== Terminals
|
||||
mime ^ranger/x-terminal-emulator, has kitty = kitty -- "$@"
|
||||
mime ^ranger/x-terminal-emulator, has alacritty = alacritty -e "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue