From 6defd84e23fd8a1173a6d50d4fcb1871809764a4 Mon Sep 17 00:00:00 2001
From: anekos
Date: Wed, 25 Nov 2009 09:50:03 +0000
Subject: :t hoge などで移動した際に、コマンドラインが閉じないのを閉じるように
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35992 d0d07461-0603-4401-acd4-de1884942a52
---
maine_coon.js | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
(limited to 'maine_coon.js')
diff --git a/maine_coon.js b/maine_coon.js
index 0ef3dc7..0bee38c 100644
--- a/maine_coon.js
+++ b/maine_coon.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2008, anekos.
+Copyright (c) 2008-2009, anekos.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
@@ -38,10 +38,10 @@ let PLUGIN_INFO =
メインクーン
Make the screen larger
なるべくでかい画面で使えるように
- 2.2.3
+ 2.3.0
anekos
- 2.0pre
- 2.0pre
+ 2.3
+ 2.3
http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/maine_coon.js
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
@@ -362,6 +362,13 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
return next();
});
+ around(commandline._callbacks.submit, modes.EX, function (next, args) {
+ let r = next();
+ if (autoHideCommandLine && !(modes.extended & modes.OUTPUT_MULTILINE))
+ commandline.close();
+ return r;
+ });
+
options.add(
['mainecoon'],
'Make big screen like a Maine Coon',
--
cgit v1.2.3