aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
AgeCommit message (Collapse)Author
2019-12-19Make visual and operator-pending mode mappings workextra-mode-mapsTeddy Wing
The existing `s:CRAndNohlsearch()` function doesn't work as-is in visual or operator-pending modes. Add special handling for these modes that results in the <CR> command mode mapping behaving differently in order to support a selection. TODO: Need to handle `cg/` `cg?`. Currently this inserts `hlsearch<CR>gv`.
2019-12-14Add license (GNU GPLv3+)Teddy Wing
2019-12-14s:AddMapping(): Silence `:nohlsearch` outputTeddy Wing
The `silent!` command I was using didn't silence the `:nohlsearch` output after pressing `<CR>`. Use `<silent>` in the mapping instead to silence it, allowing the Nohai search commands to produce output similar to the regular `/` and `?` commands.
2019-12-14Move functions to autoload/Teddy Wing