nvim: add mind
This commit is contained in:
parent
7783bb9c0d
commit
1abe12ed87
|
@ -101,6 +101,10 @@ require('packer').startup({function(use)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
use { 'https://codeberg.org/tastytea/bug-reference.nvim' }
|
use { 'https://codeberg.org/tastytea/bug-reference.nvim' }
|
||||||
|
use {
|
||||||
|
'https://github.com/phaazon/mind.nvim',
|
||||||
|
tag = '*'
|
||||||
|
}
|
||||||
|
|
||||||
-- coding
|
-- coding
|
||||||
use {
|
use {
|
||||||
|
@ -147,7 +151,8 @@ end,
|
||||||
config = {
|
config = {
|
||||||
git = {
|
git = {
|
||||||
depth = 999999
|
depth = 999999
|
||||||
}}})
|
}
|
||||||
|
} })
|
||||||
|
|
||||||
-- source file, install and compile plugins when this file is written
|
-- source file, install and compile plugins when this file is written
|
||||||
vim.api.nvim_create_augroup('config_plugins', { clear = true })
|
vim.api.nvim_create_augroup('config_plugins', { clear = true })
|
||||||
|
|
|
@ -100,3 +100,10 @@ require('lualine').setup({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local mind = require('mind')
|
||||||
|
mind.setup({})
|
||||||
|
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.open_main, 'Open main mind')
|
||||||
|
map('n', '<F21>', mind.open_project, 'Open project mind') -- <S-F9> = <F21>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user