This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-01
Channels
- # adventofcode (2)
- # announcements (3)
- # babashka-sci-dev (79)
- # beginners (76)
- # biff (2)
- # calva (32)
- # cider (2)
- # clj-kondo (42)
- # clj-on-windows (17)
- # clojure (28)
- # clojure-belgium (1)
- # clojure-berlin (1)
- # clojure-europe (95)
- # clojure-nl (4)
- # clojure-norway (4)
- # clojure-uk (5)
- # clojurescript (27)
- # conjure (5)
- # cursive (3)
- # data-science (16)
- # datomic (67)
- # graalvm (12)
- # hyperfiddle (36)
- # jobs (3)
- # jobs-discuss (1)
- # kaocha (2)
- # klipse (1)
- # leiningen (28)
- # lsp (16)
- # luminus (3)
- # malli (10)
- # nrepl (3)
- # off-topic (57)
- # other-languages (18)
- # re-frame (4)
- # reitit (8)
- # releases (1)
- # remote-jobs (1)
- # scittle (4)
- # shadow-cljs (7)
- # test-check (1)
- # tools-deps (4)
- # vim (11)
- # xtdb (25)
[Not Clojure related] How can I create a Neovim window that contains only a section of a file, identified by boundary regexes? I'm working on a large Markdown document, and would like to open one of the sections (`start=/^### Section/, end=/^### /`) in a separate window for reference. I'd like to edit, search and move around in that window without leaving that section. https://github.com/chrisbra/NrrwRgn is the closest I could find (and very neat!), but it prevents the source buffer from being modified while a narrowing window is open.
A simple solution could be to limit the cursor to a region (defined by start/end regexes) in a window
Why not use FZF and search for lines in the current buffer?
I think in spacial terms, so having to jump around (even when it's easy to jump back) really breaks my flow.
It's much easier for me to have context A in window 1, and context B in window 2. In this case contexts A and B are in the same buffer.
Conversely, every time the cursor jumps, I have to reorient myself. I try to mitigate this by adding zvzz
to some of my jumping mappings.
I press <C-o> to go back :thinking_face: But it doesn't work all the time But actually <C-T> is a better one
This looks helpful (I have not tried it myself): https://github.com/Pocco81/true-zen.nvim