Right Mark is a Neovim plugin that puts mark indicators in a gutter on the right-hand side. Having marks displayed this way means that mark indicators don't need to vie for priority with other elements of the gutter, such as LSP signs.
This plugin was inspired by:
With lazy.nvim:
return {
"trevorbonas/right-mark.nvim",
config = function()
require("right-mark").setup({})
end
}With vim-plug:
Plug 'trevorbonas/right-mark.nvim'The following user commands are provided:
-- Deletes the mark that the cursor is currently on the same line as.
vim.keymap.set('n', '<leader>rd', ':RightMarkDelete<CR>', { noremap = true, silent = true })
-- Toggles Right Mark.
vim.keymap.set('n', '<leader>rt', ':RightMarkToggle<CR>', { noremap = true, silent = true })