Commit graph

6 commits

Author SHA1 Message Date
Gered 905efed668 switch completion list abort keymap to Ctrl+C
so as to not overload Esc, which has been a little frustrating to me.

sometimes i find myself with a completion list open, and realizing i
want to switch to normal mode to do something. so i hit Esc only once
thinking that will switch me to normal mode ... but because a
completion list was open, that single Esc key press only aborted/closed
the completion list and left me in insert mode ... which i then don't
realize and end up accidentally typing a bunch of gibberish in to the
buffer instead.
2024-09-08 10:59:28 -04:00
Gered dc90a7dd71 adjust completion list keymaps
disable up/down arrow key navigation in the completion list. up/down
arrow keys will instead close the list. this helps reduce the feeling
of interruption i sometimes get when a completion list is open but i
(for whatever reason) need to navigate away from the current cursor
position, which would otherwise require either accepting the completion
or continuing to type at the cursor, or cancelling the completion with
the escape key.

it's a small thing, but this helps reduce some annoyances/frustrations
with auto-completion by having less overloading of the cursor keys
while in insert mode

ctrl-j and ctrl-k now behave identically to the old completion list
up/down arrow key mappings.

also the escape key mapping now performs an abort instead of just
closing the list. this feels a little bit more appropriate, but i'll
probably have to try this out for a while and see if i feel like it is
an improvement or just extra confusion.
2024-09-06 21:43:30 -04:00
Gered ce0b408976 add completion list keymapping to close the list 2024-09-03 18:56:18 -04:00
Gered aa77aab59a add cmp-nvim-lsp-signature-help for automatic function param help popup 2024-09-03 17:10:52 -04:00
Gered 344ba497eb filter out snippets from completion suggestions 2024-09-03 16:48:56 -04:00
Gered a9ecc491de modularize & enable more plugins, remove some kickstart comment blocks 2024-09-01 16:38:18 -04:00