Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/delphinus/auto-cursorline.nvim
Show / hide cursorline automatically
https://github.com/delphinus/auto-cursorline.nvim
lua neovim neovim-plugin
Last synced: 5 days ago
JSON representation
Show / hide cursorline automatically
- Host: GitHub
- URL: https://github.com/delphinus/auto-cursorline.nvim
- Owner: delphinus
- Created: 2022-05-05T05:29:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T22:12:54.000Z (about 1 year ago)
- Last Synced: 2024-08-03T13:06:00.456Z (4 months ago)
- Topics: lua, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 9.77 KB
- Stars: 17
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auto-cursorline.nvim
![demo](https://user-images.githubusercontent.com/1239245/56327655-4c169000-61b6-11e9-8cb8-23d3ca1773a7.gif)
Show / hide cursorline in connection with cursor moving.
## What's this?
This plugin manages the `'cursorline'` option to show only when you need.
NOTE: This plugin is for Neovim (>= 0.7.0) only.
NOTE: This is a Lua version of [vim-auto-cursorline][].[vim-auto-cursorline]: https://github.com/delphinus/vim-auto-cursorline
## Install
In case, you use [packer.nvim][].
[packer.nvim]: https://github.com/wbthomason/packer.nvim
```lua
require("packer").startup(function()
use {
"delphinus/auto-cursorline.nvim",
config = function()
require("auto-cursorline").setup {}
end,
}
end)
```For usage and other settings, see the [doc][].
[doc]: doc/auto-cursorline.txt