hydra.nvim
hydra.nvim copied to clipboard
Bug: The hydra does not pickup the body correctly.
I tried using <Leader>s
for my split management hydra. But it was not recognized.
Instead it would register the space and s. As i use space as my leader i remaped it to nop
. So it would trigger a substitution and put me in insert mode.
Temp fix: hard code my leader which is space. so put <Space>s
as the body.
Can't reproduce. I added in my init.vim:
let mapleader = "\<Space>"
nmap <Space> <Nop>
and bind <leader>s
as hydra body, and everything works.
Does vim.g.mapleader = " "
and vim.g.mapleader = "<Space>"
differ ? Because i have the former. I guess that could be it. I also use the nightly neovim:
nvim --version
NVIM v0.8.0-dev
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by nixbld
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "
/nix/store/g5102km6mb9imps22lr1l46l98d3awm8-neovim-unwrapped-master/share/nvim
"
Run :checkhealth for more info