diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b99ce74..084dc13 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -18,6 +18,7 @@ Plug 'itchyny/lightline.vim' " fancy statusline Plug 'junegunn/fzf.vim' " quickly jump files using fzf Plug 'lervag/vimtex' , {'for' : 'tex'} " tex library for autocompletion Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'} " show tags +Plug 'mattesgroeger/vim-bookmarks' " Set Bookmarks Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} " autocompletion Plug 'qpkorr/vim-renamer' " bulk renamer Plug 'raimondi/delimitmate' " automatic closing of brackets @@ -66,6 +67,19 @@ nmap :FZF " majutsushi/tagbar map :TagbarToggle +" mattesgroeger/vim-bookmarks +let g:bookmark_no_default_key_mappings = 1 +nmap mm BookmarkToggle +nmap ma BookmarkAnnotate +nmap ms BookmarkShowAll +nmap mn BookmarkNext +nmap mb BookmarkPrev +nmap mc BookmarkClear +highlight BookmarkSign ctermbg=NONE ctermfg=160 +highlight BookmarkLine ctermbg=194 ctermfg=NONE +let g:bookmark_sign = 'B' +let g:bookmark_highlight_lines = 1 + " neoclide/coc.nvim inoremap \ pumvisible() ? "\" :