diff options
Diffstat (limited to 'modules/neovim/nvim/lua/config/keybinds.lua')
| -rw-r--r-- | modules/neovim/nvim/lua/config/keybinds.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/neovim/nvim/lua/config/keybinds.lua b/modules/neovim/nvim/lua/config/keybinds.lua index 5481d37..551fc14 100644 --- a/modules/neovim/nvim/lua/config/keybinds.lua +++ b/modules/neovim/nvim/lua/config/keybinds.lua @@ -37,6 +37,14 @@ nmap('<leader>wm', '<C-w><C-h>', { desc = "Focus window left of the current one" nmap('<leader>wn', '<C-w><C-j>', { desc = "Focus window below the current one" }) nmap('<leader>we', '<C-w><C-k>', { desc = "Focus window above the current one" }) nmap('<leader>wi', '<C-w><C-l>', { desc = "Focus window right of the current one" }) +-- nmap('<C-m>', '<C-w><C-h>', { desc = "Focus window left of the current one" }) +-- nmap('<C-n>', '<C-w><C-j>', { desc = "Focus window below the current one" }) +-- nmap('<C-e>', '<C-w><C-k>', { desc = "Focus window above the current one" }) +-- nmap('<C-i>', '<C-w><C-l>', { desc = "Focus window right of the current one" }) +nmap('<M-m>', function() require("tmux").move_left() end, { desc = "Focus window left of the current one" }) +nmap('<M-n>', function() require("tmux").move_bottom() end, { desc = "Focus window below the current one" }) +nmap('<M-e>', function() require("tmux").move_top() end, { desc = "Focus window above the current one" }) +nmap('<M-i>', function() require("tmux").move_right() end, { desc = "Focus window right of the current one" }) -- nmap('<leader>fo', '<cmd>Telescope find_files<CR>', { silent = true }) nmap('<leader>fo', '<cmd>FzfLua files<CR>', { silent = true }) |