-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
bepo-nvim.txt
122 lines (98 loc) · 3.52 KB
/
bepo-nvim.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
*bepo.nvim* mappings for the bépo layout <https://bepo.fr>
Author: Clément Joly <https://cj.rs/contact>
Homepage: <https://cj.rs/bepo-nvim>
License: APACHE-2.0
Type |gO| to see the table of contents.
================================================================================
USAGE *bepo.nvim-usage*
For a basic setup with all mappings defined, just add the following to your
init.lua:
*bepo.nvim-setup*
require("bepo").setup()
See |bepo.nvim-cherry-pick| to apply only some groups of mapping. By default,
setup() applies all mapping groups.
*bepo.nvim-always-free*
In any case, the following keys are always free for you to remap as you see fit:
* , and ; as they may be used as leaders (if you don’t use those as leaders,
you may want to swap the two)
* à and À
* ç and Ç
* è and È
================================================================================
MAPPING CHERRY-PICK *bepo.nvim-cherry-pick*
You can also pick only some groups of mapping, for instance because you have
your own preferences for some key that don’t match this extension. To apply
only the “window” and “movement” groups of mapping, use this instead of
|bepo.nvim-setup| in your init.lua:
require("bepo").movement()
require("bepo").window()
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").easy_access() *bepo.nvim-easy_access*
Modes Bepo Qwerty
n « <
x « <gv
n » >
x » >gv
nx g, g;
nx g; g,
nx é w
nx É W
ox aé aw
ox aÉ aW
ox ié iw
ox iÉ iW
--------------------------------------------------------------------------------
require("bepo").movement() *bepo.nvim-movement*
on préserve {hjkl} pour les directions
Modes Bepo Qwerty
nx c h
nx t j
nx s k
nx r l
nx C H
nx T J
nx S K
nx R L
nx gt gj
nx gs gk
nx zT zt
nx zt zj
nx zk zs
nx zs zk
nx h t
nx H T
nx l c
nx L C
nx j r
nx J R
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"<CR>
n gÉ :execute "silent! tablast"<CR>
n gT <C-]>
--------------------------------------------------------------------------------
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
vim:tw=78:ts=8:ft=help:norl: