It’s broader than a Neovim specific mapping, I’ve changed the system keyboard mapping of <Caps Lock> to <Esc> and <F9> to <Caps Lock>.

I think mapping <Caps Lock> to <Esc> isn’t uncommon for Neovim users. But I like having <Caps Lock> available for non Neovim purposes.

  • variouslegumes@reddthat.com
    link
    fedilink
    arrow-up
    2
    ·
    9 days ago

    I made a function bound to <leader>cd that opens up the file editor in the directory of the currently open buffer. I use it all the time. I’ll post the snippet if anyone is interested.