wishlist icon indicating copy to clipboard operation
wishlist copied to clipboard

A plugin to flash the cursor like "beaacon"

Open voyeg3r opened this issue 3 years ago • 6 comments

https://github.com/DanilaMihailov/beacon.nvim

I already have something like this:

-- https://vi.stackexchange.com/questions/31206
M.flash_cursorline = function()
    -- local cursorline_state = vim.opt.cursorline:get()
    vim.opt.cursorline = true
    vim.cmd([[hi CursorLine guifg=#FFFFFF guibg=#FF9509]])
    vim.fn.timer_start(200, function()
        vim.cmd([[hi CursorLine guifg=NONE guibg=NONE]])
        vim.opt.cursorline = false
    end)
end

But it does not appears cool like beacon

voyeg3r avatar Feb 19 '22 18:02 voyeg3r

you are looking for a plugin that already exists?

max397574 avatar Feb 19 '22 19:02 max397574

you are looking for a plugin that already exists?

From the README of this repo:

A public catalogue of Lua plugins Neovim users would like to see exist.

From beacon.nvim:

image

rodamaral avatar Feb 20 '22 15:02 rodamaral

oh didn't realize that

max397574 avatar Feb 20 '22 15:02 max397574

I think you're looking for specs.nvim

mcauley-penney avatar Feb 20 '22 23:02 mcauley-penney

specs.nvim flashes the cursor on movement, not on demand (i.e. it does not have a where-is-my-cursor feature).

nkakouros avatar Mar 08 '22 23:03 nkakouros

@nkakouros beacon.nvim, a new lua rewrite of beacon, has that feature

mcauley-penney avatar Apr 14 '22 18:04 mcauley-penney