aboutsummaryrefslogtreecommitdiffstats
path: root/win-mouse.js
diff options
context:
space:
mode:
authoranekos2011-03-28 06:28:49 +0900
committeranekos2011-03-28 17:17:46 +0900
commite063c1d9dd05379ea8c9b9f92f62c98a08a97ca4 (patch)
tree4defdc419eb9dc5347b39d329e175ef48d368288 /win-mouse.js
parent67764d4efb9a43ef6ec75773cf563c482142f9aa (diff)
downloadvimperator-plugins-e063c1d9dd05379ea8c9b9f92f62c98a08a97ca4.tar.bz2
move! でも相対指定可能に
Diffstat (limited to 'win-mouse.js')
-rw-r--r--win-mouse.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/win-mouse.js b/win-mouse.js
index fddb464..096359e 100644
--- a/win-mouse.js
+++ b/win-mouse.js
@@ -236,7 +236,6 @@ let INFO =
API.click(button);
},
{
- bang: true,
completer: function (context, args) {
context.title = ['Button'];
context.completions = [[it, it] for ([, it] in Iterator('left right middle'.split(' ')))];
@@ -255,7 +254,7 @@ let INFO =
if (args.length == 1)
y = x;
- API.move(x, y, args['-relative']);
+ API.move(x, y, args['-relative'] || args.bang);
},
{
bang: true,