Commit 8040906
authored
* fix: repair refile to headline in the same file
- use correct line position from target headline
- reset cursor back
* chore: apply requested change (#637)
Use vim.fn.winsaveview/winrestview instead of manually caching the
cursor position when refiling within the same file.
---------
Co-authored-by: Sebastian Flügge <seflue@users.noreply.github.com>
1 parent 92bfc3f commit 8040906
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
| |||
0 commit comments