在终端模仿hn的外观和感觉
pyhackernews的Python项目详细描述
皮哈克内斯
在终端中模拟HN的外观和感觉
HN输入终端,带TMUX:
安装和使用:
pip install pyhackernews
然后在终端:
hn
配置:
自定义键绑定可以在以下任一项中定义:
$HOME/.pyhackernews
或:
$HOME/.config/pyhackernews
喜欢这样:
[Keys] quit = q open = o tabopen = O refresh = r scroll_up = k scroll_down = j bottom = G [Commands] ; %URL is a placeholder for where the actual URL will be inserted. ; Remove these if unused. open = dwbremote :open %URL tabopen = dwbremote :tabopen %URL