Add source-link plugin

This commit is contained in:
Sonny Bakker 2024-12-09 20:38:36 +01:00
parent e737c4f44b
commit f1196f4c42
4 changed files with 17 additions and 0 deletions

View file

@ -12,3 +12,4 @@ require('_telescope')
require('indent-blankline')
require('_nvim-tree')
require('colorscheme')
require('_source-link')

View file

@ -0,0 +1,9 @@
-- {{ ansible_managed }}
local source_link = require('source-link')
source_link.setup()
local opts = { noremap = true, silent = true }
vim.api.nvim_set_keymap('n', '<C-L>', '<cmd>:SourceOpen<CR>', opts)