Home

Awesome

keys.nvim

A neovim plugin that shows keystrokes. </br> Kind of like screen keys but inside neovim. <br /> WIP, contains bugs.

[!TIP] A better implementation of this plugin can be found at screenkey.nvim by @NStefan002

keys nvim

Installation

use { 'tamton-aquib/keys.nvim' }

Use cmd="KeysToggle" for lazy-loading.

Configuration

require("keys").setup {
    enable_on_startup = false,
    win_opts = {
        width = 25
        -- etc
    },
    -- TODO: more options later
}

Usage

Statusline component

This plugin exposes current_keys() function. <br /> To use it in statusline, set the provider as:

require("keys").current_keys(true)
-- `true` implies return it as a string rather than a table

❗ Make sure to set enable_on_startup = true inside setup()

TODO:

Notes to myself