Skip to content

Commit

Permalink
feat: add more extras from lazyvim and drop some custom config
Browse files Browse the repository at this point in the history
  • Loading branch information
miszo committed Jun 10, 2024
1 parent 27c85d6 commit ce9049e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
17 changes: 2 additions & 15 deletions home/dot_config/exact_nvim/exact_lua/exact_plugins/git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ return {
end,
config = function(_, opts)
require('gitsigns').setup(opts)

vim.keymap.set('n', '<leader>gp', ':Gitsigns preview_hunk<CR>', { desc = 'Preview hunk' })
vim.keymap.set(
'n',
'<leader>gt',
Expand All @@ -41,19 +39,8 @@ return {
-- Octo - GitHub PRs and issues
{
'pwntester/octo.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-telescope/telescope.nvim',
'nvim-tree/nvim-web-devicons',
},
keys = {
{ '<leader>O', '<cmd>Octo<cr>', desc = 'Octo' },
},
config = function()
require('octo').setup({
enable_builtin = true,
gh_env = get_gh_env(),
})
opts = function(_, opts)
opts.gh_env = get_gh_env()
end,
},
-- Generate link to file in the repository
Expand Down
8 changes: 6 additions & 2 deletions home/dot_config/exact_nvim/lazyvim.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@
"lazyvim.plugins.extras.coding.copilot-chat",
"lazyvim.plugins.extras.coding.mini-comment",
"lazyvim.plugins.extras.coding.mini-surround",
"lazyvim.plugins.extras.coding.neogen",
"lazyvim.plugins.extras.coding.yanky",
"lazyvim.plugins.extras.editor.harpoon2",
"lazyvim.plugins.extras.editor.inc-rename",
"lazyvim.plugins.extras.editor.leap",
"lazyvim.plugins.extras.editor.mini-move",
"lazyvim.plugins.extras.editor.navic",
"lazyvim.plugins.extras.editor.refactoring",
"lazyvim.plugins.extras.formatting.prettier",
"lazyvim.plugins.extras.lang.astro",
"lazyvim.plugins.extras.lang.docker",
"lazyvim.plugins.extras.lang.git",
"lazyvim.plugins.extras.lang.go",
"lazyvim.plugins.extras.lang.json",
"lazyvim.plugins.extras.lang.markdown",
"lazyvim.plugins.extras.lang.ruby",
"lazyvim.plugins.extras.lang.rust",
"lazyvim.plugins.extras.lang.svelte",
"lazyvim.plugins.extras.lang.tailwind",
"lazyvim.plugins.extras.lang.typescript",
"lazyvim.plugins.extras.lang.vue",
Expand All @@ -30,11 +34,11 @@
"lazyvim.plugins.extras.ui.treesitter-context",
"lazyvim.plugins.extras.util.dot",
"lazyvim.plugins.extras.util.mini-hipatterns",
"lazyvim.plugins.extras.util.project",
"lazyvim.plugins.extras.util.octo",
"lazyvim.plugins.extras.util.startuptime"
],
"news": {
"NEWS.md": "5204",
"NEWS.md": "6077",
"doc/news.txt": "24447"
},
"version": 6
Expand Down

0 comments on commit ce9049e

Please sign in to comment.