This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-24
Channels
- # architecture (7)
- # beginners (73)
- # boot (4)
- # cider (48)
- # cljsjs (7)
- # cljsrn (27)
- # clojure (206)
- # clojure-boston (2)
- # clojure-italy (21)
- # clojure-nl (8)
- # clojure-spec (7)
- # clojure-uk (94)
- # clojurescript (126)
- # clojutre (7)
- # core-async (3)
- # cursive (7)
- # data-science (1)
- # datascript (4)
- # datomic (6)
- # duct (1)
- # emacs (19)
- # figwheel (1)
- # fulcro (31)
- # graphql (13)
- # jobs (5)
- # jobs-discuss (42)
- # keechma (4)
- # leiningen (10)
- # luminus (3)
- # mount (2)
- # nyc (3)
- # off-topic (37)
- # om-next (3)
- # onyx (45)
- # pedestal (2)
- # re-frame (4)
- # reagent (2)
- # reitit (16)
- # shadow-cljs (118)
- # spacemacs (10)
- # tools-deps (8)
- # vim (20)
Vim doesn't have buffers that are projections of other buffers. I wonder how hard that would be to implement in VimL. e.g. a buffer which is just one function from a file, focused.
that doesn't sound too terribly complicated you can make read-only buffers in vim, and erase them + write to them using vimscript you could use vim's job control to start a job that reads a file, calls a vimscript function to modify the contents (a string), erases the buffer contents, and writes your new contents
I suspect the right way to do it is to have the full file in a (possibly hidden) buffer, and just sync the "focus" buffer to the real buffer on changes.
Although, the modified status of the focus buffer should appear the same as the other buffer, too.
that sounds good too. off-hand, i know that calling :e
with a buffer focused refreshes its contents
there is also some setting that does that for you automatically, but you can't expect every user to have that in his/her vimrc
You know, I tried to find where Neovim developers discuss things and failed. Is it on IRC?
I think the node plugin stuff is better as of last week, I'm going to look at upgrading refactor.
+1 for a refactor upgrade 👍