formarks icon indicating copy to clipboard operation
formarks copied to clipboard

jump:zle:12: widgets can only be called when ZLE is active

Open albertfgu opened this issue 2 years ago • 2 comments

I've been using this plugin for awhile and it works great, although I've had this issue for a long time and only now thought to file an Issue in case you have a solution. Everytime I jump, I get the message

jump:zle:12: widgets can only be called when ZLE is active

but it does jump to the right directory. Why does this warning appear and how can I suppress it?

albertfgu avatar Dec 07 '22 19:12 albertfgu

i got the same error.

washonrails avatar May 12 '23 20:05 washonrails

I found a solution which works on nixos home-manager, but should work on other distro as well. In Home-Manager:

programs.zsh.initExtra = ''
      bindkey '^g' jump
      zle -N jump
    '';

In other distro: Add to file .zshrc

bindkey '^g' jump
zle -N jump

Kartanovicius avatar Oct 27 '23 00:10 Kartanovicius