From 9ace7b584dabf562b29deeda9230064e305fcd30 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 10 Dec 2019 21:27:48 +1100 Subject: [PATCH] Kakoune v2019.12.10 --- doc/pages/changelog.asciidoc | 5 +++- src/main.cc | 49 +++++++++++++++++++++++------------- 2 files changed, 36 insertions(+), 18 deletions(-) diff --git a/doc/pages/changelog.asciidoc b/doc/pages/changelog.asciidoc index 25494519fe..fc9dd94c46 100644 --- a/doc/pages/changelog.asciidoc +++ b/doc/pages/changelog.asciidoc @@ -3,7 +3,7 @@ This changelog contains major and/or breaking changes to Kakoune between released versions. -== Development version +== Kakoune 2019.12.10 * Arrow keys and ``, `` are not normal mode commands anymore but default key mappings. @@ -19,6 +19,9 @@ released versions. * `info` supports markup with the `-markup` switch +* `rename-buffer` gained `-file` and `-scratch` switches + to support converting buffer types. + == Kakoune 2019.07.01 * Re-organized bundled script files directory hierarchy. diff --git a/src/main.cc b/src/main.cc index 6e11ea5b28..16b4a1a920 100644 --- a/src/main.cc +++ b/src/main.cc @@ -44,42 +44,57 @@ struct { unsigned int version; const char* notes; } constexpr version_notes[] = { { - 0, + 20191210, "» ModeChange parameter has changed to contain push/pop\n" " ${Mode}Begin/${Mode}End hooks were removed\n" }, { 20190701, "» %file{...} expansions to read files\n" "» echo -to-file to write to file\n" - "» completions option have an on select command instead of a docstring\n" + "» completions option have an on select command instead of\n" + " a docstring\n" "» Function key syntax do not accept lower case f anymore\n" - "» shell quoting of list options is now opt-in with $kak_quoted_...\n" + "» shell quoting of list options is now opt-in with\n" + " $kak_quoted_...\n" }, { 20190120, "» named capture groups in regex\n" "» auto_complete option renamed to autocomplete\n" }, { 20181027, - "» define-commands -shell-completion and -shell-candidates has been renamed\n" - "» exclusive face attributes is replaced with final (fg/bg/attr)\n" - "» (merge consecutive) moved to to make backward \n" + "» define-commands -shell-completion and -shell-candidates\n" + " has been renamed\n" + "» exclusive face attributes is replaced with final\n" + " (fg/bg/attr)\n" + "» (merge consecutive) moved to to make \n" + " backward \n" "» remove-hooks now takes a regex parameter\n" }, { 20180904, "» Big breaking refactoring of various Kakoune features,\n" - " configuration might need to be updated see `:doc changelog` for details\n" - "» define-command -allow-override switch has been renamed -override\n" + " configuration might need to be updated see `:doc changelog`\n" + " for details\n" + "» define-command -allow-override switch has been renamed\n" + " -override\n" }, { 20180413, - "» ModeChange hook has been introduced and is expected to replace\n" - " the various ${MODE}Begin/${MODE}End hooks, consider those deprecated.\n" - "» '*' Does not strip whitespaces anymore, use built-in '_' to strip them\n" - "» 'l' on eol will go to next line, 'h' on first char will go to previous\n" - "» selections merging behaviour is now a bit more complex again\n" - "» 'x' will only jump to next line if full line is already selected\n" - "» WORD text object moved to instead of W for consistency\n" - "» rotate main selection moved to ), rotate content to , ( for backward\n" - "» faces are now scoped, set-face command takes an additional scope parameter\n" + "» ModeChange hook has been introduced and is expected\n" + " to replace the various ${MODE}Begin/${MODE}End hooks,\n" + " consider those deprecated.\n" + "» '*' Does not strip whitespaces anymore, use built-in\n" + " '_' to strip them\n" + "» 'l' on eol will go to next line, 'h' on first char will\n" + " go to previous\n" + "» selections merging behaviour is now a bit more complex\n" + " again\n" + "» 'x' will only jump to next line if full line is already\n" + " selected\n" + "» WORD text object moved to instead of W for\n" + " consistency\n" + "» rotate main selection moved to ), rotate content to ,\n" + " ( for backward\n" + "» faces are now scoped, set-face command takes an additional\n" + " scope parameter\n" "» key is gone, use instead\n" } };