comparison .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
comparison
equal deleted inserted replaced
542:89769aa79628 543:15d6c097f1c9
672 672
673 opt.signcolumn = 'yes' -- Always show signcolumn 673 opt.signcolumn = 'yes' -- Always show signcolumn
674 674
675 opt.cursorline = true 675 opt.cursorline = true
676 676
677 opt.startofline = false -- When moving try to keep cursor in column
678
677 -- Show certain characters 679 -- Show certain characters
678 opt.list = true 680 opt.list = true
679 opt.listchars = { trail = '·', extends = '>', precedes = '<', nbsp = '+', tab = '▸ ' } 681 opt.listchars = { trail = '·', extends = '>', precedes = '<', nbsp = '+', tab = '▸ ' }
680 682
681 opt.sessionoptions:remove 'options' -- Remove options from saved sessions (reload from config) 683 opt.sessionoptions:remove 'options' -- Remove options from saved sessions (reload from config)