Giter Club home page Giter Club logo

screenkey.nvim's Introduction

NStefan002's GitHub stats

Top Langs

screenkey.nvim's People

Contributors

github-actions[bot] avatar nstefan002 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

screenkey.nvim's Issues

Checklist of suggested features

  • Allow blacklisting certain buffers (by @Davidyz in #6)
  • Clear Screenkey after some time (by u/evergreengt on Reddit)
  • Add a debug option (by @Makaze)
  • Key grouping (by u/OkDifference646 on Reddit)
  • Option to display <leader> (by u/OkDifference646 on Reddit)
  • Make window persistent - cannot be closed by something like <c-w>o (by u/yetAnotherOfMe on Reddit)
  • Screenkey should always be on the visible tab (by u/yetAnotherOfMe on Reddit)

If you want to suggest any features, feel free to open up a feature request.

counts numbers only show up after a non-number key is pressed in normal & visual mode

Problem

In normal mode and visual mode, if I want to do 11j to go down 11 lines, 1 1 will not show up until j is pressed, and 1 1 j will show up at the same time.

Please correct me if the plugin is not intended to capture the counts input, because it captures the number input just fine in insert mode.

Steps to reproduce

No response

Expected behavior

I'm expecting the behavior to be like: 1 -> 1 1 -> 1 1 j.

Neovim version (nvim -v)

NVIM v0.9.5

Terminal name/version

zsh 5.9

No text visible in window: Expose highlights?

Problem

I can't see anything in the window on any theme. I'm not sure if it's a highlights issue or it's just not firing. How can I debug?

Steps to reproduce

  1. Use nvchad
  2. :Screenkey
  3. Start navigating
  4. Nothing shows in the window

Expected behavior

The keys show in the window

Neovim version (nvim -v)

NVIM v0.10.0-dev-1405e5c AND v0.9.5

Terminal name/version

alacritty 0.14.0-dev

Doesn't show any keys

Problem

The window shows up, but when I type something, nothing gets updated, it remains as a blank window.

Steps to reproduce

Here is my config:

return {
  {
    "NStefan002/screenkey.nvim",
    config = function()
      local sk = require("screenkey")
      sk.setup()
      vim.keymap.set("n", "<leader>sk", sk.toggle)
    end,
  },
}

Expected behavior

Window should start showing last typed characters.

Terminal name/version

wezterm 20240203-110809-5046fc22

Allow blacklisting certain buffers

When opening a terminal buffer inside neovim (I tested with :terminal and toggleterm.nvim) this plugin shows the password for sudo commands. I'm not sure how common it is to run commands with sudo from within neovim, but I believe this is the same kind of security risk that this plugin is trying to solve. It would be nice if we could have an entry in the configuration that does not record the key stroke in certain filetype/filename patterns. (We could write autocmd by ourselves to do this but I think it's worth being added as a default because it will be safer and will help prevent accidental password leak)

Error executing vim.on_key Lua callback: vim/_editor.lua:0: Error executing 'on_key' with ns_ids '28'

Error executing vim.on_key Lua callback: vim/_editor.lua:0: Error executing 'on_key' with ns_ids '28' Messages: ...al/share/nvim/lazy/screenkey.nvim/lua/screenkey/init.lua:268: attempt to get length of local 'typed' (a nil value) stack traceback: [C]: in function 'error' vim/_editor.lua: in function <vim/_editor.lua:0>

i got that error after type something in keyboard
i just install by followed the Lazy
error-nvim

os: Arch
terminal: Kitty

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.