fix: properly name the help file so that nvim finds it

This commit is contained in:
Clément Joly 2022-08-21 23:57:50 +01:00
parent 07c301068a
commit a5c73fd9f7
2 changed files with 23 additions and 23 deletions

View File

@ -1,5 +1,5 @@
fnl_files = $(wildcard fnl/*.fnl) fnl_files = $(wildcard fnl/*.fnl)
help_file = help/bepo-nvim.txt help_file = doc/bepo-nvim.txt
help_file_mapping = bepo-nvim-mapping help_file_mapping = bepo-nvim-mapping
out_files = $(fnl_files:fnl/%.fnl=lua/%.lua) $(help_file) $(help_file_mapping) out_files = $(fnl_files:fnl/%.fnl=lua/%.lua) $(help_file) $(help_file_mapping)
@ -19,7 +19,7 @@ clean:
doc: $(help_file) doc: $(help_file)
$(help_file): $(help_file_mapping) help/ $(help_file): $(help_file_mapping) doc/
rm $(help_file) rm $(help_file)
cat $(help_file_mapping) >>$(help_file) cat $(help_file_mapping) >>$(help_file)
rm $(help_file_mapping) rm $(help_file_mapping)
@ -27,7 +27,7 @@ $(help_file): $(help_file_mapping) help/
$(help_file_mapping): gen_doc.fnl $(fnl_files) $(help_file_mapping): gen_doc.fnl $(fnl_files)
fennel --raw-errors --no-compiler-sandbox --metadata --globals '*' gen_doc.fnl > $(help_file_mapping) fennel --raw-errors --no-compiler-sandbox --metadata --globals '*' gen_doc.fnl > $(help_file_mapping)
help/: doc/:
mkdir -p help mkdir -p doc
.PHONY: clean doc $(help_file_mapping) .PHONY: clean doc $(help_file_mapping)

View File

@ -43,25 +43,6 @@ 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").movement() *bepo.nvim-movement* require("bepo").movement() *bepo.nvim-movement*
on préserve {hjkl} pour les directions on préserve {hjkl} pour les directions
@ -118,5 +99,24 @@ le couple [gb]/[gé] agit sur les tabs
n gÉ :execute "silent! tablast"<CR> n gÉ :execute "silent! tablast"<CR>
n gT <C-]> 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: vim:tw=78:ts=8:ft=help:norl: