aboutsummaryrefslogtreecommitdiff
path: root/TMV/.config
diff options
context:
space:
mode:
Diffstat (limited to 'TMV/.config')
-rw-r--r--TMV/.config/aliasrc20
-rw-r--r--TMV/.config/inputrc19
-rw-r--r--TMV/.config/mpv/mpv.conf1
3 files changed, 38 insertions, 2 deletions
diff --git a/TMV/.config/aliasrc b/TMV/.config/aliasrc
index d829289..1a29907 100644
--- a/TMV/.config/aliasrc
+++ b/TMV/.config/aliasrc
@@ -1,5 +1,6 @@
#!/bin/sh
-mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
+
+alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
xi="sudo xbps-install" \
xr="sudo xbps-remove" \
xq="xbps-query" \
@@ -7,6 +8,21 @@ mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
ls="ls -hN --color=auto --group-directories-first" \
grep="grep --color=auto" \
diff="diff --color=auto" \
- ffmpeg="ffmpeg -hide_banner"
+ ffmpeg="ffmpeg -hide_banner" \
+ cat='bat' \
+ bat_pow='sudo upower -i /org/freedesktop/UPower/devices/battery_BAT0' \
+ la='ls -A' \
+ l='ls' \
+ ll='ls -l' \
+ display='sxiv' \
+ xbacklight='sudo xbacklight' \
+ nox='user_nox.py' \
+ incendio='user_incendio.py' \
+ imperio='sudo user_imperio.py' \
+ ipconfig='curl ipconfig.io' \
+ cp='cp -v' \
+ mv='mv -v' \
+ mkdir='mkdir -pv' \
+ rmac='rmac.py'
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.
diff --git a/TMV/.config/inputrc b/TMV/.config/inputrc
new file mode 100644
index 0000000..f9b94dd
--- /dev/null
+++ b/TMV/.config/inputrc
@@ -0,0 +1,19 @@
+$include /etc/inputrc
+set editing-mode vi
+$if mode=vi
+
+set show-mode-in-prompt on
+set vi-ins-mode-string \1\e[6 q\2
+set vi-cmd-mode-string \1\e[2 q\2
+
+set keymap vi-command
+# these are for vi-command mode
+Control-l: clear-screen
+Control-a: beginning-of-line
+
+set keymap vi-insert
+# these are for vi-insert mode
+Control-l: clear-screen
+Control-a: beginning-of-line
+
+$endif
diff --git a/TMV/.config/mpv/mpv.conf b/TMV/.config/mpv/mpv.conf
new file mode 100644
index 0000000..ff66aed
--- /dev/null
+++ b/TMV/.config/mpv/mpv.conf
@@ -0,0 +1 @@
+save-position-on-quit