aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-04-04 09:22:26 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-04-04 09:31:49 +0200
commitca0b1fe1a590aa640fb20fcdfde3aeed3a0eac03 (patch)
tree3ed66754cf50cc2c38a93179f61e397f67778bb1 /vis.h
parentdd730eb1feb46e9688350b0ff401694653f90554 (diff)
downloadvis-ca0b1fe1a590aa640fb20fcdfde3aeed3a0eac03.tar.gz
vis-ca0b1fe1a590aa640fb20fcdfde3aeed3a0eac03.tar.xz
vis: add motions to move by codepoints
Some people might prefer this for <Backspace> behavior. Except for that and debugging purposes using `ga` and `g8` it is not yet that useful.
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index 8f74a36..9b9fbb9 100644
--- a/vis.h
+++ b/vis.h
@@ -269,6 +269,8 @@ enum VisMotion {
VIS_MOVE_CHAR_NEXT,
VIS_MOVE_LINE_CHAR_PREV,
VIS_MOVE_LINE_CHAR_NEXT,
+ VIS_MOVE_CODEPOINT_PREV,
+ VIS_MOVE_CODEPOINT_NEXT,
VIS_MOVE_WORD_NEXT,
VIS_MOVE_WORD_START_NEXT,
VIS_MOVE_WORD_END_PREV,