diff options
author | anekos | 2009-11-25 09:50:03 +0000 |
---|---|---|
committer | anekos | 2009-11-25 09:50:03 +0000 |
commit | 6defd84e23fd8a1173a6d50d4fcb1871809764a4 (patch) | |
tree | ea6055ffabd10eb2d433c32ded2fd6407180b316 /maine_coon.js | |
parent | 8c35c9ad5486d43e007126676b7c84d305c59827 (diff) | |
download | vimperator-plugins-6defd84e23fd8a1173a6d50d4fcb1871809764a4.tar.bz2 |
:t hoge などで移動した際に、コマンドラインが閉じないのを閉じるように
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35992 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'maine_coon.js')
-rw-r--r-- | maine_coon.js | 15 |
1 files changed, 11 insertions, 4 deletions
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 = <name lang="ja">メインクーン</name> <description>Make the screen larger</description> <description lang="ja">なるべくでかい画面で使えるように</description> - <version>2.2.3</version> + <version>2.3.0</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> - <minVersion>2.0pre</minVersion> - <maxVersion>2.0pre</maxVersion> + <minVersion>2.3</minVersion> + <maxVersion>2.3</maxVersion> <updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/maine_coon.js</updateURL> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -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', |