kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

fix keymap for treesitter incremental selection. 'c' to 'C' for CTRL

Open rosstimo opened this issue 2 years ago • 3 comments

fix keymap for treesitter incremental selection. 'c' to 'C' for CTRL

rosstimo avatar Dec 25 '22 21:12 rosstimo

In the incremental selection section the "<c-space>" for example wasn't working for me. Changing the keymap to "<C-space>" worked as expected for CTRL + SPACE key sequence. All other keymaps had the capital C for CTRL.

rosstimo avatar Dec 25 '22 22:12 rosstimo

What operating system? I didn't think it needed to be capitalized.

tjdevries avatar Dec 26 '22 03:12 tjdevries

the capital 'C' is not needed, and it's technically <C-Space> (capital 'S') as well, :h control, so if it did matter then setting <C-space> shouldn't work.

craigmac avatar Dec 26 '22 14:12 craigmac

I apologize for creating useless noise. My configuration must not have been properly loaded when I first noticed the key maps weren't working. I fooled myself when I saved, restarted and everything worked as expected. My bad for not testing to see if I could bring the problem back. Sincerely swepped up in my own enthusiasm.

rosstimo avatar Dec 26 '22 18:12 rosstimo