dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 3249aef5c41fb4b9f10b7202a5b650eaa37150d3
parent 918332b4adc66da047c8be8189b5539299f50c43
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 26 Jul 2019 11:51:42 +0200

Change fmt options for line wrapping

Diffstat:
M.config/vis/visrc.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua @@ -90,7 +90,7 @@ vis.events.subscribe(vis.events.INIT, function() vis:map(vis.modes.NORMAL, leader..'w', ':w<Enter>') vis:map(vis.modes.NORMAL, leader..'W', function() vis:command(':w') - vis:command(':!fmt -w 80 $vis_filepath > /tmp/fmttmp && '.. + vis:command(':!fmt -s -w 80 $vis_filepath > /tmp/fmttmp && '.. 'mv /tmp/fmttmp $vis_filepath') -- vis:command(':!PARINIT=\'rTbgqR B=.,?_A_a Q=_s>|\' '.. -- 'cat $vis_filepath | par > /tmp/fmttmp && '..