From 80ab02746ba5dd65ffcce6c0c18aa66248481ed9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?=
:map :echo Date()
+:map :styletoggle -name
- causes “
+ You can also map keys to Ex or + JavaScript commands, see the + examples.
@@ -408,6 +414,25 @@ +
Make
map -b -m input
+
+Toggle the tab line with
map -ex always ,never
+
+Make
map -js <<EOF
+let (pref = permissions.default.image )
+ prefs.set(pref, prefs.get(pref) == 1 ? 2 : 1);
+tabs.reload(config.browser.mCurrentTab);
+EOF
+
+
Add a :Google command to search via google:
-:command -nargs=* Google open google <args>
+A command to search via DuckDuckGo:
- +:command -nargs=* ddg open ddg <args>
+
++ A command to search for contents of the current selection using a + tab-completed search engine in the current or a new tab (depending on how + much you bang on the keyboard): +
+ +:com! search-selection ,ss -bang -nargs=? -complete search
+ \ -js commands.execute((bang ? open : tabopen )
+ \ + args + + buffer.currentWord)