✨ feat(nvim): add new keymaps for swapping buffers and for creating splits
This commit is contained in:
parent
74f0d4f78d
commit
caaafa2a40
2 changed files with 7 additions and 0 deletions
|
@ -221,3 +221,7 @@ map({ "c", "i", "t" }, "<M-BS>", "<C-w>", { desc = "Delete Word" })
|
|||
|
||||
-- Git
|
||||
map("n", "<leader>ghB", LazyVim.lazygit.blame_line, { desc = "Blame Line (LazyGit)" })
|
||||
|
||||
-- Windows Split
|
||||
map("n", "<leader>_", "<C-W>s", { desc = "Split Window Below", remap = true })
|
||||
map("n", "<leader>\\", "<C-W>v", { desc = "Split Window Right", remap = true })
|
||||
|
|
|
@ -9,6 +9,9 @@ table.insert(keys, { "<leader>.", "<Cmd>BufferLinePick<CR>", desc = "Pick Buffer
|
|||
|
||||
table.insert(keys, { "<leader>bS", "<Cmd>BufferLineSortByDirectory<CR>", desc = "Sort By Directory" })
|
||||
table.insert(keys, { "<leader>bs", "<Cmd>BufferLineSortByExtension<CR>", desc = "Sort By Extensions" })
|
||||
|
||||
table.insert(keys, { "<space><", "<cmd>BufferLineMovePrev<cr>", desc = "Move buffer prev" })
|
||||
table.insert(keys, { "<space>>", "<cmd>BufferLineMoveNext<cr>", desc = "Move buffer next" })
|
||||
-- stylua: ignore end
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Reference in a new issue