docs: document more of the exported functions

This commit is contained in:
Clément Joly 2022-08-21 23:33:10 +01:00
parent 8fd660aa7a
commit 62d20e3f03
2 changed files with 32 additions and 30 deletions

View File

@ -88,7 +88,7 @@
(map-all :k :s) ;; {K} devient [S] (map-all :k :s) ;; {K} devient [S]
(map-all :K :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 :gT) (map-normal "gé" :gt) ;; [gB] va au premier tab
(map-normal :gB ":execute \"silent! tabfirst\"<CR>") ;; [gÉ] au dernier (map-normal :gB ":execute \"silent! tabfirst\"<CR>") ;; [gÉ] au dernier
(map-normal "gÉ" ":execute \"silent! tablast\"<CR>") (map-normal "gÉ" ":execute \"silent! tablast\"<CR>")
@ -108,7 +108,7 @@
(map-text-object "ié" :iw) ;; idem pour [iW] et [iÉ] (map-text-object "ié" :iw) ;; idem pour [iW] et [iÉ]
(map-text-object "iÉ" :iW)) (map-text-object "iÉ" :iW))
(𝛅 mapping-window [] ;; [w] est libre pour faire <C-w> (𝛅 mapping-window [] "[w] est libre pour faire <C-w>, grâce à easy_access"
(map-normal :w :<C-w>) ;; et [w] pour faire <C-w><C-w> (map-normal :w :<C-w>) ;; et [w] pour faire <C-w><C-w>
(map-normal :W :<C-w><C-w>) ;; on map [w]+direction, miniscule + majuscule (map-normal :W :<C-w><C-w>) ;; on map [w]+direction, miniscule + majuscule
(map-normal :wc :<C-w>h) (map-normal :wt :<C-w>j) (map-normal :ws :<C-w>k) (map-normal :wc :<C-w>h) (map-normal :wt :<C-w>j) (map-normal :ws :<C-w>k)

View File

@ -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 The following subsections go into details of exactly what mappings are
in each group. “Modes” have the same meaning as in the |map-table|. in each group. “Modes” have the same meaning as in the |map-table|.
--------------------------------------------------------------------------------
require("bepo").window() *bepo.nvim-window*
[w] est libre pour faire <C-w>, grâce à easy_access
Modes Bepo Qwerty
n w <C-w>
n W <C-w><C-w>
n wc <C-w>h
n wt <C-w>j
n ws <C-w>k
n wr <C-w>l
n wC <C-w>H
n wT <C-w>J
n wS <C-w>K
n wR <C-w>L
n wh <C-w>s
n wé <C-w>t
n wÉ <C-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"<CR>
n gÉ :execute "silent! tablast"<CR>
n gT <C-]>
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
require("bepo").movement() *bepo.nvim-movement* require("bepo").movement() *bepo.nvim-movement*
on préserve {hjkl} pour les directions on préserve {hjkl} pour les directions
@ -71,24 +101,6 @@ on préserve {hjkl} pour les directions
nx k s nx k s
nx K S nx K S
--------------------------------------------------------------------------------
require("bepo").window() *bepo.nvim-window*
Modes Bepo Qwerty
n w <C-w>
n W <C-w><C-w>
n wc <C-w>h
n wt <C-w>j
n ws <C-w>k
n wr <C-w>l
n wC <C-w>H
n wT <C-w>J
n wS <C-w>K
n wR <C-w>L
n wh <C-w>s
n wé <C-w>t
n wÉ <C-w>T
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
require("bepo").easy_access() *bepo.nvim-easy_access* 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
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"<CR>
n gÉ :execute "silent! tablast"<CR>
n gT <C-]>
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl: