nvim: add copyright-updater
This commit is contained in:
parent
cff89b2342
commit
2f9fadc99f
|
@ -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 {
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user