mig packer to lazy and archive

Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
d0zingcat
2024-06-03 11:18:10 +08:00
parent bd35155080
commit 65b75edd9a
56 changed files with 764 additions and 25 deletions

View File

@@ -0,0 +1,18 @@
local cmd = vim.cmd
local g = vim.g
local map = require('utils').map
-- vim-bookmarks
require('telescope').load_extension('vim_bookmarks')
g['bookmark_sign'] = ''
g['bookmark_highlight_lines'] = 1
g['bookmark_no_default_key_mappings'] = 1
cmd([[highlight BookmarkSign ctermbg=NONE ctermfg=160]])
cmd([[highlight BookmarkLine ctermbg=194 ctermfg=NONE]])
map('n', 'mm', ':BookmarkToggle<CR>')
map('n', 'mA', ':Telescope vim_bookmarks all<CR>')
map('n', 'ma', ':Telescope vim_bookmarks current_file<CR>')
-- map("n", "ma", ":BookmarkShowAll<CR>")