This commit is contained in:
Yaser Alraddadi 2024-06-24 12:50:53 +03:00
parent e34c547bd9
commit 2e177c5cd2
1 changed files with 8 additions and 2 deletions

View File

@ -235,6 +235,12 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
-- Buffer switch
vim.keymap.set({ 'n', 'i', 'v' }, ']b', '<cmd>bnext<CR>', { silent = true })
vim.keymap.set({ 'n', 'i', 'v' }, '[b', '<cmd>bprev<CR>', { silent = true })
-- vim.keymap.set({ 'n', 'i', 'v' }, '<C-h>', '<cmd>bnext<CR>', { silent = true })
-- vim.keymap.set({ 'n', 'i', 'v' }, '<C-l>', '<cmd>bprev<CR>', { silent = true })
-- [[ Basic Autocommands ]]
-- See `:help lua-guide-autocommands`
@ -1016,10 +1022,10 @@ require('lazy').setup({
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
--
-- require 'kickstart.plugins.debug',
require 'kickstart.plugins.indent_line',
-- require 'kickstart.plugins.indent_line',
-- require 'kickstart.plugins.lint',
require 'kickstart.plugins.autopairs',
require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.neo-tree',
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`