Browse Source

Add marking mode

Alois Mahdal 10 years ago
parent
commit
9cfaacab77
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      dotfiles/i3/config

+ 12
- 0
dotfiles/i3/config View File

@@ -124,6 +124,18 @@ bindsym $mod+Shift+0 move container to workspace $w0
124 124
 bindsym $mod+Shift+minus move scratchpad
125 125
 bindsym $mod+minus scratchpad show
126 126
 
127
+# mark mode
128
+bindsym $mod+equal               mode "mark"
129
+
130
+mode "mark" {
131
+  bindsym m     exec i3-winmark mark   ; mode "default"
132
+  bindsym u     exec i3-winmark unmark ; mode "default"
133
+  bindsym g     exec i3-winmark goto   ; mode "default"
134
+
135
+  bindsym Escape mode "default"
136
+  bindsym Return mode "default"
137
+}
138
+
127 139
 # reload the configuration file
128 140
 bindsym $mod+Shift+c reload
129 141
 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)