I have made a few mappings for my personal configuration file, and I think I am getting a hang of it, however, I am wondering if there are any particular tricks to create mappings for command-line mode.
I know that there are keys like Ctrl+h for deleting the character before the cursor or Ctrl+Left for moving one
WORD left, and I know how to remap these, but I am unsure what my options are when I want to make new ones. If I wanted a key (say Ctrl+_) which deletes the content of a parenthesis in insert mode, I would do this with:
imap <C-_> <C-O>dib
However, this relies on using normal mode, and I am unsure how, if possible, I could achieve something like that for command-line mode.