this post was submitted on 25 Jul 2024
2 points (100.0% liked)

Neovim

2711 readers
1 users here now

founded 2 years ago
MODERATORS
 

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.

top 1 comments
sorted by: hot top controversial new old
[–] variouslegumes@reddthat.com 2 points 10 months 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.