diff --git a/.bashrc b/.bashrc index 6cfeaed..a819ea3 100755 --- a/.bashrc +++ b/.bashrc @@ -1,11 +1,12 @@ [[ $- != *i* ]] && return set -o vi +stty -ixon -unset HISTFILE -export LESSHISTFILE=- export PYTHONSTARTUP=~/.pythonrc export XAUTHORITY=~/.cache/.Xauthority +export WINEPREFIX="$HOME/.wine_osu" +export WINEARCH=win32 # Import colorscheme from "wal" asynchronously # & # Run the process in the background. @@ -24,34 +25,12 @@ alias installed_packages="comm -23 <(pacman -Qeq | sort) <(pacman -Qgq base base alias unused_packages="pacman -Qtdq" alias piavpn="sh /opt/pia/run.sh > /dev/null 2>&1 &" - -bind_amd() { - modprobe vfio - modprobe vfio_pci - - # VGA - echo '0000:01:00.0' > /sys/bus/pci/devices/0000:01:00.0/driver/unbind - echo '1002 67b1' > /sys/bus/pci/drivers/vfio-pci/new_id - echo '0000:01:00.0' > /sys/bus/pci/devices/0000:01:00.0/driver/bind - echo '1002 67b1' > /sys/bus/pci/drivers/vfio-pci/remove_id - - # Audio - echo '0000:01:00.1' > /sys/bus/pci/devices/0000:01:00.1/driver/unbind - echo '1002 aac8' > /sys/bus/pci/drivers/vfio-pci/new_id - echo '0000:01:00.1' > /sys/bus/pci/devices/0000:01:00.1/driver/bind - echo '1002 aac8' > /sys/bus/pci/drivers/vfio-pci/remove_id - - sleep 1 -} - - -unbind_amd() { - echo 1 > /sys/bus/pci/devices/0000:01:00.0/remove - echo 1 > /sys/bus/pci/devices/0000:01:00.1/remove - echo 1 > /sys/bus/pci/rescan - - sleep 1 -} +alias multimc="vblank_mode=0 multimc" +alias osu="wine ~/.wine_osu/drive_c/Program\ Files/osu\!/osu\!.exe" +alias osud="cd ~/.wine_osu/drive_c/Program\ Files/osu\!/" +alias sleep="systemctl suspend" +alias mop6="sudo go-mtpfs /home/josh/OP6 &" +alias umop6="sudo fusermount -u /home/josh/OP6" PS1="\u@\h:\w \$ " diff --git a/.config/Mumble/Mumble.conf b/.config/Mumble/Mumble.conf index 2a5ce3e..a827b6f 100755 --- a/.config/Mumble/Mumble.conf +++ b/.config/Mumble/Mumble.conf @@ -8,27 +8,30 @@ blacklist=@Invalid() whitelist=@Invalid() [audio] -vadmin=@Variant(\0\0\0\x87>\xe2\xcd\xc6) -vadmax=@Variant(\0\0\0\x87?\a\xcf\x10) +vadmin=@Variant(\0\0\0\x87?'%N) +vadmax=@Variant(\0\0\0\x87?$\xa9I) echomulti=false input=PulseAudio output=PulseAudio attenuateothers=false +volume=@Variant(\0\0\0\x87@\0\0\0) +quality=64000 +voicehold=40 [net] region=ee.mumble.info -certificate="@ByteArray(0\x82\tG\x2\x1\x3\x30\x82\t\x11\x6\t*\x86H\x86\xf7\r\x1\a\x1\xa0\x82\t\x2\x4\x82\b\xfe\x30\x82\b\xfa\x30\x82\x3\xad\x6\t*\x86H\x86\xf7\r\x1\a\x1\xa0\x82\x3\x9e\x4\x82\x3\x9a\x30\x82\x3\x96\x30\x82\x3\x92\x6\v*\x86H\x86\xf7\r\x1\f\n\x1\x3\xa0\x82\x3+0\x82\x3'\x6\n*\x86H\x86\xf7\r\x1\t\x16\x1\xa0\x82\x3\x17\x4\x82\x3\x13\x30\x82\x3\xf\x30\x82\x1\xf7\xa0\x3\x2\x1\x2\x2\x1\x1\x30\r\x6\t*\x86H\x86\xf7\r\x1\x1\x5\x5\0\x30\x16\x31\x14\x30\x12\x6\x3U\x4\x3\f\vMumble User0\x1e\x17\r180821151931Z\x17\r380816151931Z0\x16\x31\x14\x30\x12\x6\x3U\x4\x3\f\vMumble User0\x82\x1\"0\r\x6\t*\x86H\x86\xf7\r\x1\x1\x1\x5\0\x3\x82\x1\xf\0\x30\x82\x1\n\x2\x82\x1\x1\0\xd1\xd8W\f\xf4\x7f\xe8>!S\xfa\x95\x64M\x88w\x8e,j)\xd7V?\xbe\xdfU\xc5\x33\x9aQ&o\xa8\x4\xa0W\x14\xe8;\xa9\x34\xaf\xdf\xc4\xc9\a\xbc\xa1\x8by\nM\xe0\xdf\xb7\x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xe8\xadPv1\x9fo<\x88\xc1\xeb\x1f\a\x17\x2\x81\x80\x15\xe9\n:\x95\xacP\x8f\xc6\xce\xc6\x1e\xde\x3\xb1\x81\x96ni\xccz\x92\x1d'^\xd6\x96\xe3\xe4Uxs\xa4\x44\xad\x7f\x43\xf1\x18p?\x19\xdd\xcf\x10\v\xf\x33(\xfflq!\xd6\x87\xfa\x12\x92q\x89\x7f\xb0\xc4\xe1\x1e\xf5:\xb3\x41z^|[\xc1Ij\xc3)\n+qA\xb0n\x17\x1e\x1c\xd1\xe2ij_>\xd4\x46\xf3\xb7\"\x6&E\x7fH`\x94\xb4\xbd\x92;\x2\x81\x81\0\xac\x8d\xc6]6L\x19\x1e\x36\xfe\x13\xdd\xfc\xd0Z\xdc\x95 \x1a\xad\x80\x46l\x11\xad!4y\xce\0\xa0?y\\\x9e\xb4\f\na\xfbn\x89U\a\xe8\xddm\x18:\xf4u\xe6\xf5\x61\x87\x80\x46\xa1\xe\xd4R|i+v\x4\x7f>\xbcxG\xe6\xepm\xd3\x89\n\v\"@\x14\x80\xb8\x11Vd\xa5\xd9\xfb\xddIV\xb5;\xc1\xfc\x87\xca\x10Q\x1f\xdeI\xe6\x63\xee\x3Xz\xc1\x1f\x18\v\xbf\x32\x4\xc2\xeb\xf7\xfe\xab\xca\xc5\x15\x91\xafi1T0#\x6\t*\x86H\x86\xf7\r\x1\t\x15\x31\x16\x4\x14\xfb}Xxh\xe6\xd3\x4\xb5\xf4J%6L|>\xce\xe3\xa8\x66\x30-\x6\t*\x86H\x86\xf7\r\x1\t\x14\x31 \x1e\x1e\0M\0u\0m\0\x62\0l\0\x65\0 \0I\0\x64\0\x65\0n\0t\0i\0t\0y0-0!0\t\x6\x5+\xe\x3\x2\x1a\x5\0\x4\x14\x97'\b\xb8\x19\x8d\xa8~K\r\xf6%\xab\x87S\xad\x35-'\xeb\x4\bo\0\xee\x45\x94\xa2\x15\x39)" +certificate="@ByteArray(0\x82\tG\x2\x1\x3\x30\x82\t\x11\x6\t*\x86H\x86\xf7\r\x1\a\x1\xa0\x82\t\x2\x4\x82\b\xfe\x30\x82\b\xfa\x30\x82\x3\xad\x6\t*\x86H\x86\xf7\r\x1\a\x1\xa0\x82\x3\x9e\x4\x82\x3\x9a\x30\x82\x3\x96\x30\x82\x3\x92\x6\v*\x86H\x86\xf7\r\x1\f\n\x1\x3\xa0\x82\x3+0\x82\x3'\x6\n*\x86H\x86\xf7\r\x1\t\x16\x1\xa0\x82\x3\x17\x4\x82\x3\x13\x30\x82\x3\xf\x30\x82\x1\xf7\xa0\x3\x2\x1\x2\x2\x1\x1\x30\r\x6\t*\x86H\x86\xf7\r\x1\x1\x5\x5\0\x30\x16\x31\x14\x30\x12\x6\x3U\x4\x3\f\vMumble User0\x1e\x17\r180821151931Z\x17\r380816151931Z0\x16\x31\x14\x30\x12\x6\x3U\x4\x3\f\vMumble User0\x82\x1\"0\r\x6\t*\x86H\x86\xf7\r\x1\x1\x1\x5\0\x3\x82\x1\xf\0\x30\x82\x1\n\x2\x82\x1\x1\0\xd1\xd8W\f\xf4\x7f\xe8>!S\xfa\x95\x64M\x88w\x8e,j)\xd7V?\xbe\xdfU\xc5\x33\x9aQ&o\xa8\x4\xa0W\x14\xe8;\xa9\x34\xaf\xdf\xc4\xc9\a\xbc\xa1\x8by\nM\xe0\xdf\xb7\xaa\xda\xb2kT\x8d\x8c\x4\\\x92\xd0\xd6\xc4\xdd\xab\xe5\x33\xca\xdek\xc1`'\xd7\xfd\xbd\x2\xa6+-:\x89\xb1[A\xdf\xcb\xc0R\xfeRFW\xbe\x61y\xf5x&\xde\xcd\x1\xf3\x84\x11\x87\aFm\xfb\xa6\x95\xe2;ME\xc8\xf6\xcdJF!_\xf4\"I\x91M\xf9h\f\x11\x44\x93\xbf\x4P\xcc\xe0\xce\xe2\x83Gl\x83\xf0g|\xac\x19\xe4$]\xff\x86u\x10\b\"\xa6\xedqS\xc9\xe7\x1\x46L\xe3\x63\xf6\xfa\x88\xb8\xcey\t\x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x81\0\xac\x8d\xc6]6L\x19\x1e\x36\xfe\x13\xdd\xfc\xd0Z\xdc\x95 \x1a\xad\x80\x46l\x11\xad!4y\xce\0\xa0?y\\\x9e\xb4\f\na\xfbn\x89U\a\xe8\xddm\x18:\xf4u\xe6\xf5\x61\x87\x80\x46\xa1\xe\xd4R|i+v\x4\x7f>\xbcxG\xe6\xepm\xd3\x89\n\v\"@\x14\x80\xb8\x11Vd\xa5\xd9\xfb\xddIV\xb5;\xc1\xfc\x87\xca\x10Q\x1f\xdeI\xe6\x63\xee\x3Xz\xc1\x1f\x18\v\xbf\x32\x4\xc2\xeb\xf7\xfe\xab\xca\xc5\x15\x91\xafi1T0#\x6\t*\x86H\x86\xf7\r\x1\t\x15\x31\x16\x4\x14\xfb}Xxh\xe6\xd3\x4\xb5\xf4J%6L|>\xce\xe3\xa8\x66\x30-\x6\t*\x86H\x86\xf7\r\x1\t\x14\x31 \x1e\x1e\0M\0u\0m\0\x62\0l\0\x65\0 \0I\0\x64\0\x65\0n\0t\0i\0t\0y0-0!0\t\x6\x5+\xe\x3\x2\x1a\x5\0\x4\x14:\xcd\x93\xf\x88\x18\xa0\x37\xcf#\x2\x15U\x81P\xf3\xe7qY\x9c\x4\b\xd3\x16\xb3\xe8\x36\xe9\xdd\x95)" [ui] expert=true style=GTK+ -geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x5\x5\0\0\0\x1f\0\0\au\0\0\x4-\0\0\x5\x6\0\0\0 \0\0\at\0\0\x4,\0\0\0\x1\0\0)" -state="@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\0\0\0\x1\0\0\0\x3\xd0\xfc\x2\0\0\0\x2\xfb\0\0\0\f\0q\0\x64\0w\0L\0o\0g\x1\0\0\0=\0\0\x3\xb3\0\0\0K\0\xff\xff\xff\xfb\0\0\0\xe\0q\0\x64\0w\0\x43\0h\0\x61\0t\x1\0\0\x3\xf6\0\0\0\x17\0\0\0\x17\0\0\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\0\0\0\x1\x1\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x1\0\0\x2\xad\0\0\0\x1\0\0\0\0) server=graph -connect\geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x2\xa7\0\0\x1x\0\0\x4\xe4\0\0\x2\xe5\0\0\x2\xa7\0\0\x1x\0\0\x4\xe4\0\0\x2\xe5\0\0\0\x1\0\0) -connect\header=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2&\0\0\0\x3\x1\x1\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x3\0\0\x1\x9b\0\0\0\x1\0\0\0\x1\0\0\0\x41\0\0\0\x1\0\0\0\x3\0\0\0J\0\0\0\x1\0\0\0\x3) -ConfigGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x2/\0\0\0\xbb\0\0\x5P\0\0\x3\xa4\0\0\x2\x31\0\0\0\xbb\0\0\x5N\0\0\x3\xa2\0\0\0\x1\0\0) +connect\geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\a\x82\0\0\x1x\0\0\t\xbf\0\0\x2\xe5\0\0\a\x82\0\0\x1x\0\0\t\xbf\0\0\x2\xe5\0\0\0\0\0\0) +connect\header=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2&\0\0\0\x3\x1\x1\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x3\0\0\x1\x9a\0\0\0\x1\0\0\0\x1\0\0\0\x41\0\0\0\x1\0\0\0\x3\0\0\0K\0\0\0\x1\0\0\0\x3) +ConfigGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x2/\0\0\0\xbb\0\0\x5R\0\0\x3\xa4\0\0\x2\x31\0\0\0\xbb\0\0\x5P\0\0\x3\xa2\0\0\0\x1\0\0) [shortcuts] size=0 diff --git a/.config/htop/htoprc b/.config/htop/htoprc index ef911da..c7156f1 100755 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -8,7 +8,7 @@ hide_kernel_threads=1 hide_userland_threads=1 shadow_other_users=0 show_thread_names=0 -show_program_path=1 +show_program_path=0 highlight_base_name=1 highlight_megabytes=1 highlight_threads=1 diff --git a/.config/i3/config b/.config/i3/config index 4c4c5b5..36c1ebf 100755 --- a/.config/i3/config +++ b/.config/i3/config @@ -3,15 +3,10 @@ font pango:DejaVu Sans Mono 9 exec_always setxkbmap ee -# ovmf -#exec_always "xrandr --output HDMI1 --mode 2560x1440 --rate 59.95 --output HDMI2 --mode 1920x1080 --rate 59.93 --left-of HDMI1" -# normal -exec_always "xrandr --output HDMI-3 --mode 2560x1440 --rate 59.95 --output DVI-D-1 --mode 1920x1080 --rate 59.93 --left-of HDMI-3" +exec_always "xrandr --output HDMI1 --mode 2560x1440 --rate 59.95 --output HDMI2 --mode 1920x1080 --rate 59.93 --left-of HDMI1" exec_always ~/.scripts/daemons.sh -# NOTE: The '#f0f0f0' in the lines below is the color i3 will use if -# it fails to get colors from Xresources. set_from_resource $fg color7 #f0f0f0 set_from_resource $bg color2 #f0f0f0 @@ -36,6 +31,8 @@ bindsym $mod+Ctrl+q kill bindsym $mod+s exec ~/.scripts/dmenu-run.sh bindsym $mod+Return exec urxvt +bindsym Ctrl+Shift+3 exec flameshot gui + bindsym $mod+F1 exec ~/.scripts/audio.sh toggle-mute bindsym $mod+F2 exec ~/.scripts/audio.sh lower bindsym $mod+F3 exec ~/.scripts/audio.sh raise diff --git a/.config/mpd/database b/.config/mpd/database index 9131895..ef7cc09 100644 Binary files a/.config/mpd/database and b/.config/mpd/database differ diff --git a/.config/mpd/pid b/.config/mpd/pid index 9beea1f..0a1c474 100644 --- a/.config/mpd/pid +++ b/.config/mpd/pid @@ -1 +1 @@ -750 +703 diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf index 2d976f3..011f12c 100755 --- a/.config/mpv/input.conf +++ b/.config/mpv/input.conf @@ -67,6 +67,8 @@ P show-progress Alt+1 set window-scale 0.25 Alt+2 set window-scale 0.5 Alt+3 set window-scale 1.0 +Alt+4 set window-scale 1.25 +Alt+5 set window-scale 1.5 Shift+WHEEL_UP no-osd cycle-values video-rotate "90" "180" "270" "0" Shift+WHEEL_DOWN no-osd cycle-values video-rotate "270" "180" "90" "0" diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index d24149b..36cc4ad 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -7,6 +7,8 @@ map cW bulkrename %s map mkd console mkdir%space map D console delete +map Z shell 7z x %s + map ytv console shell youtube-dl -ic%space map yta console shell youtube-dl -xic%space diff --git a/.scripts/audio.sh b/.scripts/audio.sh index 43e46c5..31d59e4 100755 --- a/.scripts/audio.sh +++ b/.scripts/audio.sh @@ -11,7 +11,7 @@ case $1 in notify-send -t 250 "VOL: $(pamixer --get-volume)" pkill -RTMIN+1 i3blocks ;; -"toggle_mute") +"toggle-mute") pamixer --toggle-mute notify-send -t 250 "MUTE: $(pamixer --get-mute)" ;; diff --git a/.scripts/daemons.sh b/.scripts/daemons.sh index 4055cd9..5ad72a8 100755 --- a/.scripts/daemons.sh +++ b/.scripts/daemons.sh @@ -5,4 +5,5 @@ [[ ! $(pidof mpd) ]] && mpd & [[ ! $(pidof transmission-daemon) ]] && transmission-daemon & [[ ! $(pidof dunst) ]] && dunst & +[[ ! $(pidof flameshot) ]] && flameshot & diff --git a/.scripts/dmenu-mount.sh b/.scripts/dmenu-mount.sh index aa6f51a..6d0a54c 100755 --- a/.scripts/dmenu-mount.sh +++ b/.scripts/dmenu-mount.sh @@ -13,7 +13,7 @@ sudo -A mount "$chosen" && exit 0 # You may want to change the line below for more suggestions for mounting. # I.e. you can increase the depth of the search, or add directories. # This will increase the load time briefly though. -mp="$(find /mnt /media /mount /home -type d -maxdepth 5 2>/dev/null | ~/.scripts/dmen.sh -i -p "Mount point:")" +mp="$(find /mnt /media /mount /home -type d -maxdepth 5 2>/dev/null | ~/.scripts/dmenu.sh -i -p "Mount point:")" [ "$mp" = "" ] && exit 1 if [ ! -d "$mp" ]; then mkdiryn=$(printf "No\\nYes" | ~/.scripts/dmenu.sh -i -p "$mp does not exist. Create it?") diff --git a/.scripts/music.sh b/.scripts/music.sh index 4439c16..9b5ee4b 100755 --- a/.scripts/music.sh +++ b/.scripts/music.sh @@ -1,7 +1,7 @@ #!/bin/bash case $1 in -"toggle") +"toggle-playback") mpc toggle ;; "prev") diff --git a/.scripts/vfioswap.sh b/.scripts/vfioswap.sh index e9f237d..0cd8c77 100755 --- a/.scripts/vfioswap.sh +++ b/.scripts/vfioswap.sh @@ -7,15 +7,20 @@ fi kernel_modules="vfio_pci vfio vfio_iommu_type1 vfio_virqfd" +ovmf_xrandr="xrandr --output HDMI1 --mode 2560x1440 --rate 59.95 --output HDMI2 --mode 1920x1080 --rate 59.93 --left-of HDMI1" +default_xrandr="xrandr --output HDMI-3 --mode 2560x1440 --rate 59.95 --output DVI-D-2 --mode 1920x1080 --rate 59.93 --left-of HDMI-3" + select choice1 in "enable vfio" "disable vfio" "exit"; do case $choice1 in "enable vfio") sudo echo "options vfio-pci ids=1002:67b1,1002:aac8" >> /etc/modprobe.d/vfio.conf sudo sed -i -e "s/MODULES=()/MODULES=($kernel_modules)/g" /etc/mkinitcpio.conf + sed -i -e "s/$default_xrandr/$ovmf_xrandr/g" /home/josh/.config/i3/config break;; "disable vfio") sudo rm /etc/modprobe.d/vfio.conf sudo sed -i -e "s/MODULES=($kernel_modules)/MODULES=()/g" /etc/mkinitcpio.conf + sed -i -e "s/$ovmf_xrandr/$default_xrandr/g" /home/josh/.config/i3/config break;; "exit") exit;; @@ -27,6 +32,17 @@ select choice2 in "yes" "no"; do case $choice2 in "yes") sudo mkinitcpio -p linux + echo "make sure to switch to PEG/IGD in bios" + echo "reboot now?" + select choice2 in "yes" "no"; do + case $choice2 in + "yes") + sudo reboot + break;; + "no") + break;; + esac + done break;; "no") exit;; diff --git a/.vimrc b/.vimrc index e9b4df2..67dd369 100755 --- a/.vimrc +++ b/.vimrc @@ -1,7 +1,51 @@ syntax on set number set tabstop=4 -set autoindent +execute pathogen#infect() +filetype plugin indent on set viminfo= let g:netrw_dirhistmax = 0 +map :!wc % + +inoremap /<++>"_c4l +vnoremap /<++>"_c4l + +autocmd FileType tex inoremap ,fr \begin{frame}\frametitle{}<++>\end{frame}<++>6kf}i +autocmd FileType tex inoremap ,fi \begin{fitch}\end{fitch}<++>3kA +autocmd FileType tex inoremap ,exe \begin{exe}\ex\end{exe}<++>3kA +autocmd FileType tex inoremap ,em \emph{}<++>T{i +autocmd FileType tex inoremap ,bf \textbf{}<++>T{i +autocmd FileType tex vnoremap , ``>2la}?\\{a +autocmd FileType tex inoremap ,it \textit{}<++>T{i +autocmd FileType tex inoremap ,ct \textcite{}<++>T{i +autocmd FileType tex inoremap ,cp \parencite{}<++>T{i +autocmd FileType tex inoremap ,glos {\gll<++>\\<++>\\\trans{``<++>''}}2k2bcw +autocmd FileType tex inoremap ,x \begin{xlist}\ex\end{xlist}kA +autocmd FileType tex inoremap ,ol \begin{enumerate}\end{enumerate}<++>3kA\item +autocmd FileType tex inoremap ,ul \begin{itemize}\end{itemize}<++>3kA\item +autocmd FileType tex inoremap ,li \item +autocmd FileType tex inoremap ,ref \ref{}<++>T{i +autocmd FileType tex inoremap ,tab \begin{tabular}<++>\end{tabular}<++>4kA{}i +autocmd FileType tex inoremap ,ot \begin{tableau}\inp{<++>}\const{<++>}<++><++>\end{tableau}<++>5kA{}i +autocmd FileType tex inoremap ,can \cand{}<++>T{i +autocmd FileType tex inoremap ,con \const{}<++>T{i +autocmd FileType tex inoremap ,v \vio{}<++>T{i +autocmd FileType tex inoremap ,a \href{}{<++>}<++>2T{i +autocmd FileType tex inoremap ,sc \textsc{}<++>T{i +autocmd FileType tex inoremap ,chap \chapter{}<++>2kf}i +autocmd FileType tex inoremap ,sec \section{}<++>2kf}i +autocmd FileType tex inoremap ,ssec \subsection{}<++>2kf}i +autocmd FileType tex inoremap ,sssec \subsubsection{}<++>2kf}i +autocmd FileType tex inoremap ,st F{i*f}i +autocmd FileType tex inoremap ,beg \begin{DELRN}<++>\end{DELRN}<++>4k0fR:MultipleCursorsFindDELRNc +autocmd FileType tex inoremap ,up /usepackageo\usepackage{}i +autocmd FileType tex nnoremap ,up /usepackageo\usepackage{}i +autocmd FileType tex inoremap ,tt \texttt{}<++>T{i +autocmd FileType tex inoremap ,bt {\blindtext} +autocmd FileType tex inoremap ,nu $\varnothing$ +autocmd FileType tex inoremap ,col \begin{columns}[T]\begin{column}{.5\textwidth}\end{column}\begin{column}{.5\textwidth}<++>\end{column}\end{columns}5kA +autocmd FileType tex inoremap ,rn (\ref{})<++>F}i +autocmd FileType tex inoremap ,no \noun{}{<++>}ba +autocmd FileType tex inoremap ,ve \vreb{}{<++>}bh +