summaryrefslogtreecommitdiff
path: root/src/normal.hh
AgeCommit message (Collapse)Author
2023-03-11Make linewise bracketed paste match P behaviorJohannes Altmanninger
This is experimental. Testing will reveal if this is the desired behavior.
2019-11-09Add static or const where usefulJason Felice
2019-05-13Support discarding selections in exec/eval -iterselMaxime Coste
Only fail if all selections are discarded. Fixes #2841
2019-01-24Header and dependency cleanupMaxime Coste
2018-02-12Add declare-user-mode / enter-user-mode commandsDelapouite
2017-10-20Make the normal mode keymap a compile time hash mapMaxime Coste
This hash map is now fully constexpr, and ends up stored in the read only data segment instead of being recomputed at each startup.
2017-10-20Move keymap as an implementation detail of the normal mode keysMaxime Coste
Only expose a free function that tries to get the NormalCmd from a key.
2017-03-16Use a HashMap to store the normal mode keymapMaxime Coste
2015-03-09Use a static array to store the keymapMaxime Coste
2015-03-08Use a sorted array for keymap rather than an unordered mapMaxime Coste
with ~100 entry, a binary search finds in < 7 step, unordered map is overkill.
2015-03-05Rework keymap to use function pointer rather than std::functionMaxime Coste
2014-12-16Rework hashing, use a more extensible framework similar to n3876 proposalMaxime Coste
std::hash specialization is a pain to work with, stop using that, and just specialize a 'size_t hash_value(const T&)' free function.
2014-11-28Support selecting yank/paste register with "Maxime Coste
2014-07-10Add docstring for normal mode commands and display them if autoinfo >= 2Maxime Coste
2014-05-25Move insert/erase methods from normal.cc to member functions in SelectionListMaxime Coste
It does look like the Editor class is attempting a sneaky comeback...
2013-12-15move InsertMode to normal.hhMaxime Coste
2013-10-10Remove Context::numeric_param, pass it directly to normal mode functionsMaxime Coste
2013-04-12move normal mode implementation to normal.{cc,hh}Maxime Coste