@@ -170,10 +170,10 @@ vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagn
170
170
vim .keymap .set (' t' , ' <Esc><Esc>' , ' <C-\\ ><C-n>' , { desc = ' Exit terminal mode' })
171
171
172
172
-- TIP: Disable arrow keys in normal mode
173
- -- vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
174
- -- vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>')
175
- -- vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>')
176
- -- vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
173
+ vim .keymap .set (' n' , ' <left>' , ' <cmd>echo "Use h to move!!"<CR>' )
174
+ vim .keymap .set (' n' , ' <right>' , ' <cmd>echo "Use l to move!!"<CR>' )
175
+ vim .keymap .set (' n' , ' <up>' , ' <cmd>echo "Use k to move!!"<CR>' )
176
+ vim .keymap .set (' n' , ' <down>' , ' <cmd>echo "Use j to move!!"<CR>' )
177
177
178
178
-- Keybinds to make split navigation easier.
179
179
-- Use CTRL+<hjkl> to switch between windows
@@ -258,9 +258,9 @@ require('lazy').setup {
258
258
-- lazy loading plugins that don't need to be loaded immediately at startup.
259
259
--
260
260
-- For example, in the following configuration, we use:
261
- -- event = 'VeryLazy '
261
+ -- event = 'VimEnter '
262
262
--
263
- -- which loads which-key after all the UI elements are loaded. Events can be
263
+ -- which loads which-key before all the UI elements are loaded. Events can be
264
264
-- normal autocommands events (`:help autocmd-events`).
265
265
--
266
266
-- Then, because we use the `config` key, the configuration only runs
@@ -269,7 +269,7 @@ require('lazy').setup {
269
269
270
270
{ -- Useful plugin to show you pending keybinds.
271
271
' folke/which-key.nvim' ,
272
- event = ' VeryLazy ' , -- Sets the loading event to 'VeryLazy '
272
+ event = ' VimEnter ' , -- Sets the loading event to 'VimEnter '
273
273
config = function () -- This is the function that runs, AFTER loading
274
274
require (' which-key' ).setup ()
275
275
@@ -293,7 +293,7 @@ require('lazy').setup {
293
293
294
294
{ -- Fuzzy Finder (files, lsp, etc)
295
295
' nvim-telescope/telescope.nvim' ,
296
- event = ' VeryLazy ' ,
296
+ event = ' VimEnter ' ,
297
297
branch = ' 0.1.x' ,
298
298
dependencies = {
299
299
' nvim-lua/plenary.nvim' ,
@@ -614,11 +614,11 @@ require('lazy').setup {
614
614
formatters_by_ft = {
615
615
lua = { ' stylua' },
616
616
-- Conform can also run multiple formatters sequentially
617
- -- python = { " isort", " black" },
617
+ python = { ' isort' , ' black' },
618
618
--
619
619
-- You can use a sub-list to tell conform to run *until* a formatter
620
620
-- is found.
621
- -- javascript = { { " prettierd", " prettier" } },
621
+ javascript = { { ' prettierd' , ' prettier' } },
622
622
},
623
623
},
624
624
},
@@ -716,25 +716,25 @@ require('lazy').setup {
716
716
end ,
717
717
},
718
718
719
- { -- You can easily change to a different colorscheme.
720
- -- Change the name of the colorscheme plugin below, and then
721
- -- change the command in the config to whatever the name of that colorscheme is
722
- --
723
- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
724
- ' folke/tokyonight.nvim' ,
725
- lazy = false , -- make sure we load this during startup if it is your main colorscheme
726
- priority = 1000 , -- make sure to load this before all the other start plugins
727
- config = function ()
728
- -- Load the colorscheme here
729
- vim .cmd .colorscheme ' tokyonight-night'
730
-
731
- -- You can configure highlights by doing something like
732
- vim .cmd .hi ' Comment gui=none'
733
- end ,
734
- },
719
+ -- { -- You can easily change to a different colorscheme.
720
+ -- -- Change the name of the colorscheme plugin below, and then
721
+ -- -- change the command in the config to whatever the name of that colorscheme is
722
+ -- --
723
+ -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
724
+ -- 'folke/tokyonight.nvim',
725
+ -- lazy = false, -- make sure we load this during startup if it is your main colorscheme
726
+ -- priority = 1000, -- make sure to load this before all the other start plugins
727
+ -- config = function()
728
+ -- -- Load the colorscheme here
729
+ -- vim.cmd.colorscheme 'tokyonight-night'
730
+
731
+ -- -- You can configure highlights by doing something like
732
+ -- vim.cmd.hi 'Comment gui=none'
733
+ -- end,
734
+ -- },
735
735
736
736
-- Highlight todo, notes, etc in comments
737
- { ' folke/todo-comments.nvim' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
737
+ { ' folke/todo-comments.nvim' , event = ' VimEnter ' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
738
738
739
739
{ -- Collection of various small independent plugins/modules
740
740
' echasnovski/mini.nvim' ,
@@ -758,7 +758,7 @@ require('lazy').setup {
758
758
-- You could remove this setup call if you don't like it,
759
759
-- and try some other statusline plugin
760
760
local statusline = require ' mini.statusline'
761
- statusline .setup ()
761
+ -- statusline.setup()
762
762
763
763
-- You can configure sections in the statusline by overriding their
764
764
-- default behavior. For example, here we disable the section for
@@ -813,8 +813,8 @@ require('lazy').setup {
813
813
-- This is the easiest way to modularize your config.
814
814
--
815
815
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
816
- -- For additional information, see ` :help lazy.nvim-lazy.nvim-structuring-your-plugins`
817
- -- { import = 'custom.plugins' },
816
+ -- For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins
817
+ { import = ' custom.plugins' },
818
818
}
819
819
820
820
-- The line beneath this is called `modeline`. See `:help modeline`
0 commit comments