diff --git a/i3/config b/i3/config index 5e733e1..962621a 100644 --- a/i3/config +++ b/i3/config @@ -134,7 +134,7 @@ bindsym Mod4+c exec bashrun --toggle bindsym Mod4+b border toggle bindsym Mod4+o open -# Mod4+Shift+r restarts i3 inplace +bindsym Mod4+Shift+r restarts i3 inplace bindsym Mod4+Shift+w reload @@ -196,7 +196,7 @@ bindsym $mod+r mode "resize" bar { status_command i3blocks i3bar_command /usr/bin/i3bar-icons - tray_output DVI-0 + tray_output LVDS1 } bindsym $mod+Shift+g mode "$mode_gaps" diff --git a/vim/vimrc b/vim/vimrc index 868afcf..d2ee1a0 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -131,6 +131,9 @@ nmap ;m :%s/^\(> \)\+>/\=substitute(submatch(0),'> ','>','g')/geggVGgq nmap ;h :%s/^\(> \)\+>/\=substitute(submatch(0),'> ','>','g')/gegg/^$VGgq nmap ;p ?^$V/^$gqk:nohl +" save with sudo +cmap w!! w !sudo tee % >/dev/null + " help deobfuscate code function! CleanUpObfuscatedCode() exec ':%s/\([{};]\)/\1\r/g'