tangled
alpha
login
or
join now
seth.computer
/
dotfiles
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
actually reorg plugins
seth.computer
1 year ago
dfb09b77
0c2b1c7f
verified
This commit was signed with the committer's
known signature
.
seth.computer
SSH Key Fingerprint:
SHA256:utUtG8j2hgvZ0Rnm/rPJiqFu4NT5bjOnC26AUIBh500=
+174
-157
27 changed files
expand all
collapse all
unified
split
nvim
lua
config
keys.lua
plugins
auto-dark-mode.lua
bufferline.lua
cmp-nvim-lsp.lua
cmp.lua
colors.lua
comment.lua
config.lua
diffview.lua
editing.lua
git.lua
gitlab.lua
gitlinker.lua
gitsigns.lua
goyo.lua
lsp.lua
neodev.lua
nvim-cmp.lua
nvim-tree.lua
prisma.lua
rose-pine.lua
surround.lua
telescope.lua
toggleterm.lua
trouble.lua
ui.lua
which-key.lua
+3
-1
nvim/lua/config/keys.lua
reviewed
···
43
43
{ "<leader>td", "<cmd>tabclose<cr>", desc = "Close Tab" },
44
44
{ "<leader>tn", "<cmd>tabnew<cr>", desc = "Close Tab" },
45
45
46
46
-
{ "<leaer>CL", "<cmd>ConfigLocalEdit<cr>", desc = "Edit local nvim config" },
46
46
+
{ "<leader>CL", "<cmd>ConfigLocalEdit<cr>", desc = "Edit local nvim config" },
47
47
48
48
{ "<leader>/", "<cmd>CommentToggle<cr>", desc = "Toggle comment", mode = { "n" } },
49
49
-- TODO: Fix multi line commenting
···
111
111
-- TODO: make this actually silent
112
112
silent = true,
113
113
},
114
114
+
115
115
+
{ "<leader>PP", "<cmd>Lazy<cr>", desc = "Manage plugins" },
114
116
})
-14
nvim/lua/plugins/auto-dark-mode.lua
reviewed
···
1
1
-
return {
2
2
-
"f-person/auto-dark-mode.nvim",
3
3
-
opts = {
4
4
-
update_interval = 1000,
5
5
-
set_dark_mode = function()
6
6
-
vim.api.nvim_set_option_value("background", "dark", {})
7
7
-
vim.cmd("colorscheme rose-pine-main")
8
8
-
end,
9
9
-
set_light_mode = function()
10
10
-
vim.api.nvim_set_option_value("background", "light", {})
11
11
-
vim.cmd("colorscheme rose-pine-dawn")
12
12
-
end,
13
13
-
},
14
14
-
}
-7
nvim/lua/plugins/bufferline.lua
reviewed
···
1
1
-
return {
2
2
-
"akinsho/bufferline.nvim",
3
3
-
version = "*",
4
4
-
config = function()
5
5
-
require("bufferline").setup({})
6
6
-
end,
7
7
-
}
-8
nvim/lua/plugins/cmp-nvim-lsp.lua
reviewed
···
1
1
-
return {
2
2
-
"hrsh7th/cmp-nvim-lsp",
3
3
-
dependencies = {
4
4
-
"neovim/nvim-lspconfig",
5
5
-
"hrsh7th/nvim-cmp"
6
6
-
},
7
7
-
opts = {},
8
8
-
}
+14
nvim/lua/plugins/cmp.lua
reviewed
···
1
1
+
return {
2
2
+
{
3
3
+
"hrsh7th/nvim-cmp",
4
4
+
opts = {},
5
5
+
},
6
6
+
{
7
7
+
"hrsh7th/cmp-nvim-lsp",
8
8
+
dependencies = {
9
9
+
"neovim/nvim-lspconfig",
10
10
+
"hrsh7th/nvim-cmp"
11
11
+
},
12
12
+
opts = {},
13
13
+
}
14
14
+
}
+27
nvim/lua/plugins/colors.lua
reviewed
···
1
1
+
return {
2
2
+
{
3
3
+
"rose-pine/neovim",
4
4
+
name = "rose-pine",
5
5
+
config = function()
6
6
+
require("rose-pine").setup({
7
7
+
variant = "main",
8
8
+
})
9
9
+
vim.cmd("colorscheme rose-pine")
10
10
+
end,
11
11
+
},
12
12
+
{ "nvim-treesitter", opts = {} },
13
13
+
{
14
14
+
"f-person/auto-dark-mode.nvim",
15
15
+
opts = {
16
16
+
update_interval = 1000,
17
17
+
set_dark_mode = function()
18
18
+
vim.api.nvim_set_option_value("background", "dark", {})
19
19
+
vim.cmd("colorscheme rose-pine-main")
20
20
+
end,
21
21
+
set_light_mode = function()
22
22
+
vim.api.nvim_set_option_value("background", "light", {})
23
23
+
vim.cmd("colorscheme rose-pine-dawn")
24
24
+
end,
25
25
+
},
26
26
+
}
27
27
+
}
-8
nvim/lua/plugins/comment.lua
reviewed
···
1
1
-
return {
2
2
-
"terrortylor/nvim-comment",
3
3
-
config = function()
4
4
-
require("nvim_comment").setup({
5
5
-
create_mappings = false,
6
6
-
})
7
7
-
end,
8
8
-
}
nvim/lua/plugins/config-local.lua
nvim/lua/plugins/config.lua
reviewed
-3
nvim/lua/plugins/diffview.lua
reviewed
···
1
1
-
return {
2
2
-
"sindrets/diffview.nvim",
3
3
-
}
+13
nvim/lua/plugins/editing.lua
reviewed
···
1
1
+
return {
2
2
+
{
3
3
+
"terrortylor/nvim-comment",
4
4
+
config = function()
5
5
+
require("nvim_comment").setup({
6
6
+
create_mappings = false,
7
7
+
})
8
8
+
end,
9
9
+
},
10
10
+
{
11
11
+
"tpope/vim-surround",
12
12
+
}
13
13
+
}
+35
nvim/lua/plugins/git.lua
reviewed
···
1
1
+
return {
2
2
+
{
3
3
+
"sindrets/diffview.nvim",
4
4
+
},
5
5
+
{
6
6
+
"harrisoncramer/gitlab.nvim",
7
7
+
dependencies = {
8
8
+
"MunifTanjim/nui.nvim",
9
9
+
"nvim-lua/plenary.nvim",
10
10
+
"sindrets/diffview.nvim",
11
11
+
"stevearc/dressing.nvim",
12
12
+
"nvim-tree/nvim-web-devicons",
13
13
+
"rose-pine/neovim",
14
14
+
},
15
15
+
enabled = true,
16
16
+
build = function() require("gitlab.server").build(true) end, -- Builds the Go binary
17
17
+
config = function()
18
18
+
require("gitlab").setup()
19
19
+
end,
20
20
+
},
21
21
+
{
22
22
+
"ruifm/gitlinker.nvim",
23
23
+
opts = {
24
24
+
mappings = nil,
25
25
+
},
26
26
+
},
27
27
+
{
28
28
+
"lewis6991/gitsigns.nvim",
29
29
+
opts = {
30
30
+
diff_opts = {
31
31
+
vertical = true,
32
32
+
},
33
33
+
},
34
34
+
}
35
35
+
}
-16
nvim/lua/plugins/gitlab.lua
reviewed
···
1
1
-
return {
2
2
-
"harrisoncramer/gitlab.nvim",
3
3
-
dependencies = {
4
4
-
"MunifTanjim/nui.nvim",
5
5
-
"nvim-lua/plenary.nvim",
6
6
-
"sindrets/diffview.nvim",
7
7
-
"stevearc/dressing.nvim",
8
8
-
"nvim-tree/nvim-web-devicons",
9
9
-
"rose-pine/neovim",
10
10
-
},
11
11
-
enabled = true,
12
12
-
build = function() require("gitlab.server").build(true) end, -- Builds the Go binary
13
13
-
config = function()
14
14
-
require("gitlab").setup()
15
15
-
end,
16
16
-
}
-6
nvim/lua/plugins/gitlinker.lua
reviewed
···
1
1
-
return {
2
2
-
"ruifm/gitlinker.nvim",
3
3
-
opts = {
4
4
-
mappings = nil,
5
5
-
},
6
6
-
}
-8
nvim/lua/plugins/gitsigns.lua
reviewed
···
1
1
-
return {
2
2
-
"lewis6991/gitsigns.nvim",
3
3
-
opts = {
4
4
-
diff_opts = {
5
5
-
vertical = true,
6
6
-
},
7
7
-
},
8
8
-
}
-1
nvim/lua/plugins/goyo.lua
reviewed
···
1
1
-
return { "junegunn/goyo.vim" }
-5
nvim/lua/plugins/neodev.lua
reviewed
···
1
1
-
return {
2
2
-
"folke/lazydev.nvim",
3
3
-
ft = "lua", -- only load on lua files
4
4
-
opts = {},
5
5
-
}
-4
nvim/lua/plugins/nvim-cmp.lua
reviewed
···
1
1
-
return {
2
2
-
"hrsh7th/nvim-cmp",
3
3
-
opts = {},
4
4
-
}
+9
-1
nvim/lua/plugins/nvim-lspconfig.lua
nvim/lua/plugins/lsp.lua
reviewed
···
18
18
{
19
19
"williamboman/mason.nvim",
20
20
opts = {},
21
21
-
}
21
21
+
},
22
22
+
{
23
23
+
"folke/lazydev.nvim",
24
24
+
ft = "lua", -- only load on lua files
25
25
+
opts = {},
26
26
+
},
27
27
+
{
28
28
+
"prisma/vim-prisma",
29
29
+
},
22
30
}
-19
nvim/lua/plugins/nvim-tree.lua
reviewed
···
1
1
-
return {
2
2
-
"nvim-tree/nvim-tree.lua",
3
3
-
version = "*",
4
4
-
lazy = false,
5
5
-
config = function()
6
6
-
vim.g.loaded_netrw = 1
7
7
-
vim.g.loaded_netrwPlugin = 1
8
8
-
require("nvim-tree").setup({
9
9
-
hijack_netrw = true,
10
10
-
disable_netrw = true,
11
11
-
hijack_directories = {
12
12
-
enable = true
13
13
-
},
14
14
-
view = {
15
15
-
width = 45,
16
16
-
},
17
17
-
})
18
18
-
end,
19
19
-
}
-1
nvim/lua/plugins/prisma.lua
reviewed
···
1
1
-
return { "prisma/vim-prisma" }
-10
nvim/lua/plugins/rose-pine.lua
reviewed
···
1
1
-
return {
2
2
-
"rose-pine/neovim",
3
3
-
name = "rose-pine",
4
4
-
config = function()
5
5
-
require("rose-pine").setup({
6
6
-
variant = "main",
7
7
-
})
8
8
-
vim.cmd("colorscheme rose-pine")
9
9
-
end,
10
10
-
}
-3
nvim/lua/plugins/surround.lua
reviewed
···
1
1
-
return {
2
2
-
"tpope/vim-surround",
3
3
-
}
-6
nvim/lua/plugins/telescope.lua
reviewed
···
1
1
-
return {
2
2
-
'nvim-telescope/telescope.nvim',
3
3
-
tag = '0.1.8',
4
4
-
dependencies = { 'nvim-lua/plenary.nvim' },
5
5
-
opts = {},
6
6
-
}
-3
nvim/lua/plugins/toggleterm.lua
reviewed
···
1
1
-
return {
2
2
-
"akinsho/toggleterm.nvim",
3
3
-
}
-29
nvim/lua/plugins/trouble.lua
reviewed
···
1
1
-
return {
2
2
-
"folke/trouble.nvim",
3
3
-
opts = {
4
4
-
warn_no_results = false,
5
5
-
open_no_results = true,
6
6
-
auto_preview = false,
7
7
-
modes = {
8
8
-
diagnostics = {
9
9
-
focus = true,
10
10
-
format = "{severity_icon} {message:md} {item.source} {code} {pos}",
11
11
-
},
12
12
-
lsp_references = {
13
13
-
-- some modes are configurable, see the source code for more details
14
14
-
params = {
15
15
-
include_declaration = false,
16
16
-
},
17
17
-
},
18
18
-
lsp_document_symbols = {
19
19
-
focus = true,
20
20
-
win = {
21
21
-
position = "right",
22
22
-
size = 45,
23
23
-
},
24
24
-
format = "{kind_icon} {symbol.name}",
25
25
-
},
26
26
-
},
27
27
-
},
28
28
-
cmd = "Trouble",
29
29
-
}
+73
nvim/lua/plugins/ui.lua
reviewed
···
1
1
+
return {
2
2
+
{
3
3
+
"akinsho/bufferline.nvim",
4
4
+
version = "*",
5
5
+
config = function()
6
6
+
require("bufferline").setup({})
7
7
+
end,
8
8
+
},
9
9
+
{
10
10
+
"nvim-tree/nvim-tree.lua",
11
11
+
version = "*",
12
12
+
lazy = false,
13
13
+
config = function()
14
14
+
vim.g.loaded_netrw = 1
15
15
+
vim.g.loaded_netrwPlugin = 1
16
16
+
require("nvim-tree").setup({
17
17
+
hijack_netrw = true,
18
18
+
disable_netrw = true,
19
19
+
hijack_directories = {
20
20
+
enable = true
21
21
+
},
22
22
+
view = {
23
23
+
width = 45,
24
24
+
},
25
25
+
})
26
26
+
end,
27
27
+
},
28
28
+
{
29
29
+
"folke/trouble.nvim",
30
30
+
opts = {
31
31
+
warn_no_results = false,
32
32
+
open_no_results = true,
33
33
+
auto_preview = false,
34
34
+
modes = {
35
35
+
diagnostics = {
36
36
+
focus = true,
37
37
+
format = "{severity_icon} {message:md} {item.source} {code} {pos}",
38
38
+
},
39
39
+
lsp_references = {
40
40
+
-- some modes are configurable, see the source code for more details
41
41
+
params = {
42
42
+
include_declaration = false,
43
43
+
},
44
44
+
},
45
45
+
lsp_document_symbols = {
46
46
+
focus = true,
47
47
+
win = {
48
48
+
position = "right",
49
49
+
size = 45,
50
50
+
},
51
51
+
format = "{kind_icon} {symbol.name}",
52
52
+
},
53
53
+
},
54
54
+
},
55
55
+
cmd = "Trouble",
56
56
+
},
57
57
+
{
58
58
+
'nvim-telescope/telescope.nvim',
59
59
+
tag = '0.1.8',
60
60
+
dependencies = { 'nvim-lua/plenary.nvim' },
61
61
+
opts = {},
62
62
+
},
63
63
+
{
64
64
+
"akinsho/toggleterm.nvim",
65
65
+
},
66
66
+
{
67
67
+
"junegunn/goyo.vim",
68
68
+
},
69
69
+
{
70
70
+
"folke/which-key.nvim",
71
71
+
opts = {},
72
72
+
},
73
73
+
}
-4
nvim/lua/plugins/which-key.lua
reviewed
···
1
1
-
return {
2
2
-
"folke/which-key.nvim",
3
3
-
opts = {},
4
4
-
}