mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-03-22 09:41:10 +01:00
updated binds
This commit is contained in:
+4
-5
@@ -13,13 +13,12 @@ map("v", "<C-Up>", ":m '<-2<CR>gv=gv", { desc = "Move selected text up" })
|
||||
map("v", "<C-Down>", ":m '>+1<CR>gv=gv", { desc = "Move selected text down" })
|
||||
|
||||
-- Alt + Arrow Key to change buffer
|
||||
map("n", "<A-Left>", "<C-w>h", { desc = "Move to left split" })
|
||||
map("n", "<A-Down>", "<C-w>j", { desc = "Move to bottom split" })
|
||||
map("n", "<A-Up>", "<C-w>k", { desc = "Move to top split" })
|
||||
map("n", "<A-Right>", "<C-w>l", { desc = "Move to right split" })
|
||||
map("n", "<A-h>", "<C-w>h", { desc = "Move to left split" })
|
||||
map("n", "<A-j>", "<C-w>j", { desc = "Move to bottom split" })
|
||||
map("n", "<A-k>", "<C-w>k", { desc = "Move to top split" })
|
||||
map("n", "<A-l>", "<C-w>l", { desc = "Move to right split" })
|
||||
|
||||
map('n', '<leader>e', vim.cmd.NvimTreeToggle)
|
||||
-- map('n', '<leader>e', function() Snacks.explorer() end)
|
||||
map('n', '<leader>u', require('undotree').toggle, { noremap = true, silent = true })
|
||||
|
||||
map("n", "<A-->", ":bdelete<CR>")
|
||||
|
||||
Reference in New Issue
Block a user