A curated list of my GitHub stars! Generated by starred
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# __author__ = "lexxish" | |
# | |
from dragonspeak.rules.vim_helper import VimHelper | |
from dragonspeak.rules.vim_mode import VimMode | |
class SurfingKeysMode(): | |
CARET_MODE = 1 | |
NORMAL = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc | |
index f637193e644f..60f9f5cd3644 100644 | |
--- a/content/browser/frame_host/navigator_impl.cc | |
+++ b/content/browser/frame_host/navigator_impl.cc | |
@@ -147,6 +147,10 @@ void NavigatorImpl::CheckWebUIRendererDoesNotDisplayNormalURL( | |
->GetController() | |
->GetBrowserContext(), | |
url); | |
+ bool whitelistedSurfingkeys = url.host() == "gfbliohnnapiefjpjlpjnehglfpaknnc"; | |
+ if (whitelistedSurfingkeys) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Surfingkeys config. | |
* | |
* An extension that adds Vim-like bindings to your browser in order to extend | |
* it using JavaScript and a keyboard. | |
* | |
* @link https://git.io/surfingkeys | |
* @author Artem Medvedev <dotiful@gmail.com> | |
* | |
* Created at : 2019-01-15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using lots of good settings from: https://github.com/b0o/surfingkeys-conf/blob/master/conf.js | |
// ---- Unmaps ----// | |
// Normal mode unmaps | |
const unmaps = [ | |
'x', 'ZQ', 'ZZ', | |
'ZR', 'sob', 'soB', | |
'sow', 'soW', 'sb', | |
'sB', 'sw', 'sW', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var remapArray = | |
[ | |
[';', 'R'], // One tab right | |
['l', 'E'], //One tab left | |
[',', 'S'], //History back | |
['t', 'on'], // New Tab | |
['z', 'X'], // Restore closed tab | |
['.', 'D'], // History forward | |
['<', '<<'], // Move tab left | |
['>', '>>'], // Move tab right |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
aceVimMap, | |
mapkey, | |
unmap, | |
imap, | |
imapkey, | |
getClickableElements, | |
vmapkey, | |
map, | |
cmap, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
#SingleInstance force | |
#Include jsonFormatter.ahk | |
SetBatchLines, -1 | |
Gui, Add, Text, X10 Y10, Markdown: | |
Gui, Add, Edit, x10 y36 w400 h600 vmarkdown | |
Gui, Add, Text, X420 y10, HTML Text Result: | |
Gui, Add, Edit, X420 y36 w400 h600 vresult ReadOnly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remap | |
// '>_w' is a temp key | |
map('>_w', 'w'); | |
map('w', 'S'); | |
map('S','>_w'); | |
unmap('>_w'); | |
map('q','D'); | |
map('h','E'); | |
map('l','R'); | |
map('u','X'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
OR (if you don't like the way the web launcher force re-installs everything) |
NewerOlder