@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
91
91
vim .g .maplocalleader = ' '
92
92
93
93
-- Set to true if you have a Nerd Font installed and selected in the terminal
94
- vim .g .have_nerd_font = false
94
+ vim .g .have_nerd_font = true
95
95
96
96
-- [[ Setting options ]]
97
97
-- See `:help vim.opt`
@@ -102,7 +102,7 @@ vim.g.have_nerd_font = false
102
102
vim .opt .number = true
103
103
-- You can also add relative line numbers, to help with jumping.
104
104
-- Experiment for yourself to see if you like it!
105
- -- vim.opt.relativenumber = true
105
+ vim .opt .relativenumber = true
106
106
107
107
-- Enable mouse mode, can be useful for resizing splits for example!
108
108
vim .opt .mouse = ' a'
@@ -215,7 +215,11 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
215
215
end
216
216
end --- @diagnostic disable-next-line : undefined-field
217
217
vim .opt .rtp :prepend (lazypath )
218
-
218
+ -- User comands
219
+ vim .api .nvim_create_user_command (' ZellijFloatPanel' , function ()
220
+ vim .fn .system ' zellij action new-pane -f'
221
+ end , { desc = ' Open Zellij Float Panel' })
222
+ vim .keymap .set (' n' , ' <leader>pf' , ' :ZellijFloatPanel<CR>' , { desc = ' [P]anel Float' })
219
223
-- [[ Configure and install plugins ]]
220
224
--
221
225
-- To check the current status of your plugins, run
@@ -317,12 +321,18 @@ require('lazy').setup({
317
321
{ ' <leader>c' , group = ' [C]ode' , mode = { ' n' , ' x' } },
318
322
{ ' <leader>d' , group = ' [D]ocument' },
319
323
{ ' <leader>r' , group = ' [R]ename' },
320
- { ' <leader>s' , group = ' [S]earch' },
321
- { ' <leader>w' , group = ' [W]orkspace' },
322
324
{ ' <leader>t' , group = ' [T]oggle' },
323
325
{ ' <leader>h' , group = ' Git [H]unk' , mode = { ' n' , ' v' } },
326
+ { ' <leader>s' , group = ' [S]earch' },
327
+ { ' <leader>w' , group = ' [W]orkspace' },
328
+ { ' <leader>p' , group = ' [P]anel' },
324
329
},
325
330
},
331
+ -- config = function()
332
+ -- require('which-key').setup {}
333
+ --
334
+ -- vim.keymap.set('n', '<leader>pf', ':ZellijFloatPanel<CR>', { desc = '[P]anel Float' })
335
+ -- end,
326
336
},
327
337
328
338
-- NOTE: Plugins can specify dependencies.
@@ -388,6 +398,9 @@ require('lazy').setup({
388
398
-- },
389
399
-- },
390
400
-- pickers = {}
401
+ defaults = {
402
+ file_ignore_patterns = { ' node_modules' , ' .git' , ' .cache' , ' .history' , ' .idea' , ' .vscode' },
403
+ },
391
404
extensions = {
392
405
[' ui-select' ] = {
393
406
require (' telescope.themes' ).get_dropdown (),
@@ -451,6 +464,7 @@ require('lazy').setup({
451
464
},
452
465
},
453
466
{ ' Bilal2453/luvit-meta' , lazy = true },
467
+ -- { 'linrongbin16/lsp-progress.nvim', opts = {} },
454
468
{
455
469
-- Main LSP Configuration
456
470
' neovim/nvim-lspconfig' ,
@@ -462,7 +476,10 @@ require('lazy').setup({
462
476
463
477
-- Useful status updates for LSP.
464
478
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
465
- { ' j-hui/fidget.nvim' , opts = {} },
479
+ {
480
+ ' j-hui/fidget.nvim' ,
481
+ opts = { notification = { window = { winblend = 0 } } },
482
+ },
466
483
467
484
-- Allows extra capabilities provided by nvim-cmp
468
485
' hrsh7th/cmp-nvim-lsp' ,
@@ -784,11 +801,11 @@ require('lazy').setup({
784
801
-- Accept ([y]es) the completion.
785
802
-- This will auto-import if your LSP supports it.
786
803
-- This will expand snippets if the LSP sent a snippet.
787
- [' <C-y>' ] = cmp .mapping .confirm { select = true },
804
+ -- ['<C-y>'] = cmp.mapping.confirm { select = true },
788
805
789
806
-- If you prefer more traditional completion keymaps,
790
807
-- you can uncomment the following lines
791
- -- ['<CR>'] = cmp.mapping.confirm { select = true },
808
+ [' <CR>' ] = cmp .mapping .confirm { select = true },
792
809
-- ['<Tab>'] = cmp.mapping.select_next_item(),
793
810
-- ['<S-Tab>'] = cmp.mapping.select_prev_item(),
794
811
@@ -840,17 +857,39 @@ require('lazy').setup({
840
857
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
841
858
' folke/tokyonight.nvim' ,
842
859
priority = 1000 , -- Make sure to load this before all the other start plugins.
860
+ opts = {
861
+ transparent = true ,
862
+ styles = {
863
+ sidebars = ' transparent' ,
864
+ floats = ' transparent' ,
865
+ },
866
+ },
843
867
init = function ()
844
868
-- Load the colorscheme here.
845
869
-- Like many other themes, this one has different styles, and you could load
846
- -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
870
+
847
871
vim .cmd .colorscheme ' tokyonight-night'
848
872
849
873
-- You can configure highlights by doing something like:
850
874
vim .cmd .hi ' Comment gui=none'
851
875
end ,
852
876
},
853
877
878
+ -- {
879
+ -- 'shaunsingh/nord.nvim',
880
+ -- priority = 1000, -- Make sure to load this before all the other start plugins.
881
+ -- opts = {
882
+ -- transparent = true,
883
+ -- styles = {
884
+ -- sidebars = 'transparent',
885
+ -- floats = 'transparent',
886
+ -- },
887
+ -- },
888
+ -- init = function()
889
+ -- vim.cmd.colorscheme 'nord'
890
+ -- end,
891
+ -- },
892
+
854
893
-- Highlight todo, notes, etc in comments
855
894
{ ' folke/todo-comments.nvim' , event = ' VimEnter' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
856
895
@@ -916,8 +955,12 @@ require('lazy').setup({
916
955
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
917
956
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
918
957
},
958
+ {
959
+ ' supermaven-inc/supermaven-nvim' ,
960
+ opts = {},
961
+ },
919
962
920
- -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
963
+ -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
921
964
-- init.lua. If you want these files, they are in the repository, so you can just download them and
922
965
-- place them in the correct locations.
923
966
0 commit comments