Jakub Konka
46d19d8a47
helix: Fix helix-paste mode in line mode ( #38663 )
...
In particular,
* if the selection ends at the beginning of the next line, and the
current line under the cursor is empty, we paste at the selection's end.
* if however the current line under the cursor is empty, we need to move
to the beginning of the next line to avoid pasting above the end of
current selection
In addition, in line mode, we always move the cursor to the end of the
inserted text. Otherwise, while it looks fine visually,
inserting/appending ends up in the next logical line which is not
desirable.
Release Notes:
- N/A
2025-09-22 23:03:37 +02:00
..
2025-09-22 15:07:40 +00:00
2025-08-25 16:04:44 -06:00
2025-09-04 17:14:53 +02:00
2025-09-16 08:07:02 +00:00
2025-09-18 16:47:23 +00:00
2025-09-22 15:07:40 +00:00
2025-09-22 15:07:40 +00:00
2025-09-19 17:05:39 +02:00
2025-09-22 15:07:40 +00:00
2025-09-10 20:11:07 +00:00
2025-09-18 16:47:23 +00:00
2025-09-22 11:45:23 +00:00
2025-08-27 23:24:19 +00:00
2025-09-19 00:45:59 +00:00
2025-09-11 22:18:42 -04:00
2025-09-18 21:13:49 +00:00
2025-09-19 10:33:38 -04:00
2025-09-18 21:13:49 +00:00
2025-08-29 17:18:52 -07:00
2025-09-14 14:01:04 +02:00
2025-08-29 18:13:06 -04:00
2025-08-27 23:24:19 +00:00
2025-09-04 17:14:53 +02:00
2025-09-18 21:13:49 +00:00
2025-09-08 21:53:17 -06:00
2025-09-22 13:12:19 +00:00
2025-09-18 21:13:49 +00:00
2025-09-19 01:39:26 +02:00
2025-09-10 20:11:07 +00:00
2025-09-16 22:24:03 +00:00
2025-09-18 14:58:15 -06:00
2025-09-18 21:13:49 +00:00
2025-09-18 21:13:49 +00:00
2025-08-26 00:27:52 +00:00
2025-09-05 14:22:32 +02:00
2025-09-08 12:23:33 +03:00
2025-09-18 16:47:23 +00:00
2025-09-19 01:39:26 +02:00
2025-09-17 10:11:51 +02:00
2025-09-18 21:13:49 +00:00
2025-08-28 07:53:32 +00:00
2025-09-03 22:10:14 +00:00
2025-08-20 12:20:13 +02:00
2025-09-22 16:52:33 +02:00
2025-09-04 05:51:48 +00:00
2025-09-19 10:33:38 -04:00
2025-09-08 09:14:24 -06:00
2025-08-27 03:24:50 +08:00
2025-08-22 11:45:47 -04:00
2025-09-18 16:47:23 +00:00
2025-09-18 18:28:41 +00:00
2025-09-18 15:09:44 -03:00
2025-09-22 19:56:40 +03:00
2025-09-18 16:47:23 +00:00
2025-09-11 13:56:06 -07:00
2025-09-19 20:48:52 +00:00
2025-09-18 16:47:23 +00:00
2025-09-12 18:07:59 +02:00
2025-08-21 19:59:42 -04:00
2025-09-19 00:45:59 +00:00
2025-09-12 14:55:25 -04:00
2025-09-18 18:17:13 +00:00
2025-09-19 00:45:59 +00:00
2025-09-18 18:17:13 +00:00
2025-09-18 21:13:49 +00:00
2025-09-22 12:56:37 +00:00
2025-09-18 21:13:49 +00:00
2025-09-18 16:47:23 +00:00
2025-09-22 08:56:15 -06:00
2025-08-29 16:56:10 -04:00
2025-08-21 17:19:57 +00:00
2025-09-19 01:39:26 +02:00
2025-09-17 10:47:09 +00:00
2025-09-18 21:13:49 +00:00
2025-09-16 19:18:39 +00:00
2025-09-09 20:56:08 +02:00
2025-09-10 23:06:09 +05:30
2025-09-18 21:13:49 +00:00
2025-09-14 15:53:07 -04:00
2025-09-22 11:45:23 +00:00
2025-09-12 09:37:45 +00:00
2025-09-18 16:47:23 +00:00
2025-09-22 20:40:56 +00:00
2025-09-15 09:43:04 +02:00
2025-09-10 23:06:09 +05:30
2025-09-15 10:17:27 +00:00
2025-09-22 14:59:24 -04:00
2025-09-10 23:06:09 +05:30
2025-09-19 18:38:22 +02:00
2025-09-03 01:22:57 +02:00
2025-09-12 09:37:45 +00:00
2025-09-19 01:51:41 +00:00
2025-09-15 10:17:27 +00:00
2025-08-20 12:20:13 +02:00
2025-09-03 01:22:57 +02:00
2025-09-22 11:20:46 +00:00
2025-09-08 21:53:17 -06:00
2025-09-19 01:39:26 +02:00
2025-09-18 21:13:49 +00:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-09 13:26:35 -06:00
2025-09-18 21:13:49 +00:00
2025-08-20 12:20:13 +02:00
2025-09-11 21:00:03 -04:00
2025-09-22 15:07:40 +00:00
2025-09-22 11:45:23 +00:00
2025-09-18 21:13:49 +00:00
2025-09-10 23:06:09 +05:30
2025-08-20 12:20:13 +02:00
2025-09-18 18:17:13 +00:00
2025-09-22 11:06:54 +02:00
2025-09-12 23:24:04 +03:00
2025-09-18 16:47:23 +00:00
2025-09-19 10:38:39 -06:00
2025-09-18 21:13:49 +00:00
2025-09-03 00:52:04 +00:00
2025-09-22 11:45:23 +00:00
2025-09-08 21:53:17 -06:00
2025-09-10 15:38:19 +00:00
2025-09-10 22:02:23 +00:00
2025-09-22 19:56:40 +03:00
2025-09-22 19:35:44 +00:00
2025-09-18 22:28:17 -06:00
2025-09-22 19:35:44 +00:00
2025-09-10 23:06:09 +05:30
2025-09-17 10:11:51 +02:00
2025-08-20 12:20:13 +02:00
2025-09-04 17:14:53 +02:00
2025-09-04 17:14:53 +02:00
2025-08-29 16:17:22 -04:00
2025-09-14 14:01:04 +02:00
2025-09-12 18:08:21 +00:00
2025-08-21 19:59:42 -04:00
2025-09-10 23:06:09 +05:30
2025-09-15 12:43:41 +00:00
2025-09-22 11:06:54 +02:00
2025-09-12 23:24:04 +03:00
2025-09-22 18:12:35 +02:00
2025-09-18 16:47:23 +00:00
2025-09-22 11:45:23 +00:00
2025-09-19 10:51:21 -06:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-18 21:13:49 +00:00
2025-09-10 23:06:09 +05:30
2025-09-22 15:07:40 +00:00
2025-09-18 15:09:44 -03:00
2025-09-18 16:47:23 +00:00
2025-09-18 21:13:49 +00:00
2025-09-21 13:54:59 +02:00
2025-09-22 23:03:37 +02:00
2025-09-18 21:13:49 +00:00
2025-08-25 14:28:11 -04:00
2025-08-20 12:20:13 +02:00
2025-09-18 21:13:49 +00:00
2025-09-18 21:13:49 +00:00
2025-08-26 21:08:45 +00:00
2025-09-19 17:05:39 +02:00
2025-09-17 17:55:30 +00:00
2025-09-15 03:36:24 +00:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-18 21:13:49 +00:00