add outline
This commit is contained in:
parent
06c0967548
commit
445f30a0fc
6
init.vim
6
init.vim
|
@ -27,7 +27,11 @@ colorscheme kanagawa
|
|||
let g:blamer_enabled = 1
|
||||
let g:startify_change_to_dir = 1
|
||||
let g:startify_change_to_vcs_root = 1
|
||||
let g:startify_bookmarks = map(filter(globpath('/home/robert/repos', "*", 0, 1), 'isdirectory(v:val)'), {_,val -> { split(val, '/')[-1]: val}})
|
||||
let g:startify_bookmarks = map(filter(globpath('/home/robert/repos', "*", 0, 1), 'isdirectory(v:val)'), {idx,val -> { "abcdefghijklmnopqrstuvwxyz"[idx]: '/home/robert/' .. join(split(val, '/')[2:-1], '/') .. '/'}})
|
||||
|
||||
let g:ale_fixers = {
|
||||
\ 'c': ['clang-format']
|
||||
\}
|
||||
|
||||
inoremap <silent><expr> <UP> coc#pum#visible() ? coc#pum#prev(1) : ""
|
||||
inoremap <silent><expr> <DOWN> coc#pum#visible() ? coc#pum#next(1) : ""
|
||||
|
|
|
@ -11,7 +11,7 @@ map("n", "<F3>", ":NvimTreeFindFileToggle<CR>")
|
|||
|
||||
map("n", "<F4>", ":Buffers<CR>")
|
||||
|
||||
map("n", "<F2>", ":TagbarToggle<CR>")
|
||||
map("n", "<F2>", ":Outline<CR>")
|
||||
map("n", "<leader>e", ":CocList diagnostics<CR>")
|
||||
|
||||
map("n", "<C-P>", ":Telescope find_files<cr>")
|
||||
|
|
|
@ -53,13 +53,13 @@ return {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate"
|
||||
},
|
||||
{
|
||||
"glacambre/firenvim",
|
||||
lazy = not vim.g.started_by_firenvim,
|
||||
build = function()
|
||||
vim.fn["firenvim#install"](0)
|
||||
end
|
||||
},
|
||||
-- {
|
||||
-- "glacambre/firenvim",
|
||||
-- lazy = not vim.g.started_by_firenvim,
|
||||
-- build = function()
|
||||
-- vim.fn["firenvim#install"](0)
|
||||
-- end
|
||||
-- },
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
config = function()
|
||||
|
@ -116,5 +116,16 @@ return {
|
|||
{
|
||||
"folke/todo-comments.nvim",
|
||||
opts = {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"hedyhli/outline.nvim",
|
||||
lazy = true,
|
||||
cmd = { "Outline" },
|
||||
opts = {
|
||||
preview_window = {
|
||||
auto_preview = true,
|
||||
auto_close = true
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue