aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-08-24 11:03:34 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-08-24 11:13:02 +0200
commit010dcd60ffda37027908f2a0b20c751b83ca975e (patch)
tree65e0b4f0fd55d5f6d5dc817b39d6c74bebab705f /vis.h
parent1cc8afb756839d4e336c1151caecc400ac8d730a (diff)
downloadvis-010dcd60ffda37027908f2a0b20c751b83ca975e.tar.gz
vis-010dcd60ffda37027908f2a0b20c751b83ca975e.tar.xz
vis: implement gJ like behavior
The behavior is not exactly the same because vim preserves any existing white spaces wihle we remove existing ones but do not insert additional ones. The vim behavior (essentially only deleating new lines) can be achived using something like: :x/\n/d Close #374
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index 56bf17b..91f9868 100644
--- a/vis.h
+++ b/vis.h
@@ -202,6 +202,7 @@ enum VisOperator {
* the expected varying arguments are as follows:
*
* - VIS_OP_FILTER a char pointer referring to the command to run
+ * - VIS_OP_JOIN a char pointer referring to the text to insert between lines
*/
bool vis_operator(Vis*, enum VisOperator, ...);