aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-06-10 20:48:22 +0200
committerAdrian Kummerlaender2015-06-10 20:48:22 +0200
commiteb4f60dd7abdd10f04317c9d4879acf3f1002f9d (patch)
tree03f655b8a3eab3c126555d80ea0c0f756dc102c5
parent7554ce91fcf771041326430c0a224b9e570424a0 (diff)
downloaddotfiles-eb4f60dd7abdd10f04317c9d4879acf3f1002f9d.tar
dotfiles-eb4f60dd7abdd10f04317c9d4879acf3f1002f9d.tar.gz
dotfiles-eb4f60dd7abdd10f04317c9d4879acf3f1002f9d.tar.bz2
dotfiles-eb4f60dd7abdd10f04317c9d4879acf3f1002f9d.tar.lz
dotfiles-eb4f60dd7abdd10f04317c9d4879acf3f1002f9d.tar.xz
dotfiles-eb4f60dd7abdd10f04317c9d4879acf3f1002f9d.tar.zst
dotfiles-eb4f60dd7abdd10f04317c9d4879acf3f1002f9d.zip
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
-rw-r--r--i3wm/.i3/config5
-rw-r--r--pentadactyl/.pentadactylrc2
-rw-r--r--twmn/.config/twmn/twmn.conf1
-rw-r--r--vim/.vimrc2
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 <C-left> gT
nnoremap <C-right> gt
nnoremap <space> zz
+nnoremap J }
+nnoremap K {
nmap <Left> <<
nmap <Right> >>