diff options
-rw-r--r-- | config/common/newsraft/config | 1 | ||||
-rw-r--r-- | config/common/newsraft/feeds | 1 | ||||
-rw-r--r-- | config/essentials/vis/visrc.lua | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/config/common/newsraft/config b/config/common/newsraft/config new file mode 100644 index 0000000..fdfc8a8 --- /dev/null +++ b/config/common/newsraft/config @@ -0,0 +1 @@ +bind m exec mpv "%l" diff --git a/config/common/newsraft/feeds b/config/common/newsraft/feeds index 683490c..69f8d71 100644 --- a/config/common/newsraft/feeds +++ b/config/common/newsraft/feeds @@ -7,6 +7,7 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UChIs72whgZI9w6d6FhwGGHA "Ga @ Top https://www.youtube.com/feeds/videos.xml?channel_id=UCaTznQhurW5AaiYPbhEA-KA "Molly Rocket" https://www.computerenhance.com/feed "Computer, Enhance!" +https://www.youtube.com/feeds/videos.xml?channel_id=UCrqM0Ym_NbK1fqeQG2VIohg "TsodingDaily" https://xkcd.com/rss.xml @ Hacking diff --git a/config/essentials/vis/visrc.lua b/config/essentials/vis/visrc.lua index f9242c8..3bfe594 100644 --- a/config/essentials/vis/visrc.lua +++ b/config/essentials/vis/visrc.lua @@ -160,6 +160,11 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) -- luacheck: no unused a vis:info("exported.") end, "Export markdown to html") map_cmd(m.NORMAL, "\\sl", "-+x/(\\d+|[-*])\\s+.+\n/", "Expand to list item") + map_cmd(m.NORMAL, "\\sh", "-/^#+/,/^#+/-", "Expand to header") + -- select header block by name + -- ,x/^# Planning\n([^#]|\n)+ + win.options.tabwidth = 2 + win.options.expandtab = true end if win.syntax == "ansi_c" then |