You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details:
- It occupies `sn` "mapping real estate" (for which there are future
plans).
- It is rarely needed during runtime. But if it is, it is
straightforward to create manually with present `update_n_lines()`
function.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,10 @@ There are following change types:
133
133
134
134
## mini.surround
135
135
136
+
### Evolve
137
+
138
+
- Stop creating `update_n_lines` mapping: it occupies "mapping real estate" while being rarely needed and straightforward to create manually using `MiniSurround.update_n_lines()`.
139
+
136
140
### Refine
137
141
138
142
- Update `gen_spec.inpuf.treesitter()` to have `use_nvim_treesitter = false` as default option value (instead of `true`). It used to implement more advanced behavior, but as built-in `vim.treesitter` is capable enough, there is no need in extra dependency. The option will be removed after the release.
- Find surrounding with `sf` or `sF` (move cursor right or left).
38
38
- Highlight surrounding with `sh`.
39
-
- Change number of neighbor lines with `sn` (see `:h MiniSurround-algorithm`).
40
39
- Surrounding is identified by a single character as both "input" (in `delete` and `replace` start, `find`, and `highlight`) and "output" (in `add` and `replace` end):
41
40
- 'f' - function call (string of alphanumeric symbols or '_' or '.' followed by balanced '()'). In "input" finds function call, in "output" prompts user to enter function name.
42
41
- 't' - tag. In "input" finds tag with same identifier, in "output" prompts user to enter tag name.
@@ -166,7 +165,6 @@ Here are code snippets for some common installation methods (use only one):
166
165
find_left='sF', -- Find surrounding (to the left)
167
166
highlight='sh', -- Highlight surrounding
168
167
replace='sr', -- Replace surrounding
169
-
update_n_lines='sn', -- Update `n_lines`
170
168
171
169
suffix_last='l', -- Suffix to search with "prev" method
172
170
suffix_next='n', -- Suffix to search with "next" method
0 commit comments