summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-22 13:28:37 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-22 13:28:44 +0200
commit56bbfce22cc0f0b567f650167f82ce3f7d90e625 (patch)
tree490dd7ed046f515aabb06aeadd8a16bcdda8f898 /config
parent7778716142a2bbe688fcbf0fa73e4c8f06a38c17 (diff)
checkpoint
Diffstat (limited to 'config')
-rw-r--r--config/common/mpv/input.conf3
-rw-r--r--config/essentials/shell/functions.sh9
-rw-r--r--config/essentials/zsh/comp.zsh2
3 files changed, 5 insertions, 9 deletions
diff --git a/config/common/mpv/input.conf b/config/common/mpv/input.conf
index 1999437..d51ff2f 100644
--- a/config/common/mpv/input.conf
+++ b/config/common/mpv/input.conf
@@ -206,7 +206,8 @@ j add volume -5
k add volume 5
# Subtitles
-S cycle sub # switch subtitle track up-order
+S cycle sub
+s screenshot video
ctrl+s cycle sub-visibility # Toggle subtitles
# Cycle audio tracks
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh
index 46f2a7e..d564a1f 100644
--- a/config/essentials/shell/functions.sh
+++ b/config/essentials/shell/functions.sh
@@ -68,12 +68,8 @@ sms() { ssh -t phone sendmsg "$1" "'$2'"; }
trcp() { scp "$1" db:/media/basilisk/downloads/transmission/torrents/; }
rln() { ln -s "$(readlink -f "$1")" "$2"; }
getgit() { git clone git@db:"$1"; }
-
esc() { eval "$EDITOR '$(which $1)'"; }
-if [ $SHELL = "/bin/zsh" ]
-then
- compdef esc="which"
-fi
+gccg() { gcc -g -Wall -pedantic -std=c99 -o ${1%.c} $@; }
delfile() { curl -s "${2:-https://upfast.cronyakatsuki.xyz/delete/$1}"; }
upfile() { curl -s -F "file=@\"$1\"" "${2:-https://0x0.st}"; }
@@ -400,6 +396,3 @@ ssh() {
/usr/bin/ssh $@
}
-gccg() {
- gcc -g -Wall -pedantic -std=c99 -o ${1%.c} $@
-}
diff --git a/config/essentials/zsh/comp.zsh b/config/essentials/zsh/comp.zsh
index 19440e0..999025f 100644
--- a/config/essentials/zsh/comp.zsh
+++ b/config/essentials/zsh/comp.zsh
@@ -86,3 +86,5 @@ _go_flag_complete() {
compdef _gnu_generic cpp sqlplus apropos
compdef _gnu_generic air
compdef _go_flag_complete wbr
+compdef esc="which"
+compdef gdbcore="which"