Browse Source

Use same key for exiting a mode as for entering it

Thos makes it easier to quickly abort the mode if entered by accident.
Alois Mahdal 10 years ago
parent
commit
3545d6851a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      dotfiles/i3/config

+ 2
- 0
dotfiles/i3/config View File

@@ -132,6 +132,7 @@ mode "mark" {
132 132
   bindsym u     exec i3-winmark unmark ; mode "default"
133 133
   bindsym g     exec i3-winmark goto   ; mode "default"
134 134
 
135
+  bindsym $mod+equal mode "default"
135 136
   bindsym Escape mode "default"
136 137
   bindsym Return mode "default"
137 138
 }
@@ -154,6 +155,7 @@ mode "resize" {
154 155
         bindsym Shift+Down  resize grow     height  25 px or 2 ppt
155 156
         bindsym Shift+Up    resize shrink   height  25 px or 2 ppt
156 157
         bindsym Shift+Right resize grow     width   25 px or 2 ppt
158
+        bindsym $mod+r      mode "default"
157 159
         bindsym Return      mode "default"
158 160
         bindsym Escape      mode "default"
159 161
 }