This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-13
Channels
- # bangalore-clj (5)
- # beginners (94)
- # boot (145)
- # cljs-dev (4)
- # cljsjs (79)
- # cljsrn (18)
- # clojure (343)
- # clojure-dev (21)
- # clojure-dusseldorf (6)
- # clojure-india (1)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-russia (62)
- # clojure-sanfrancisco (1)
- # clojure-spec (109)
- # clojure-taiwan (1)
- # clojure-uk (103)
- # clojurescript (102)
- # code-reviews (30)
- # component (1)
- # cursive (39)
- # datascript (7)
- # datomic (68)
- # emacs (11)
- # figwheel (1)
- # gorilla (1)
- # hoplon (234)
- # off-topic (46)
- # om (52)
- # onyx (32)
- # planck (9)
- # proton (4)
- # protorepl (5)
- # random (1)
- # re-frame (36)
- # ring (18)
- # ring-swagger (1)
- # specter (6)
- # untangled (3)
- # vim (56)
Post went live! https://juxt.pro/blog/posts/vim-1.html đ First blog post, bit nervous. You guys wanna catch out my errors first? đ
@dominicm I think the link to nvim-parinfer.js
is incorrect. Currently seems to point back to the blog post.
@dominicm @jarrodctaylor same with the follow parinfer
link in the same paragraph
@jarrodctaylor @mikepjb Thanks for that! Fixed those links.
@mikepjb RE refactoring, not as often as I'd like. I have a rough idea of what's available though, and the rename-symbol stuff is just excellent.
I figure it will eventually become ingrained. Though, I probably have targetted the wrong ones for regular usage.
I regularly use crcn (Clean namespace) actually, so that's one that's ingrained pretty well.
Using neovim with set ft=clojure
and call Parengage()
or whatever to setup vim-sexp is pretty neat do you use this in your setup?
@jebberjeb I think vim-sexp is less... intrusive than paredit. Paredit breaks repeat (`.`) and changed dd
in a way that didn't consistently balance.
It'd be nice to have vim-sexp + dd
that understood. That may be possible soon with the neovim api. But I don't want dd
rebound, I want the TextChangedEvent
to say "oh, this area is gone... ))))). Okay, we're good" And I think you need a shadow buffer for that. I might be wrong.
It's a way of keeping a replica of a buffer, to do transformations, there was also mention of gofmt.
(defn serve-pdf
"Takes an encrypted data string, requests a pdf from s3 and watermarks it. Outputs the pdf"
[http-request]
(println (str "Request for " (get http-request :uri))))
(defn serve-pdf
"Takes an encrypted data string, requests a pdf from s3 and watermarks it. Outputs the pdf"
[http-request]
)
Yeah. It would have to figure out which bit changed, and what is now unbalanced because of it.
The key part for me is that it wouldn't override dd
though, just respond to the text changing. So that plugins which delete lines for me don't break (for example)
I donât know if smart-parens is any better but thereâs plenty of behaviour where paredit misbehaves - like pasting unbalanced text into your document
you can get the changed area froma textchanged event most of the time with registers. it's not perfect though.
@dominicm maybe an addition for the future adventures section: https://github.com/maitria/avi
@jebberjeb must admit, not decided which vim clone takes my interest currently. Kakoune looks good on it's own way. Neovim seems most committed to extensibility though.