firefox ^Q workaround, break-pane hotkey for tmux, greset() now asks for y in zsh
This commit is contained in:
parent
cddad6825c
commit
6243e78746
3 changed files with 7 additions and 2 deletions
|
@ -18,6 +18,9 @@ bindsym $mod+x exec $i3_term
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+c kill
|
bindsym $mod+Shift+c kill
|
||||||
|
|
||||||
|
# workaround for firefox
|
||||||
|
bindsym Control+q exec /bin/true
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+s exec dmenu_displays -i -fn "$dmenu_font"
|
bindsym $mod+s exec dmenu_displays -i -fn "$dmenu_font"
|
||||||
bindsym $mod+d exec dmenu_run -p run -i -fn "$dmenu_font"
|
bindsym $mod+d exec dmenu_run -p run -i -fn "$dmenu_font"
|
||||||
|
|
|
@ -13,7 +13,8 @@ bind > resize-pane -R 5
|
||||||
bind - resize-pane -D 5
|
bind - resize-pane -D 5
|
||||||
bind + resize-pane -U 5
|
bind + resize-pane -U 5
|
||||||
bind e choose-session
|
bind e choose-session
|
||||||
bind t command-prompt -p "send pane to:" "join-pane -t :'%%'"
|
bind t command-prompt -p "attach pane to:" "join-pane -t :'%%'"
|
||||||
|
bind y command-prompt break-pane
|
||||||
bind -n M-w next-window
|
bind -n M-w next-window
|
||||||
bind -n M-q previous-window
|
bind -n M-q previous-window
|
||||||
bind -n M-j next-window
|
bind -n M-j next-window
|
||||||
|
|
3
zshrc
3
zshrc
|
@ -230,7 +230,8 @@ gdf() {
|
||||||
}
|
}
|
||||||
greset() {
|
greset() {
|
||||||
echo "OK to reset and clean teh repo?"
|
echo "OK to reset and clean teh repo?"
|
||||||
read _
|
read -sq _
|
||||||
|
(( $? )) && return 1
|
||||||
/usr/bin/git clean -fd
|
/usr/bin/git clean -fd
|
||||||
/usr/bin/git reset --hard
|
/usr/bin/git reset --hard
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue