From aedb275b57ff8d64bd336d584fdd252eba5c4ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Joly?= Date: Fri, 2 Sep 2022 07:56:51 +0200 Subject: [PATCH] Misc doc fixes --- doc/bepo-nvim.txt | 26 +++++++++++++------------- scripts/gen_doc.fnl | 5 +++-- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/doc/bepo-nvim.txt b/doc/bepo-nvim.txt index 642bb92..cead316 100644 --- a/doc/bepo-nvim.txt +++ b/doc/bepo-nvim.txt @@ -4,7 +4,7 @@ Author: Clément Joly Homepage: -License: APACHE license +License: APACHE-2.0 Type |gO| to see the table of contents. @@ -71,6 +71,17 @@ on préserve {hjkl} pour les directions nx k s nx K S +-------------------------------------------------------------------------------- +require("bepo").tabs() *bepo.nvim-tabs* +le couple [gb]/[gé] agit sur les tabs + + Modes Bepo Qwerty + n gb gT + n gé gt + n gB :execute "silent! tabfirst" + n gÉ :execute "silent! tablast" + n gT + -------------------------------------------------------------------------------- require("bepo").window() *bepo.nvim-window* [w] est libre pour faire , grâce à easy_access @@ -90,24 +101,13 @@ require("bepo").window() *bepo.nvim-windo n wé t n wÉ T --------------------------------------------------------------------------------- -require("bepo").tabs() *bepo.nvim-tabs* -le couple [gb]/[gé] agit sur les tabs - - Modes Bepo Qwerty - n gb gT - n gé gt - n gB :execute "silent! tabfirst" - n gÉ :execute "silent! tablast" - n gT - -------------------------------------------------------------------------------- require("bepo").easy_access() *bepo.nvim-easy_access* Modes Bepo Qwerty n « < v « + n » > v » >gv nx g, g; nx g; g, diff --git a/scripts/gen_doc.fnl b/scripts/gen_doc.fnl index 1b121ae..054574c 100644 --- a/scripts/gen_doc.fnl +++ b/scripts/gen_doc.fnl @@ -39,7 +39,8 @@ (fn print-mapping-struct [struct] (match struct {: bepo : modes : qwerty} - (print (.. (right-align modes 6) " " (left-align bepo 4) " " qwerty)) + (let [qw (if (= ">" qwerty) "> " qwerty)] + (print (.. (right-align modes 6) " " (left-align bepo 4) " " qw))) _ (error (.. "Received an invalid struct" (fennel.view struct))))) (fn print-lua-import [name] @@ -58,7 +59,7 @@ Author: Clément Joly Homepage: -License: APACHE license +License: APACHE-2.0 Type |gO| to see the table of contents.