Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wsdjeg/bookmarks.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bookmarks.nvim

bookmarks.nvim is a simple bookmarks manager for neovim. It is inspired by bookmarks.vim.

GitHub License GitHub Issues or Pull Requests GitHub commit activity GitHub Release

Installation

with nvim-plug:

require('plug').add({
    {
        'wsdjeg/bookmarks.nvim',
        keys = {
            { 'n', 'mm', '<Plug>(bookmarksToggle)', { noremap = false } },
            { 'n', 'mi', '<Plug>(bookmarksAnnotation)', { noremap = false } },
            { 'n', 'mn', '<Plug>(bookmarksNext)', { noremap = false } },
            { 'n', 'mc', '<Plug>(bookmarksClear)', { noremap = false } },
            { 'n', 'ma', '<Plug>(bookmarksListAll)', { noremap = false } },
            { 'n', 'mp', '<Plug>(bookmarksPrevious)', { noremap = false } },
        },
        opts = {
            sign_text = '=>',
            sign_hl_group = 'Normal',
        },
        depends = { { 'wsdjeg/notify.nvim' }, { 'wsdjeg/logger.nvim' } },
    },
})

Mappings

mappings description
<Plug>(bookmarksToggle) toggle bookmark of current line
<Plug>(bookmarksAnnotation) add annotation bookmark
<Plug>(bookmarksNext) jump to next bookmark in current buffer
<Plug>(bookmarksClear) clear bookmarks in current buffer
<Plug>(bookmarksListAll) list all bookmarks
<Plug>(bookmarksPrevious) jump to previous bookmark in current buffer

Telescope extension

This plugin also provides a telescope extension, which can be started using the :Telescope bookmarks command.

Picker.nvim source

:Picker bookmarks

Self-Promotion

Like this plugin? Star the repository on GitHub.

Love this plugin? Follow me on GitHub.

License

This project is licensed under the GPL-3.0 License.

About

simple bookmarks manager for neovim

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •  

Languages