diff options
| author | stefan <stefan@s00.xyz> | 2025-05-20 15:17:01 -0400 |
|---|---|---|
| committer | stefan <stefan@s00.xyz> | 2025-05-20 15:17:01 -0400 |
| commit | 92fe04a180e3cfca16c3ef4150a5a1eec879b665 (patch) | |
| tree | be66d0ea3bafed01bec10bb286f6964703bcfb72 /modules/neovim/nvim/lua/config/keybinds.lua | |
| parent | 2d701706abcc131aea8b2758cfff0acdc18a4b74 (diff) | |
| download | home-92fe04a180e3cfca16c3ef4150a5a1eec879b665.tar.gz | |
(form) sync
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 }) |