nvim: add nvim-colorizer and alt bindings to move to window
This commit is contained in:
parent
375a316ac1
commit
ebc3249391
@ -161,7 +161,9 @@ require('lazy').setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{ 'nvim-orgmode/orgmode' },
|
'nvim-orgmode/orgmode',
|
||||||
|
|
||||||
|
'norcalli/nvim-colorizer.lua',
|
||||||
|
|
||||||
-- See: https://github.com/folke/lazy.nvim#-structuring-your-plugins
|
-- See: https://github.com/folke/lazy.nvim#-structuring-your-plugins
|
||||||
-- { import = 'custom.plugins' },
|
-- { import = 'custom.plugins' },
|
||||||
@ -240,6 +242,10 @@ vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = tr
|
|||||||
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
|
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>tt", ":NvimTreeToggle<cr>", { desc = "[T]oggle Nvim [T]ree" })
|
vim.keymap.set("n", "<leader>tt", ":NvimTreeToggle<cr>", { desc = "[T]oggle Nvim [T]ree" })
|
||||||
|
vim.keymap.set("n", "<A-h>", ":wincmd h<cr>", { desc = "move to left window" })
|
||||||
|
vim.keymap.set("n", "<A-j>", ":wincmd j<cr>", { desc = "move to below window" })
|
||||||
|
vim.keymap.set("n", "<A-k>", ":wincmd k<cr>", { desc = "move to above window" })
|
||||||
|
vim.keymap.set("n", "<A-l>", ":wincmd l<cr>", { desc = "move to right window" })
|
||||||
|
|
||||||
-- [[ Highlight on yank ]]
|
-- [[ Highlight on yank ]]
|
||||||
-- See `:help vim.highlight.on_yank()`
|
-- See `:help vim.highlight.on_yank()`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user