Change k to q for killing/closing/quitting in sway, neovim, and tmux.
Reason for this is because cmd+q on mac os. I want my setup to be universal between mac and lin, or as close as it possibly can be.
This commit is contained in:
parent
802721becc
commit
bcf5f8a405
3 changed files with 5 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ require("utils").add_keymaps({
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Window
|
-- Window
|
||||||
["<C-k>"] = {
|
["<C-q>"] = {
|
||||||
cmd = "<C-w>q",
|
cmd = "<C-w>q",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -115,7 +115,7 @@ require("utils").add_keymaps({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
t = {
|
t = {
|
||||||
["<C-k>"] = {
|
["<C-q>"] = {
|
||||||
cmd = "<C-\\><C-N>",
|
cmd = "<C-\\><C-N>",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# For some reason, fzf is missing from path when running shell scripts through tmux keybindings
|
#git clone --depth 1 --recurse-submodules --shallow-submodules git@github.int.midasplayer.com:FarmStudio/FarmHeroesSaga.git For some reason, fzf is missing from path when running shell scripts through tmux keybindings
|
||||||
set-environment -g PATH "~/dev/git/fzf/bin:$PATH"
|
set-environment -g PATH "~/dev/git/fzf/bin:$PATH"
|
||||||
|
|
||||||
# Keybindings for navigating between panes
|
# Keybindings for navigating between panes
|
||||||
|
|
@ -28,7 +28,7 @@ bind-key -n M-d run-shell "~/.config/tmux/tmux-fuzzy-find-session.sh"
|
||||||
# Split window, change keybindings to match vim concept of splits
|
# Split window, change keybindings to match vim concept of splits
|
||||||
bind-key -n M-v split-window -h
|
bind-key -n M-v split-window -h
|
||||||
bind-key -n M-h split-window -v
|
bind-key -n M-h split-window -v
|
||||||
bind-key -n M-k kill-pane
|
bind-key -n M-q kill-pane
|
||||||
bind-key -n M-f resize-pane -Z
|
bind-key -n M-f resize-pane -Z
|
||||||
bind-key -n M-s command-prompt -p "New session: " "run-shell '~/.config/tmux/tmux-create-session.sh '%%''"
|
bind-key -n M-s command-prompt -p "New session: " "run-shell '~/.config/tmux/tmux-create-session.sh '%%''"
|
||||||
bind-key -n M-w new-window
|
bind-key -n M-w new-window
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ exec_always --no-startup-id ~/.config/sway/dim_inactive.windows.py
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+k kill
|
bindsym $mod+q kill
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue