This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-22
Channels
- # beginners (104)
- # bitcoin (1)
- # boot (5)
- # clara (3)
- # cljs-dev (14)
- # cljsjs (5)
- # cljsrn (1)
- # clojure (242)
- # clojure-italy (17)
- # clojure-news (13)
- # clojure-norway (3)
- # clojure-russia (101)
- # clojure-spec (41)
- # clojure-uk (87)
- # clojurescript (38)
- # core-async (38)
- # cursive (6)
- # datomic (11)
- # defnpodcast (3)
- # docs (14)
- # editors (8)
- # events (1)
- # fulcro (7)
- # hoplon (25)
- # leiningen (4)
- # luminus (7)
- # off-topic (25)
- # onyx (1)
- # portkey (14)
- # random (1)
- # re-frame (7)
- # reagent (4)
- # rum (4)
- # schema (8)
- # shadow-cljs (257)
- # spacemacs (10)
- # specter (4)
- # unrepl (3)
- # yada (1)
@alexkeyes often what I do to find functionality that I need is enter helm command search (`M-x`, or I think SPC :
by default, not sure, I’ve got it rebound) and just start typing keywords like <cider close> and variants. More often than not I find the command that does what I want.
is there a way for emacs to un-prettify a JSON document? I want eliminate all the whitespace and new rows
nvm I just figured it out - did a M-x fill region, then a search and replace all new lines with nothing
@alexkeyes to eliminate line endings and get everything into a single line you can:
a) select region, press g J
2) use ex-command: press :
, then type s/C-q C-j//g
Vimmers are familiar with that feature, you can do a lot using it. Emacs has adopted some of the ex-commands, not all - but just enough to become dangerous (once you learn them)
here's the list of all ex-commands available in Spacemacs https://gist.github.com/agzam/acd3b5e311f8f7e87e21b550856f65e1