forked from dam9000/kickstart-modular.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
162 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
return { | ||
{ | ||
'windwp/nvim-autopairs', | ||
event = 'InsertEnter', | ||
config = true, | ||
opts = { | ||
map_c_w = true, | ||
}, | ||
-- use opts = {} for passing setup options | ||
-- this is equalent to setup({}) function | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
return { | ||
'utilyre/barbecue.nvim', | ||
name = 'barbecue', | ||
version = '*', | ||
dependencies = { | ||
'SmiteshP/nvim-navic', | ||
'nvim-tree/nvim-web-devicons', -- optional dependency | ||
}, | ||
opts = { | ||
-- configurations go here | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
return { | ||
{ | ||
'rose-pine/neovim', | ||
name = 'rose-pine', | ||
config = function() | ||
require('rose-pine').setup { | ||
variant = 'main', | ||
dark_variant = 'main', | ||
dim_inactive_windows = false, | ||
styles = { | ||
transparency = true, | ||
}, | ||
} | ||
-- local theme = require 'lualine.themes.rose-pine' | ||
-- local modes = { 'normal', 'insert', 'visual', 'replace', 'command', 'inactive' } | ||
-- for _, mode in ipairs(modes) do | ||
-- theme[mode].c.bg = 'NONE' | ||
-- end | ||
|
||
-- require('lualine').setup { | ||
-- options = { | ||
-- theme = theme, | ||
-- }, | ||
-- } | ||
vim.cmd 'colorscheme rose-pine' | ||
end, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
return { | ||
{ | ||
'cbochs/grapple.nvim', | ||
opts = { | ||
scope = 'git_branch', | ||
}, | ||
keys = { | ||
{ '<C-a>', '<cmd>Grapple toggle<cr>', desc = 'T[a]g a file' }, | ||
{ ';', '<cmd>Grapple toggle_tags<cr>', desc = 'Show tags menu' }, | ||
-- { '<C-h>', '<cmd>Grapple cycle_tags next<cr>', desc = 'Cycle next tag' }, | ||
-- { '<C-j>', '<cmd>Grapple cycle_tags prev<cr>', desc = 'Cycle previous tag' }, | ||
-- { '<c-1>', '<cmd>Grapple select index=1<cr>', desc = 'Select first tag' }, | ||
-- { '<c-2>', '<cmd>Grapple select index=2<cr>', desc = 'Select second tag' }, | ||
-- { '<c-3>', '<cmd>Grapple select index=3<cr>', desc = 'Select third tag' }, | ||
-- { '<c-4>', '<cmd>Grapple select index=4<cr>', desc = 'Select fourth tag' }, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
return { | ||
'NeogitOrg/neogit', | ||
dependencies = { | ||
'nvim-lua/plenary.nvim', | ||
'sindrets/diffview.nvim', | ||
|
||
'nvim-telescope/telescope.nvim', | ||
}, | ||
config = true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
return { | ||
{ | ||
'nvim-neo-tree/neo-tree.nvim', | ||
branch = 'v3.x', | ||
dependencies = { | ||
'nvim-lua/plenary.nvim', | ||
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended | ||
'MunifTanjim/nui.nvim', | ||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information | ||
}, | ||
config = function() | ||
require('neo-tree').setup { | ||
close_if_last_window = true, | ||
window = { | ||
mappings = { | ||
['s'] = 'open_split', | ||
['S'] = 'open_vsplit', | ||
}, | ||
width = 40, | ||
}, | ||
filesystem = { | ||
filtered_items = { | ||
visible = true, | ||
}, | ||
follow_current_file = { | ||
enabled = true, | ||
}, | ||
}, | ||
} | ||
end, | ||
}, | ||
|
||
vim.keymap.set('n', '\\f', '<cmd>Neotree left filesystem<cr>', { desc = '[F]ile explorer' }), | ||
vim.keymap.set('n', '\\b', '<cmd>Neotree float buffers<cr>', { desc = 'List open [B]uffers' }), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
return { | ||
{ | ||
'coffebar/neovim-project', | ||
opts = { | ||
projects = { -- define project roots | ||
'/mnt/Data/src/kprofiles/*', | ||
'/mnt/Data/src/*', | ||
'/mnt/Data/code/*', | ||
'~/.config/*', | ||
}, | ||
dashboard_mode = true, | ||
}, | ||
init = function() | ||
-- enable saving the state of plugins in the session | ||
vim.opt.sessionoptions:append 'globals' -- save global variables that start with an uppercase letter and contain at least one lowercase letter. | ||
end, | ||
dependencies = { | ||
{ 'nvim-lua/plenary.nvim' }, | ||
{ 'nvim-telescope/telescope.nvim', tag = '0.1.4' }, | ||
{ 'Shatur/neovim-session-manager' }, | ||
}, | ||
lazy = false, | ||
priority = 100, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
return { | ||
{ | ||
'akinsho/toggleterm.nvim', | ||
version = '*', | ||
config = true, | ||
opts = { | ||
size = 20, | ||
float_opts = { | ||
border = 'curved', | ||
width = 120, | ||
height = 40, | ||
title_pos = 'left', | ||
}, | ||
}, | ||
}, | ||
|
||
vim.keymap.set('n', '<A-i>', '<cmd>ToggleTerm direction=horizontal<cr>', { desc = 'Toggle a split terminal' }), | ||
vim.keymap.set('n', '<A-f>', '<cmd>ToggleTerm direction=float<cr>', { desc = 'Toggle a floating terminal' }), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters