amarakon / nvim-unfocused-cursor

Hide cursor and cursor column when the window is not focused

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neovim Unfocused Cursor

Contents

This plugin simply hides the cursor and cursor column when the window is not focused. This makes more sense than the default behaviour because you will not need to move the cursor if you are not on the window, let alone see it.

Installation

Vim Plug

Plug "amarakon/nvim-lua-script"

Neovim

`# user` git clone https://github.com/amarakon/nvim-sensible ~/.local/share/nvim/site/pack/default/start/nvim-sensible

Setup

In order to use this plugin, you need to run the setup function. If you are doing this in Vim Script instead of Lua, put lua in front of the following code.

require("unfocused-cursor").setup()

About

Hide cursor and cursor column when the window is not focused

License:GNU Affero General Public License v3.0


Languages

Language:Lua 100.0%