summaryrefslogtreecommitdiff
path: root/src/command_manager.cc
AgeCommit message (Collapse)Author
2014-11-15More const String& to StringViewMaxime Coste
2014-11-11Remove %rec{...} strings, now "..." strings expand their contentMaxime Coste
2014-11-04minor code cleanupMaxime Coste
2014-11-04Use unescape rather than a regex in command manager parsingMaxime Coste
2014-10-30Add scoped aliasesMaxime Coste
aliases are now stored in window, buffer, or globally.
2014-10-13Refactor regex uses, do not reference boost except in regex.hhMaxime Coste
2014-08-03Change escaping method for command completionMaxime Coste
2014-07-30Add access to specific env vars in %val{...} evaluationMaxime Coste
2014-07-15Fix comment parsing error in CommandManagerMaxime Coste
2014-06-26Style fixesMaxime Coste
2014-06-26Fix recursive string parsing, correct handling of escapesMaxime Coste
2014-06-21Use main selection index as default when accessing only one register valueMaxime Coste
Fixes #117
2014-06-18Add a %val{...} expand typeMaxime Coste
%val{name} gives access to values given in shell through $kak_<name>
2014-06-06Add support for long names for registersMaxime Coste
We can now access register / with the name slash, * with star, and | with pipe Fixes #23
2014-06-06Replace CommandManager::register_command*s* with register_aliasMaxime Coste
2014-05-07Improve error reporting when parsing commandsMaxime Coste
*debug* will contain line and column informations along with the responsible command name.
2014-05-05Wrap command completion containing spaces, semicolons or quotes in double quotesMaxime Coste
2014-05-03Add command aliases in command infoMaxime Coste
Fixes #101
2014-04-21Use StringView in CommandManagerMaxime Coste
2014-04-08formatting changes in command_manager.ccMaxime Coste
2014-04-03Add %rec{...} string that recursively expand %block insideMaxime Coste
the result is then used as one token
2014-03-05Fix segfault in get_until_delimiterMaxime Coste
2014-03-02Add a docstring to commandsMaxime Coste
2014-03-02Consistently name -foo things 'switches'Maxime Coste
2014-03-02Add command switches information, and automatically display itMaxime Coste
2014-03-02All commands now take directly a parameter parserMaxime Coste
The command parameters description are now stored in a ParameterDesc structure.
2014-02-27Tolerate invalid %...{} when completingMaxime Coste
2014-01-27Rework command completion to allow partial token completionMaxime Coste
Implement hook completion. fixes #44
2014-01-03CommandManager: support completion of chained commandsMaxime Coste
Command completion now work after a command separator (;) fixes #19
2013-12-30Support completing %opt{...} and %sh{...} in command managerMaxime Coste
2013-12-29Few cleanups in the command line parsing codeMaxime Coste
2013-12-24CommandManager: use aliases for commands rather than duplicating dataMaxime Coste
Completion now only proposes full command names
2013-11-17move is_horizontal_blank to unicode.hhMaxime Coste
2013-11-14indent cleanup, correct erroneous 3 spaces indentMaxime Coste
2013-11-12Add support for hidden commands, that will not show on completionMaxime Coste
2013-11-04Add automatic completion display in prompt modeMaxime Coste
Controlled by the autoshowcompl option Completers now take a CompletionFlag parameter, used to specify we want fast completion (tag completion can be slow, we do not want to run it if not explicitely wanted by the user).
2013-09-23Add prefix_match function and use it instead of adhoc codeMaxime Coste
2013-07-28Minor code cleanupsMaxime Coste
2013-07-26memoryview: always pass by valueMaxime Coste
2013-06-27change string parsing behaviour in command managerMaxime Coste
* single and doubly quoted strings correctly remove the \ when their delimiter is quoted ('\'' is interpreted as ', not \') * %{} strings do not support quoting when using matching pairs, so %{\} is interpreted as \, however when using same ending character as delimiter quoting still works: %~\~~ is interpreted as ~.
2013-06-19do not use std::{to_string,stoi} as they cause problems with cygwinMaxime Coste
2013-05-13Use more std::* for string handlingMaxime Coste
2013-04-12remove String::replace, use boost::regex_replace directlyMaxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2013-03-19CommandManager: fix some crashesMaxime Coste
2013-03-05Strongly typed options supportMaxime Coste
* non builtins options require declaration using the decl command * At the moment, only int and string options are supported, however the goal of this change is to provide a consistent way to support more complex options, namely lists and booleans
2013-01-04various code style fixesMaxime Coste
2012-12-15Command line parsing: support empty stringsMaxime Coste
2012-11-22code style cleanup in CommandManagerMaxime Coste