From 62d20e3f03fb7e62e6fa7293a5be2a81b5e17539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Joly?= Date: Sun, 21 Aug 2022 23:33:10 +0100 Subject: [PATCH] docs: document more of the exported functions --- fnl/bepo.fnl | 4 ++-- help/bepo-nvim.txt | 58 ++++++++++++++++++++++++---------------------- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/fnl/bepo.fnl b/fnl/bepo.fnl index c51affc..4d63f66 100644 --- a/fnl/bepo.fnl +++ b/fnl/bepo.fnl @@ -88,7 +88,7 @@ (map-all :k :s) ;; {K} devient [S] (map-all :K :S)) -(𝛅 mapping-tabs [] ;; le couple [gb]/[gé] agit sur les tabs +(𝛅 mapping-tabs [] "le couple [gb]/[gé] agit sur les tabs" (map-normal :gb :gT) (map-normal "gé" :gt) ;; [gB] va au premier tab (map-normal :gB ":execute \"silent! tabfirst\"") ;; [gÉ] au dernier (map-normal "gÉ" ":execute \"silent! tablast\"") @@ -108,7 +108,7 @@ (map-text-object "ié" :iw) ;; idem pour [iW] et [iÉ] (map-text-object "iÉ" :iW)) -(𝛅 mapping-window [] ;; [w] est libre pour faire +(𝛅 mapping-window [] "[w] est libre pour faire , grâce à easy_access" (map-normal :w :) ;; et [w] pour faire (map-normal :W :) ;; on map [w]+direction, miniscule + majuscule (map-normal :wc :h) (map-normal :wt :j) (map-normal :ws :k) diff --git a/help/bepo-nvim.txt b/help/bepo-nvim.txt index 62c13b2..c1c6de9 100644 --- a/help/bepo-nvim.txt +++ b/help/bepo-nvim.txt @@ -43,6 +43,36 @@ only the “window” and “movement” groups of mapping, use this instead of The following subsections go into details of exactly what mappings are in each group. “Modes” have the same meaning as in the |map-table|. +-------------------------------------------------------------------------------- +require("bepo").window() *bepo.nvim-window* +[w] est libre pour faire , grâce à easy_access + + Modes Bepo Qwerty + n w + n W + n wc h + n wt j + n ws k + n wr l + n wC H + n wT J + n wS K + n wR L + n wh s + 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").movement() *bepo.nvim-movement* on préserve {hjkl} pour les directions @@ -71,24 +101,6 @@ on préserve {hjkl} pour les directions nx k s nx K S --------------------------------------------------------------------------------- -require("bepo").window() *bepo.nvim-window* - - Modes Bepo Qwerty - n w - n W - n wc h - n wt j - n ws k - n wr l - n wC H - n wT J - n wS K - n wR L - n wh s - n wé t - n wÉ T - -------------------------------------------------------------------------------- require("bepo").easy_access() *bepo.nvim-easy_access* @@ -106,15 +118,5 @@ require("bepo").easy_access() *bepo.nvim-easy_acces ox ié iw ox iÉ iW --------------------------------------------------------------------------------- -require("bepo").tabs() *bepo.nvim-tabs* - - Modes Bepo Qwerty - n gb gT - n gé gt - n gB :execute "silent! tabfirst" - n gÉ :execute "silent! tablast" - n gT - vim:tw=78:ts=8:ft=help:norl: