Commit 0d7c800
authored
docs: vim.g.no_plugin_maps to avoid conflicts (#838)
1. `vim.g.no_python_maps` or `vim.g.no_plugin_maps` to avoid conflicts.
This actually got me because it seems totally working but actually is
broken (like repeatable move etc. won't work)
- A better way is to overwrite the buffer mappings, but it will be too
difficult to explain in the main docs unless we actually provide a
convenience function that helps mapping.
2. `nvim-next` doesn't support main branch of this plugin, thus removed.
3. I think it's unintuitive that "move function" uses `]m` and "select
function" uses `af`, `if`. The standard seems to be using `am` and `im`
for selecting function as per
https://github.com/neovim/neovim/blob/master/runtime/ftplugin/ruby.vim .
I know this is just an example, but keeping the main doc following the
common convention helps a lot.1 parent af51903 commit 0d7c800
1 file changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 15 | | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
25 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| |||
64 | 73 | | |
65 | 74 | | |
66 | 75 | | |
67 | | - | |
| 76 | + | |
68 | 77 | | |
69 | 78 | | |
70 | | - | |
| 79 | + | |
71 | 80 | | |
72 | 81 | | |
73 | 82 | | |
| |||
198 | 207 | | |
199 | 208 | | |
200 | 209 | | |
201 | | - | |
202 | | - | |
203 | 210 | | |
204 | 211 | | |
205 | 212 | | |
| |||
0 commit comments