Skip to content

Instantly share code, notes, and snippets.

View navakelvin's full-sized avatar

Kelvin Nava navakelvin

View GitHub Profile
@navakelvin
navakelvin / SurfingKeys.js
Created November 19, 2022 00:05 — forked from soraxas/SurfingKeys.js
SurfingKeys settings (vim keybindings for browser)
// git.io url: https://tinyurl.com/SurfingKeys-settings or https://git.io/JfXjB
// inspired by https://github.com/Foldex/surfingkeys-config/blob/master/config.js
// remove conflict with browser's history, download pannel toggle
// unmap('<Ctrl-j>');
// iunmap('<Ctrl-j>');
// vunmap('<Ctrl-j>');
// unmap('<Ctrl-h>');
// iunmap('<Ctrl-h>');
// vunmap('<Ctrl-h>');
@navakelvin
navakelvin / ranger-cheatsheet.md
Created October 10, 2022 22:53 — forked from heroheman/ranger-cheatsheet.md
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
set_from_resource $color15_i3wmthemer color15
set_from_resource $color14_i3wmthemer color14
set_from_resource $color13_i3wmthemer color13
set_from_resource $color12_i3wmthemer color12
set_from_resource $color11_i3wmthemer color11
set_from_resource $color10_i3wmthemer color10
set_from_resource $color09_i3wmthemer color9
set_from_resource $color08_i3wmthemer color8
set_from_resource $color07_i3wmthemer color7
#IfWinActive ahk_class AcrobatSDIWindow
h::
if (inAcrobatSearchMode)
Send h
else Send {Left}
return
j::
if (inAcrobatSearchMode)
@navakelvin
navakelvin / INFO.md
Created December 25, 2021 15:29 — forked from getify/INFO.md
AutoHotKeys (AHK) script for cycling active focus between a selected ("recorded") set of open windows

Download Icon: https://jumpshare.com/v/T5yuKIP3Zc6Rr29GH5ye

How To Use

  1. While focused on an open window (like a browser or editor), hit the "record" hotkey (default: win+ctrl+shift+?) to add an app to the focus cycle list. Tooltips will pop up notifying you of recorded apps, or if there's an issue recording.

  2. To cycle forward through recorded apps, use the "cycle forward" hotkey (default: win+ctrl+shift+>), or click the system-tray icon, or click the menu Item "Cycle Apps" menu item.

  3. To cycle backward, use the "cycle backward" hotkey (default: win+ctrl+shift+<).

@navakelvin
navakelvin / web-servers.md
Created September 17, 2021 22:56 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000