From 6243e78746dd313f0a1b0088a2cc501231365c48 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 18 Dec 2017 13:59:59 +0300 Subject: [PATCH] firefox ^Q workaround, break-pane hotkey for tmux, greset() now asks for y in zsh --- i3_config | 3 +++ tmux.conf | 3 ++- zshrc | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/i3_config b/i3_config index 22bc841..dd0184c 100644 --- a/i3_config +++ b/i3_config @@ -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" diff --git a/tmux.conf b/tmux.conf index d082b37..f3131ec 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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 diff --git a/zshrc b/zshrc index b92c2cc..8a0705d 100644 --- a/zshrc +++ b/zshrc @@ -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 }