aboutsummaryrefslogtreecommitdiff
path: root/lua/delete.lua
diff options
context:
space:
mode:
authorJosh Wainwright <josh.wainwright@ldra.com>2016-04-20 15:16:25 +0100
committerJosh Wainwright <josh.wainwright@ldra.com>2016-04-20 15:16:25 +0100
commite51d2aa5389e06e9d841a1fad3824cd4ffc7ca9d (patch)
tree6186f675294105cab60ccc3da6f270807dfd55d9 /lua/delete.lua
parent4675c3bf8d386e3af974a82dae823961864ba064 (diff)
downloadvis-e51d2aa5389e06e9d841a1fad3824cd4ffc7ca9d.tar.gz
vis-e51d2aa5389e06e9d841a1fad3824cd4ffc7ca9d.tar.xz
Split test lua code into individual test.lua files
Diffstat (limited to 'lua/delete.lua')
-rw-r--r--lua/delete.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/delete.lua b/lua/delete.lua
new file mode 100644
index 0000000..9cb5a96
--- /dev/null
+++ b/lua/delete.lua
@@ -0,0 +1,8 @@
+local win = vis.win
+delete(win, 2, 2)
+delete(win, 3)
+-- delete(win, '%')
+win.cursor:to(5, 0)
+delete(win, '.')
+delete(win, '$')
+vis:command('w! delete.out')