add bookmarks to startify
This commit is contained in:
parent
63ce97140d
commit
06c0967548
3
init.vim
3
init.vim
|
@ -25,8 +25,9 @@ set nofoldenable
|
||||||
colorscheme kanagawa
|
colorscheme kanagawa
|
||||||
|
|
||||||
let g:blamer_enabled = 1
|
let g:blamer_enabled = 1
|
||||||
let g:startify_change_to_dir = 0
|
let g:startify_change_to_dir = 1
|
||||||
let g:startify_change_to_vcs_root = 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}})
|
||||||
|
|
||||||
inoremap <silent><expr> <UP> coc#pum#visible() ? coc#pum#prev(1) : ""
|
inoremap <silent><expr> <UP> coc#pum#visible() ? coc#pum#prev(1) : ""
|
||||||
inoremap <silent><expr> <DOWN> coc#pum#visible() ? coc#pum#next(1) : ""
|
inoremap <silent><expr> <DOWN> coc#pum#visible() ? coc#pum#next(1) : ""
|
||||||
|
|
|
@ -28,13 +28,13 @@ vim.filetype.add({
|
||||||
local colors = require("tokyonight.colors").setup()
|
local colors = require("tokyonight.colors").setup()
|
||||||
|
|
||||||
require("editorconfig").properties.trim_trailing_whitespace = false
|
require("editorconfig").properties.trim_trailing_whitespace = false
|
||||||
|
require('neoscroll').setup()
|
||||||
|
|
||||||
require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
update_focused_file = {
|
update_focused_file = {
|
||||||
enable = true
|
enable = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
require('neoscroll').setup()
|
|
||||||
|
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
ensure_installed = { "c", "go", "typescript" },
|
ensure_installed = { "c", "go", "typescript" },
|
||||||
|
@ -137,3 +137,9 @@ vim.api.nvim_create_autocmd("TermClose", {
|
||||||
})
|
})
|
||||||
|
|
||||||
require("ibl").setup()
|
require("ibl").setup()
|
||||||
|
|
||||||
|
vim.g.barbar_auto_setup = false
|
||||||
|
|
||||||
|
require'barbar'.setup {
|
||||||
|
letters = 'asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP'
|
||||||
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ map("n", "<F2>", ":TagbarToggle<CR>")
|
||||||
map("n", "<leader>e", ":CocList diagnostics<CR>")
|
map("n", "<leader>e", ":CocList diagnostics<CR>")
|
||||||
|
|
||||||
map("n", "<C-P>", ":Telescope find_files<cr>")
|
map("n", "<C-P>", ":Telescope find_files<cr>")
|
||||||
map("n", "<leader>s", ":Telescope live_grep glob_pattern=*.{ts,html,c,h,go,json,py,sh,lua,vim,rs,txt}<cr>")
|
map("n", "<leader>s", ":Telescope live_grep glob_pattern=*.{ts,html,c,cc,cpp,h,go,json,py,sh,lua,vim,rs,txt}<cr>")
|
||||||
|
|
||||||
map("n", "<leader>sc", ":noh<CR>")
|
map("n", "<leader>sc", ":noh<CR>")
|
||||||
|
|
||||||
|
@ -58,3 +58,5 @@ map("v", "<A-k>", ":m '<-2<CR>gv=gv")
|
||||||
|
|
||||||
map('n', '<leader>p', '<Cmd>BufferPick<CR>', opts)
|
map('n', '<leader>p', '<Cmd>BufferPick<CR>', opts)
|
||||||
map('n', '<leader>d', '<Cmd>BufferPickDelete<CR>', opts)
|
map('n', '<leader>d', '<Cmd>BufferPickDelete<CR>', opts)
|
||||||
|
|
||||||
|
map('n', '<leader>g', ':DiffviewOpen<CR>')
|
||||||
|
|
Loading…
Reference in a new issue