updated binds

This commit is contained in:
Aram Markarov
2025-11-30 21:39:12 +01:00
parent 48b3b449fa
commit 878d5386f4
3 changed files with 19 additions and 5 deletions
+3
View File
@@ -0,0 +1,3 @@
require('refactoring').setup({
})
+4 -5
View File
@@ -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" }) map("v", "<C-Down>", ":m '>+1<CR>gv=gv", { desc = "Move selected text down" })
-- Alt + Arrow Key to change buffer -- Alt + Arrow Key to change buffer
map("n", "<A-Left>", "<C-w>h", { desc = "Move to left split" }) map("n", "<A-h>", "<C-w>h", { desc = "Move to left split" })
map("n", "<A-Down>", "<C-w>j", { desc = "Move to bottom split" }) map("n", "<A-j>", "<C-w>j", { desc = "Move to bottom split" })
map("n", "<A-Up>", "<C-w>k", { desc = "Move to top split" }) map("n", "<A-k>", "<C-w>k", { desc = "Move to top split" })
map("n", "<A-Right>", "<C-w>l", { desc = "Move to right split" }) map("n", "<A-l>", "<C-w>l", { desc = "Move to right split" })
map('n', '<leader>e', vim.cmd.NvimTreeToggle) 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', '<leader>u', require('undotree').toggle, { noremap = true, silent = true })
map("n", "<A-->", ":bdelete<CR>") map("n", "<A-->", ":bdelete<CR>")
+12
View File
@@ -1,4 +1,16 @@
return { return {
{
"ThePrimeagen/refactoring.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
lazy = false,
opts = {},
config = function()
require("config.refactoring")
end,
},
{ {
"nvim-neorg/neorg", "nvim-neorg/neorg",
lazy = false, lazy = false,