diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-26 10:10:31 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-31 08:43:09 +0100 |
| commit | f66c14d7b555b96143a6fd145e463987de393483 (patch) | |
| tree | 4f4aaeaa3621f7a1d80d6f9a698a3d27ff37f288 /user/nvim | |
| parent | 86c74b15fb2bc42aef41ae7651bd97a2afea1c53 (diff) | |
feat(hamac): remap TrackPoint buttons to prev/next tab
Diffstat (limited to 'user/nvim')
| -rw-r--r-- | user/nvim/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/nvim/init.lua b/user/nvim/init.lua index 65077d2..e57b96f 100644 --- a/user/nvim/init.lua +++ b/user/nvim/init.lua @@ -218,6 +218,9 @@ require('blink.cmp').setup({ -- Clear search highlighting with Escape. vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>', { desc = 'Clear search highlight' }) +vim.keymap.set('n', '<C-S-Tab>', '<cmd>tabprevious<CR>', { desc = 'Previous tab' }) +vim.keymap.set('n', '<C-Tab>', '<cmd>tabnext<CR>', { desc = 'Next tab' }) + vim.keymap.set('n', '<C-p>', function() local tool = vim.fs.root(vim.fn.getcwd(), '.git') and 'git' or nil pick.builtin.files({ tool = tool }) |
