diff .chezmoitemplates/init.lua @ 543:15d6c097f1c9

set nostartofline to keep cursor in same column when scrolling
author zegervdv <zegervdv@me.com>
date Sat, 29 Jan 2022 22:16:56 +0100
parents 80622cb35a3e
children 3b9c7a3a068a
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua	Sat Jan 29 22:12:33 2022 +0100
+++ b/.chezmoitemplates/init.lua	Sat Jan 29 22:16:56 2022 +0100
@@ -674,6 +674,8 @@
 
 opt.cursorline = true
 
+opt.startofline = false -- When moving try to keep cursor in column
+
 -- Show certain characters
 opt.list = true
 opt.listchars = { trail = '·', extends = '>', precedes = '<', nbsp = '+', tab = '▸ ' }