summaryrefslogtreecommitdiff
path: root/src/alias_registry.hh
AgeCommit message (Collapse)Author
2024-08-12Reduce headers dependency graphMaxime Coste
Move more code into the implementation files to reduce the amount of code pulled by headers.
2024-04-12Introduce "local" scope in evaluate-commandsMaxime Coste
When using `eval` a new scope named 'local' gets pushed for the whole evaluation, this makes it possible to temporarily set an option/hook/alias... Local scopes nest so nested evals do work as expected. Remove the now trivial with-option command
2018-04-07Make FaceRegistry scopedMaxime Coste
set-face now takes a scope argument, and faces can be overridden on a buffer or window basis. colorscheme apply on global scope, which should be good enough for now. Fixes #1411
2018-02-20Re-introduce aliases in command name completionMaxime Coste
Aliases are considered again in command name completion, but only if they are more than 3 charactes long. This should prevent cluttering with aliases while still letting long ones being completed.
2017-08-04Fix SafeCountable and RefCountable copy/move logicMaxime Coste
The safe and ref counts should not get copied around.
2017-03-24Remove some unneeded type declarations in AliasRegistryMaxime Coste
2017-03-16Fixes some clang-tidy warning and add a few missing meta.hh includeMaxime Coste
2017-03-07Replace IdMap with HashMapMaxime Coste
2017-03-04Remove unused AliasRegistry::flatten_aliases methodMaxime Coste
We do not complete alias names anymore, so this method is not needed.
2016-03-08Use ranked match based completion for command namesMaxime Coste
2015-11-17Fix alias completion and overwrittingMaxime Coste
2015-09-16Use a sorted IdMap for aliasesMaxime Coste
2015-09-06Complete aliases in command promptMaxime Coste
2015-02-19Rename safe_ptr and ref_ptr to SafePtr and RefPtrMaxime Coste
2015-01-14Even more memory trackingMaxime Coste
2015-01-12replace all std::vector with VectorMaxime Coste
2014-12-23Remove trailing blank linesMaxime 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-12Cleanup includesMaxime Coste
2014-10-30Add scope class and encapsulate Options, Keymaps, Aliases and Hooks in itMaxime Coste
2014-10-30Add scoped aliasesMaxime Coste
aliases are now stored in window, buffer, or globally.