aboutsummaryrefslogtreecommitdiffstats
path: root/happy_hacking_vimperator.js
diff options
context:
space:
mode:
Diffstat (limited to 'happy_hacking_vimperator.js')
-rw-r--r--happy_hacking_vimperator.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/happy_hacking_vimperator.js b/happy_hacking_vimperator.js
index 52e09cf..6efeda9 100644
--- a/happy_hacking_vimperator.js
+++ b/happy_hacking_vimperator.js
@@ -146,8 +146,15 @@ http://creativecommons.org/licenses/by-sa/3.0/
}
}
+ if (liberator.plugins.happy_hacking_vimperator) {
+ meows.forEach(fuck);
+ return;
+ } else {
+ liberator.plugins.happy_hacking_vimperator = 'Happy Hacking!';
+ }
+
let (opt = options.get('go'))
- opt.set(opt.get().replace(/rlb/g, ''));
+ opt.set(opt.get().replace(/[rlb]/g, ''));
around(buffer, 'followLink', function (next) {
ignore = true;