diff options
author | Francesco <francesco.bbt@gmail.com> | 2021-09-15 16:18:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 16:18:09 +0200 |
commit | 772127fd681d21bab227ba45359836f3a8d1014a (patch) | |
tree | e74766a8f23dbef21bf8b7bc51019cecd96fd27d | |
parent | bd0761006efea50dedf28bb3eded2e9c6560a75c (diff) | |
parent | 9b9745a35baa8f230293bb3b0c1b539a1ab5b858 (diff) | |
download | lite-xl-plugins-772127fd681d21bab227ba45359836f3a8d1014a.tar.gz lite-xl-plugins-772127fd681d21bab227ba45359836f3a8d1014a.zip |
Merge pull request #65 from hasithsen/patch-1
Bring cursor to the new line's end after wrapping
-rw-r--r-- | plugins/autowrap.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/autowrap.lua b/plugins/autowrap.lua index 38f8eb3..c9dde6d 100644 --- a/plugins/autowrap.lua +++ b/plugins/autowrap.lua @@ -32,5 +32,6 @@ DocView.on_text_input = function(self, ...) command.perform("reflow:reflow") command.perform("doc:move-to-next-char") command.perform("doc:move-to-previous-char") + command.perform("doc:move-to-end-of-line") end end |