dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2c1c1e98c6c7c3d484a8bc95190be969646e1ccc
parent c12699e0696c198c468d6980748df75981128424
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 17 Jul 2019 10:42:50 +0200

Update display binds, fix latex snippets, add sudo editor alias

Diffstat:
M.commands.sh | 1+
M.config/sxhkd/sxhkdrc | 4++--
M.config/vis/plugins/snippets.lua | 3+++
3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.commands.sh b/.commands.sh @@ -5,6 +5,7 @@ alias b='bash' alias z='zsh' alias e='$EDITOR' +alias se='sudo $EDITOR' alias n='nnn' alias sx="sxiv -ft *" alias youtube-dl='youtube-dl -f bestvideo+bestaudio/best --all-subs --embed-subs' diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -32,9 +32,9 @@ super + Print super + {Print,Delete} dmenurecord {,kill} XF86Launch1 - xrandr --auto --output LVDS1 --scale 1.0x1.0; xbacklight -set 100 + xrandr --auto; xbacklight -set 100 shift + XF86Launch1 - xrandr --auto --output LVDS1 --scale 1.0x1.0; xbacklight -set 1 + xrandr --auto; xbacklight -set 1 super + F5 $TERMINAL -e nmtui-connect #$TERMINAL -e sudo wpa_cli diff --git a/.config/vis/plugins/snippets.lua b/.config/vis/plugins/snippets.lua @@ -15,6 +15,9 @@ local snippets = { aa = 'å', AA = 'Å', q = "\\emph{``<1>''}", + i = '\\item ', + l = '\\label{<1>}', + r = '\\ref{<1>}', sig = '<1>\n\n-- \n' .. 'Anders Damsgaard\n' .. '--\n' ..