neovim update
This commit is contained in:
parent
1874df33b5
commit
9748bfa8fd
5 changed files with 33 additions and 27 deletions
|
@ -17,6 +17,7 @@
|
||||||
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
||||||
"mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
|
"mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
|
||||||
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
|
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
|
||||||
|
"notebook.nvim": { "branch": "main", "commit": "e7145d5e905f74ac927aa45fe109adbdd9e9f340" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "f47cd681d7cb6048876a2e908b6d8ba1e530d152" },
|
"nvim-lspconfig": { "branch": "master", "commit": "f47cd681d7cb6048876a2e908b6d8ba1e530d152" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "0422a19d9aa3aad2c7e5cca167e5407b13407a9d" },
|
"nvim-web-devicons": { "branch": "master", "commit": "0422a19d9aa3aad2c7e5cca167e5407b13407a9d" },
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
-- INFO: General --
|
-- INFO: General --
|
||||||
|
|
||||||
-- hjkl to ijkl remap
|
-- hjkl to ijkl remap
|
||||||
vim.keymap.set({ 'n', 'v', 'o' }, 'j', 'h', { desc = 'hjkl to ijkl' })
|
vim.keymap.set({ 'n', 'x', 'o' }, 'j', 'h', { desc = 'hjkl to ijkl' })
|
||||||
vim.keymap.set({ 'n', 'v', 'o' }, 'h', 'i', { desc = 'hjkl to ijkl' })
|
vim.keymap.set({ 'n', 'x', 'o' }, 'h', 'i', { desc = 'hjkl to ijkl' })
|
||||||
vim.keymap.set({ 'n', 'v', 'o' }, 'i', 'k', { desc = 'hjkl to ijkl' })
|
vim.keymap.set({ 'n', 'x', 'o' }, 'i', 'k', { desc = 'hjkl to ijkl' })
|
||||||
vim.keymap.set({ 'n', 'v', 'o' }, 'k', 'j', { desc = 'hjkl to ijkl' })
|
vim.keymap.set({ 'n', 'x', 'o' }, 'k', 'j', { desc = 'hjkl to ijkl' })
|
||||||
|
|
||||||
-- indentation
|
-- indentation
|
||||||
vim.keymap.set('n', '<Tab>', '>>', { desc = 'tab indent' })
|
vim.keymap.set('n', '<Tab>', '>>', { desc = 'tab indent' })
|
||||||
vim.keymap.set('n', '<S-Tab>', '<<', { desc = 'S-tab unindent' })
|
vim.keymap.set('n', '<S-Tab>', '<<', { desc = 'S-tab unindent' })
|
||||||
vim.keymap.set({ 'v', 'o' }, '<Tab>', '>', { desc = 'tab indent ' })
|
vim.keymap.set({ 'x', 'o' }, '<Tab>', '>', { desc = 'tab indent' })
|
||||||
vim.keymap.set({ 'v', 'o' }, '<S-Tab>', '<', { desc = 'S-tab unindent ' })
|
vim.keymap.set({ 'x', 'o' }, '<S-Tab>', '<', { desc = 'S-tab unindent' })
|
||||||
|
|
||||||
-- scrolling
|
-- scrolling
|
||||||
vim.keymap.set({ 'n', 'v' }, '<C-d>', '<C-d>zz', { desc = 'centered scroll' })
|
vim.keymap.set({ 'n', 'v' }, '<C-d>', '<C-d>zz', { desc = 'centered scroll' })
|
||||||
|
|
|
@ -17,6 +17,7 @@ require('lazy').setup({
|
||||||
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
||||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = {} },
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = {} },
|
||||||
|
|
||||||
|
{ 'meatballs/notebook.nvim', opts = {} },
|
||||||
-- { 'stevearc/dressing.nvim', opts = {}, },
|
-- { 'stevearc/dressing.nvim', opts = {}, },
|
||||||
|
|
||||||
-- 'ThePrimeagen/vim-be-good',
|
-- 'ThePrimeagen/vim-be-good',
|
||||||
|
|
|
@ -2,7 +2,11 @@ return {
|
||||||
{
|
{
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||||
opts = {}
|
opts = {
|
||||||
|
options = {
|
||||||
|
globalstatus = true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
2025-07-26
|
2025-08-13
|
||||||
0
|
45
|
Loading…
Add table
Add a link
Reference in a new issue