|
@@ -28,6 +28,22 @@ vim.keymap.set('n', '<Leader>ff', '<cmd>Telescope live_grep<CR>', opts)
|
|
|
vim.keymap.set('n', '[f', '<C-O>', opts)
|
|
|
vim.keymap.set('n', ']f', '<C-I>', opts)
|
|
|
|
|
|
+-- quickfix navigation
|
|
|
+vim.keymap.set('n', '[q', '<cmd>cprevious<CR>', opts)
|
|
|
+vim.keymap.set('n', ']q', '<cmd>cnext<CR>', opts)
|
|
|
+
|
|
|
+-- conflicts navigation
|
|
|
+vim.keymap.set('n', '[x', '?^[<lt>=>]\\{7}<CR>', opts)
|
|
|
+vim.keymap.set('n', '[x', '/^[<lt>=>]\\{7}<CR>', opts)
|
|
|
+
|
|
|
+-- hunk navigation
|
|
|
+vim.keymap.set('n', '[c', '<cmd>Gitsigns prev_hunk<CR>', opts)
|
|
|
+vim.keymap.set('n', ']c', '<cmd>Gitsigns next_hunk<CR>', opts)
|
|
|
+
|
|
|
+-- window navigation
|
|
|
+vim.keymap.set('n', '[w', '<C-w>W', opts)
|
|
|
+vim.keymap.set('n', ']w', '<C-w>w', opts)
|
|
|
+
|
|
|
-- cursor display
|
|
|
vim.keymap.set('n', '<Leader>c', '<cmd>set cursorline! cursorcolumn!<CR>', opts)
|
|
|
|