1
0
Fork 0

firefox ^Q workaround, break-pane hotkey for tmux, greset() now asks for y in zsh

This commit is contained in:
Von Random 2017-12-18 13:59:59 +03:00
parent cddad6825c
commit 6243e78746
3 changed files with 7 additions and 2 deletions

View file

@ -18,6 +18,9 @@ bindsym $mod+x exec $i3_term
# kill focused window
bindsym $mod+Shift+c kill
# workaround for firefox
bindsym Control+q exec /bin/true
# start dmenu (a program launcher)
bindsym $mod+s exec dmenu_displays -i -fn "$dmenu_font"
bindsym $mod+d exec dmenu_run -p run -i -fn "$dmenu_font"

View file

@ -13,7 +13,8 @@ bind > resize-pane -R 5
bind - resize-pane -D 5
bind + resize-pane -U 5
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-q previous-window
bind -n M-j next-window

3
zshrc
View file

@ -230,7 +230,8 @@ gdf() {
}
greset() {
echo "OK to reset and clean teh repo?"
read _
read -sq _
(( $? )) && return 1
/usr/bin/git clean -fd
/usr/bin/git reset --hard
}