]>
git.wh0rd.org - tt-rss.git/blob - plugins/swap_jk/init.php
2 class Swap_JK
extends Plugin
{
8 "Swap j and k hotkeys (for vi brethren)",
12 function init($host) {
15 $host->add_hook($host::HOOK_HOTKEY_MAP
, $this);
18 function hook_hotkey_map($hotkeys) {
20 $hotkeys["j"] = "next_feed";
21 $hotkeys["k"] = "prev_feed";