aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorErlend Fagerheim <erlendf80@gmail.com>2017-02-24 00:05:47 +0100
committerErlend Fagerheim <erlendf80@gmail.com>2017-02-24 20:27:23 +0100
commit9a3a2c87f2261c9756baeff964f56646ec41e163 (patch)
tree37055b2d841999727b28a698859b848914c4437a /vim
parent24f7df506af166b3b2af53636b48b48845e3eb63 (diff)
downloadvis-9a3a2c87f2261c9756baeff964f56646ec41e163.tar.gz
vis-9a3a2c87f2261c9756baeff964f56646ec41e163.tar.xz
test/vis: added a few motion tests
Diffstat (limited to 'vim')
-rw-r--r--vim/motions/line.in2
-rw-r--r--vim/motions/line.keys2
2 files changed, 4 insertions, 0 deletions
diff --git a/vim/motions/line.in b/vim/motions/line.in
new file mode 100644
index 0000000..5e4977a
--- /dev/null
+++ b/vim/motions/line.in
@@ -0,0 +1,2 @@
+one two three
+ one two three
diff --git a/vim/motions/line.keys b/vim/motions/line.keys
new file mode 100644
index 0000000..c4daa33
--- /dev/null
+++ b/vim/motions/line.keys
@@ -0,0 +1,2 @@
+g_d0 /* move to last char on line ( $ fails ) delete to start of line */
+j$^dw /* go to first non blank of next line and delete word */