mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-03-22 01:39:54 +01:00
updated binds
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
require('refactoring').setup({
|
||||
|
||||
})
|
||||
+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>")
|
||||
|
||||
@@ -1,4 +1,16 @@
|
||||
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",
|
||||
lazy = false,
|
||||
|
||||
Reference in New Issue
Block a user