about summary refs log tree commit diff
path: root/dotfiles/nvim/init.lua
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-09-11 21:16:05 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-09-11 21:16:05 +0200
commit98b94f217d32429d8de6ba90783700fbdc830fc4 (patch)
tree1947abd4106e69c278da2daf85d1337eb94db18e /dotfiles/nvim/init.lua
parentUpdate (diff)
downloadnixos-config-98b94f217d32429d8de6ba90783700fbdc830fc4.tar.gz
nixos-config-98b94f217d32429d8de6ba90783700fbdc830fc4.tar.bz2
nixos-config-98b94f217d32429d8de6ba90783700fbdc830fc4.zip
dotfiles: nvim: add gitlinker
Diffstat (limited to '')
-rw-r--r--dotfiles/nvim/init.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua
index 1eaeef9..8c1af9b 100644
--- a/dotfiles/nvim/init.lua
+++ b/dotfiles/nvim/init.lua
@@ -238,7 +238,17 @@ require('lazy').setup({
   {'echasnovski/mini.pairs', opts = {} },
 
   'github/copilot.vim',
-  
+
+  {
+    "linrongbin16/gitlinker.nvim",
+    cmd = "GitLink",
+    config = function()
+      require('gitlinker').setup {
+        vim.keymap.set('n', '<leader>gl', require('gitlinker').link, { desc = '[G]it [L]ink' })
+      }
+    end
+  },
+
   { 'klen/nvim-test',
     config = function()
       require('nvim-test.runners.go-test'):setup {