editor tmux keys leader+w+hjkl
This commit is contained in:
parent
4ad5d6681f
commit
7796c4bd79
|
@ -344,8 +344,8 @@ map('n', '<leader>"', '<cmd>vsplit<CR>', { desc = 'Split window vertically' })
|
||||||
map('n', '<leader>wb', '<cmd>buffer#<CR>', { desc = 'Alternate buffer' })
|
map('n', '<leader>wb', '<cmd>buffer#<CR>', { desc = 'Alternate buffer' })
|
||||||
map('n', '<leader>wc', '<cmd>close<CR>', { desc = 'Close window' })
|
map('n', '<leader>wc', '<cmd>close<CR>', { desc = 'Close window' })
|
||||||
map('n', '<leader>wd', '<cmd>bdelete<CR>', { desc = 'Buffer delete' })
|
map('n', '<leader>wd', '<cmd>bdelete<CR>', { desc = 'Buffer delete' })
|
||||||
map('n', '<leader>wv', '<cmd>split<CR>', { desc = 'Split window horizontally' })
|
map('n', '<leader>w%', '<cmd>split<CR>', { desc = 'Split window horizontally' })
|
||||||
map('n', '<leader>wg', '<cmd>vsplit<CR>', { desc = 'Split window vertically' })
|
map('n', '<leader>w"', '<cmd>vsplit<CR>', { desc = 'Split window vertically' })
|
||||||
map('n', '<leader>wt', '<cmd>tabnew<CR>', { desc = 'New tab' })
|
map('n', '<leader>wt', '<cmd>tabnew<CR>', { desc = 'New tab' })
|
||||||
map('n', '<leader>wtp', '<cmd>tabprevious<CR>', { desc = 'Previous tab' })
|
map('n', '<leader>wtp', '<cmd>tabprevious<CR>', { desc = 'Previous tab' })
|
||||||
map('n', '<leader>wtn', '<cmd>tabnext<CR>', { desc = 'Next tab' })
|
map('n', '<leader>wtn', '<cmd>tabnext<CR>', { desc = 'Next tab' })
|
||||||
|
|
|
@ -17,10 +17,10 @@ return {
|
||||||
cond = not is_windows,
|
cond = not is_windows,
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
{ '<C-h>', '<cmd>TmuxNavigateLeft<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to left pane' },
|
{ '<leader>wh', '<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' },
|
{ '<leader>wj', '<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' },
|
{ '<leader>wk', '<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' },
|
{ '<leader>wl', '<cmd>TmuxNavigateRight<CR>', mode = { 'n', 't' }, silent = true, desc = 'Jump to right pane' },
|
||||||
},
|
},
|
||||||
init = function()
|
init = function()
|
||||||
vim.g.tmux_navigator_no_mappings = true
|
vim.g.tmux_navigator_no_mappings = true
|
||||||
|
|
|
@ -97,3 +97,7 @@ Skripte
|
||||||
mathmatics
|
mathmatics
|
||||||
bbc
|
bbc
|
||||||
Kryptographischen/!
|
Kryptographischen/!
|
||||||
|
PyO3
|
||||||
|
#yo3
|
||||||
|
JSON
|
||||||
|
json
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue