-
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.
chore: move plugins to init.lua or per-plugin files
- Loading branch information
1 parent
13a695c
commit 47d786f
Showing
10 changed files
with
133 additions
and
148 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
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,7 @@ | ||
return { | ||
'projekt0n/circles.nvim', | ||
dependencies = { 'nvim-tree/nvim-web-devicons' }, | ||
opts = { | ||
icons = { empty = '●', filled = '○', lsp_prefix = '●' }, | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
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 { | ||
-- git blame annotations | ||
'f-person/git-blame.nvim', | ||
init = function() | ||
-- disable on startup | ||
vim.g.gitblame_enabled = 0 | ||
end, | ||
config = function() | ||
vim.api.nvim_set_keymap('n', '<leader>gt', ':GitBlameToggle<CR>', { desc = '[G]it Blame [T]oggle', noremap = true }) | ||
vim.api.nvim_set_keymap('n', '<leader>gu', ':GitBlameOpenCommitURL<CR>', { desc = '[G]it Blame Open Commit [U]rl', noremap = true }) | ||
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,10 @@ | ||
return { | ||
'ruifm/gitlinker.nvim', | ||
config = function() | ||
require('gitlinker').setup { | ||
callbacks = { | ||
['git.aflabs.org'] = require('gitlinker.hosts').get_gitlab_type_url, | ||
}, | ||
} | ||
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,14 @@ | ||
return { | ||
-- Adds git releated signs to the gutter, as well as utilities for managing changes | ||
'lewis6991/gitsigns.nvim', | ||
opts = { | ||
-- See `:help gitsigns.txt` | ||
signs = { | ||
add = { text = '+' }, | ||
change = { text = '~' }, | ||
delete = { text = '_' }, | ||
topdelete = { text = '‾' }, | ||
changedelete = { text = '~' }, | ||
}, | ||
}, | ||
} |
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 { | ||
-- Add indentation guides even on blank lines | ||
'lukas-reineke/indent-blankline.nvim', | ||
-- Enable `lukas-reineke/indent-blankline.nvim` | ||
-- See `:help indent_blankline.txt` | ||
opts = { | ||
char = '┊', | ||
show_trailing_blankline_indent = false, | ||
}, | ||
} |
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,7 @@ | ||
return { | ||
'ggandor/leap.nvim', | ||
dependencies = { 'tpope/vim-repeat' }, | ||
config = function() | ||
require('leap').add_default_mappings() | ||
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,21 @@ | ||
return { | ||
'nvim-lualine/lualine.nvim', | ||
opts = { | ||
options = { | ||
icons_enabled = false, | ||
theme = 'gruvbox-material', | ||
statusline_style = 'mix', | ||
component_separators = '|', | ||
section_separators = '', | ||
}, | ||
sections = { | ||
lualine_c = { | ||
{ | ||
'filename', | ||
file_status = true, | ||
path = 1, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
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,8 @@ | ||
return { | ||
'stevearc/oil.nvim', | ||
dependencies = { 'nvim-tree/nvim-web-devicons' }, | ||
config = function() | ||
require('oil').setup() | ||
vim.keymap.set('n', '-', require('oil').open, { desc = 'Open parent directory' }) | ||
end, | ||
} |