Only work macOS now.
Simple Workflowy Layout, theme and add hotkey.
You MUST install Workflowy Chrome version first:
https://chrome.google.com/webstore/detail/workflowy/koegeopamaoljbmhnfjbclbocehhgmkm
git clone https://github.com/yantze/workflowy_patch
cd workflowy_patch
./mod.sh
Restart Workflowy app
- Light
- Markdown
- Go to end of file: Ctrl+Shift+G
- Change theme: Ctrl+Shift+T
- Change to Markdown: Ctrl+shift+M
- Print: Ctrl+Shift+P
- Copy current Node web url: Ctrl+Shift+C
- Go Back: Ctrl + -, Command + [
- Go Forward: Ctrl + +, Command + ]
- Go to end of line: Ctrl+e
- Next/Before line: Ctrl+n/p
Put the code to init.lua and reload HammerSpoon
-- Type Browser Link
-- Change from https://github.com/ashfinal/awesome-hammerspoon
hs.hotkey.bind({'alt'}, 'v', function()
local safari_running = hs.application.applicationsForBundleID("com.apple.Safari")
local chrome_running = hs.application.applicationsForBundleID("com.google.Chrome")
local stat, data
if #safari_running > 0 then
stat, data = hs.applescript('tell application "Safari" to get {URL, name} of current tab of window 1')
elseif #chrome_running > 0 then
stat, data = hs.applescript('tell application "Google Chrome" to get {URL, title} of active tab of window 1')
end
if stat then
hs.eventtap.keyStrokes(data[2])
hs.eventtap.keyStroke({"shift"}, "return")
hs.eventtap.keyStrokes(data[1])
end
end)
如果要查找 Workflowy 中英文或者数字中的一部分,直接输入是找不到的
比如我搜索 Application,那么 launchApplication 就不会被搜索到,而是要输入"Application"
才行