better move through windows

This commit is contained in:
Christoph J. Scherr 2023-09-18 13:23:10 +02:00 committed by PlexSheep
parent de02065e7b
commit 1be6097544
4 changed files with 13 additions and 6 deletions

View File

@ -57,10 +57,10 @@ map('n', '<A-k>', '<cmd>lnext<CR>', { desc = 'Next Loclist Item' })
map('n', '<A-j>', '<cmd>lprev<CR>', { desc = 'Previous Loclist Item' })
-- go to next diagnostics entry
map('n', '<C-j>', function ()
map('n', '<leader>cj', function ()
vim.diagnostic.goto_next()
end, { desc = 'go to next diagnostic'})
map('n', '<C-k>', function ()
map('n', '<leader>ck', function ()
vim.diagnostic.goto_prev()
end, { desc = 'go to last diagnostic'})

View File

@ -17,10 +17,10 @@ return {
cond = not is_windows,
-- stylua: ignore
keys = {
{ '<leader>wh', '<cmd>TmuxNavigateLeft<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to left pane' },
{ '<leader>wj', '<cmd>TmuxNavigateDown<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to lower pane' },
{ '<leader>wk', '<cmd>TmuxNavigateUp<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to upper pane' },
{ '<leader>wl', '<cmd>TmuxNavigateRight<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to right pane' },
{ '<C-h>', '<cmd>TmuxNavigateLeft<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to left pane' },
{ '<C-j>', '<cmd>TmuxNavigateDown<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to lower pane' },
{ '<C-k>', '<cmd>TmuxNavigateUp<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to upper pane' },
{ '<C-l>', '<cmd>TmuxNavigateRight<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to right pane' },
},
init = function()
vim.g.tmux_navigator_no_mappings = true

View File

@ -101,3 +101,10 @@ PyO3
#yo3
JSON
json
#yo3
Verifikationsmechanismus
projektinterne
Theoriephase
weise/!
Weise
merksam

Binary file not shown.