Skip to content

Commit

Permalink
adding zellij to default roles / keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Oct 10, 2023
1 parent 1e877bd commit ac91c38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ default_roles:
- terraform
- tmate
- tmux
- zellij
# - spotify
- zoxide

Expand Down
7 changes: 7 additions & 0 deletions roles/neovim/files/lua/techdufus/core/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ keymap(normal_mode, "<C-h>", "<C-w>h", opts)
keymap(normal_mode, "<C-j>", "<C-w>j", opts)
keymap(normal_mode, "<C-k>", "<C-w>k", opts)
keymap(normal_mode, "<C-l>", "<C-w>l", opts)

-- Better window navigation (using alt with zellij)
-- keymap(normal_mode, "<A-h>", "<C-w>h", opts)
-- keymap(normal_mode, "<A-j>", "<C-w>j", opts)
-- keymap(normal_mode, "<A-k>", "<C-w>k", opts)
-- keymap(normal_mode, "<A-l>", "<C-w>l", opts)

keymap(normal_mode, ";", ":", opts)

keymap(normal_mode, "<leader>w", ":NvimTreeFocus<cr>", opts)
Expand Down

0 comments on commit ac91c38

Please sign in to comment.