1
0
Fork 0

nvim: add copyright-updater

This commit is contained in:
tastytea 2023-01-26 11:14:49 +01:00
parent cff89b2342
commit 2f9fadc99f
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 12 additions and 0 deletions

View File

@ -165,6 +165,9 @@ require('packer').startup({ function(use)
'https://github.com/lambdalisue/suda.vim',
tag = '*'
}
use {
'https://github.com/LittleMorph/copyright-updater.nvim'
}
-- coding
use {

View File

@ -128,6 +128,7 @@ local function mind_project()
vim.cmd.lcd(require('my.functions').get_project_root())
mind.open_project()
end
map('n', '<C-F9>', mind.open_main, 'Open main mind')
map('n', '<F33>', mind.open_main, 'Open main mind') -- <C-F9> = <F33>
map('n', '<S-F9>', mind_project, 'Open project mind')
@ -161,3 +162,11 @@ map('n', '<Leader>ja', require('harpoon.mark').add_file, 'Add file')
map('n', '<Leader>jm', require('harpoon.ui').toggle_quick_menu, 'Quick menu')
require('hex').setup({})
require('copyright-updater').setup({
enabled = true,
return_cursor = true,
mappings = nil,
limiters = {
range = '1,10'
}
})