summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2018-04-28 00:03:28 +0200
committerTom Smeding <tom.smeding@gmail.com>2018-04-28 00:03:28 +0200
commit35d6d41fdd7219d04fc89465bdc7c6c0bba5a08b (patch)
tree978d1c80aededf0df74386a454fbf29f708d1540
Initial
-rw-r--r--test.txt41
-rw-r--r--vimturing.txt1
2 files changed, 42 insertions, 0 deletions
diff --git a/test.txt b/test.txt
new file mode 100644
index 0000000..60b688a
--- /dev/null
+++ b/test.txt
@@ -0,0 +1,41 @@
+q0 _ q1 _ >
+
+q1 a qa A >
+q1 b qb B >
+q1 A q1 A >
+q1 B q1 B >
+q1 _ q2 _ <
+
+q2 A q2 a <
+q2 B q2 b <
+q2 _ HA _ -
+
+qa a qa a >
+qa b qa b >
+qa _ qa' _ >
+
+qb a qb a >
+qb b qb b >
+qb _ qb' _ >
+
+qa' a qa' a >
+qa' b qa' b >
+qa' _ q3 a <
+
+qb' a qb' a >
+qb' b qb' b >
+qb' _ q3 b <
+
+q3 a q3 a <
+q3 b q3 b <
+q3 _ q3' _ <
+
+q3' a q3' a <
+q3' b q3' b <
+q3' A q3' A <
+q3' B q3' B <
+q3' _ q1 _ >
+
+q0
+
+_aba
diff --git a/vimturing.txt b/vimturing.txt
new file mode 100644
index 0000000..cefab5d
--- /dev/null
+++ b/vimturing.txt
@@ -0,0 +1 @@
+:nnoremap <leader>s GA_<esc>k.j0vykk$a <esc>p$v0yf "_Dgg/^<c-R>"/e<cr>W"ayt Wv"byWv"cyG0v"bpkkv$h"apO>normal G0xkP<cr><lt>normal G0kxjP<cr>- <esc>kkk0/<c-R>c<cr>ly$G0kkkVkk"_d:@"<cr>GA_<esc>k.Vj:s/_*$//<cr>A_<esc>k.:nohl<cr>