nvim: add mind
This commit is contained in:
parent
7783bb9c0d
commit
1abe12ed87
|
@ -11,7 +11,7 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
|||
vim.cmd [[packadd packer.nvim]]
|
||||
end
|
||||
|
||||
require('packer').startup({function(use)
|
||||
require('packer').startup({ function(use)
|
||||
use { 'https://github.com/wbthomason/packer.nvim' }
|
||||
|
||||
-- settings
|
||||
|
@ -101,6 +101,10 @@ require('packer').startup({function(use)
|
|||
}
|
||||
}
|
||||
use { 'https://codeberg.org/tastytea/bug-reference.nvim' }
|
||||
use {
|
||||
'https://github.com/phaazon/mind.nvim',
|
||||
tag = '*'
|
||||
}
|
||||
|
||||
-- coding
|
||||
use {
|
||||
|
@ -144,10 +148,11 @@ require('packer').startup({function(use)
|
|||
require('packer').install()
|
||||
end
|
||||
end,
|
||||
config = {
|
||||
git = {
|
||||
depth = 999999
|
||||
}}})
|
||||
config = {
|
||||
git = {
|
||||
depth = 999999
|
||||
}
|
||||
} })
|
||||
|
||||
-- source file, install and compile plugins when this file is written
|
||||
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