This file contains 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
settings.hintAlign = "left"; | |
settings.smoothScroll = false; | |
map("F", "af") | |
map("J", "E"); | |
map("K", "R"); | |
map("H", "S"); | |
map("L", "D"); | |
map("<Ctrl-e>", "j"); | |
map("<Ctrl-y>", "k"); | |
map("<Ctrl-d>", "d"); |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am henrybw on github. | |
* I am hbw (https://keybase.io/hbw) on keybase. | |
* I have a public key ASC8gTuUra8aQQjKRZ7N4LcF9auNRXprDX4b0IaTpykghwo | |
To claim this, I am signing this object: |
This file contains 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
set nosmoothscroll | |
let scrollstep = 40 | |
let lastactivetablimit = 50 | |
let lastclosedtablimit = 50 | |
let blacklists = ["*://mail.google.com/*","*://drive.google.com/file/d/*/view"] | |
map "shift+k" nextTab | |
map "shift+j" previousTab | |
map "x" quit | |
map "u" lastClosedTab |
This file contains 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
// Compile with: | |
// clang -pagezero_size 10000 -image_base 100000000 $(/usr/local/Cellar/sdl2/2.0.3/bin/sdl2-config --cflags) $(/usr/local/Cellar/sdl2/2.0.3/bin/sdl2-config --static-libs) -lSDL2_image SDL_Test.c -o SDL_Test.app/Contents/MacOS/SDL_Test | |
#include <SDL.h> | |
#include <SDL_image.h> | |
#include <stdio.h> | |
#include <stdbool.h> | |
#include <sys/param.h> | |
int main(int argc, char *argv[]) | |
{ |
This file contains 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
// Compile with: | |
// clang clickdisplay.c -framework CoreGraphics -framework CoreGraphics -o clickdisplay | |
#include <stdio.h> | |
#include <CoreGraphics/CoreGraphics.h> | |
#include <CoreFoundation/CoreFoundation.h> | |
void DoEvent(CGEventRef event) | |
{ | |
// Rapidly posting events seems to result in them getting dropped | |
// occasionally, so the delay ensures the event goes through. |
This file contains 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
let barposition = "top" | |
set nosmoothscroll | |
let scrollstep = 40 | |
let completionengines = ["google", "imdb", "wikipedia"] " restrict default engines to these | |
" Remove default bindings | |
unmap b | |
unmap e |