From eb4f60dd7abdd10f04317c9d4879acf3f1002f9d Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 10 Jun 2015 20:48:22 +0200 Subject: Tweaked window resizing and vim navigation bindings * halved horizontal window resize grid width * added `J` and `K` mappings for easier section navigation * fixed pentadactly `guioptions` which were incompatible with it's latest version --- i3wm/.i3/config | 5 +++-- pentadactyl/.pentadactylrc | 2 +- twmn/.config/twmn/twmn.conf | 1 + vim/.vimrc | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/i3wm/.i3/config b/i3wm/.i3/config index 7b0c3ea..77efc65 100644 --- a/i3wm/.i3/config +++ b/i3wm/.i3/config @@ -59,10 +59,10 @@ bindsym $mod+Shift+equal move container to workspace 10 bindsym $mod+r mode "resize" mode "resize" { - bindsym h resize shrink width 10 px or 10 ppt + bindsym h resize shrink width 5 px or 5 ppt bindsym j resize grow height 10 px or 10 ppt bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt + bindsym l resize grow width 5 px or 5 ppt bindsym 113 resize shrink width 10 px or 10 ppt bindsym 116 resize grow height 10 px or 10 ppt @@ -110,6 +110,7 @@ bindsym Control+space exec --no-startup-id ~/.i3/apply_layout.sh bindsym Control+Mod1+l exec --no-startup-id i3lock -c 000000 bindsym Control+Mod1+m exec --no-startup-id ~/.screenlayout/mobile.sh bindsym Control+Mod1+d exec --no-startup-id ~/.screenlayout/docked.sh +bindsym Control+Mod1+v exec --no-startup-id ~/.screenlayout/docked_vertical.sh bindsym $mod+n [title="^.*\.wiki \(~\/note\).*$"] scratchpad show diff --git a/pentadactyl/.pentadactylrc b/pentadactyl/.pentadactylrc index dda4cf8..37dc661 100644 --- a/pentadactyl/.pentadactylrc +++ b/pentadactyl/.pentadactylrc @@ -1,7 +1,7 @@ loadplugins '\.(js|penta)$' group user -set guioptions-=br +set guioptions=Cs set hintkeys=0123456789 map -b j 5j diff --git a/twmn/.config/twmn/twmn.conf b/twmn/.config/twmn/twmn.conf index 63ac4d6..3fa9ce6 100644 --- a/twmn/.config/twmn/twmn.conf +++ b/twmn/.config/twmn/twmn.conf @@ -3,6 +3,7 @@ absolute_position= always_on_top=true background_color=#909737 bounce=true +bounce_duration=500 font=DejaVu Sans Mono font_size=15 foreground_color=#111111 diff --git a/vim/.vimrc b/vim/.vimrc index 8e980eb..835c298 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -54,6 +54,8 @@ nnoremap cc "+p nnoremap gT nnoremap gt nnoremap zz +nnoremap J } +nnoremap K { nmap << nmap >> -- cgit v1.2.3