This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-04
Channels
- # adventofcode (100)
- # announcements (7)
- # architecture (1)
- # aws (14)
- # beginners (209)
- # calva (30)
- # cider (5)
- # cljdoc (2)
- # cljs-dev (37)
- # cljsrn (2)
- # clojure (133)
- # clojure-dev (20)
- # clojure-finland (1)
- # clojure-italy (10)
- # clojure-nl (19)
- # clojure-spec (56)
- # clojure-uk (49)
- # clojurescript (57)
- # clojurex (8)
- # core-async (2)
- # core-logic (1)
- # cursive (38)
- # data-science (19)
- # datomic (28)
- # devcards (3)
- # duct (8)
- # emacs (28)
- # figwheel (1)
- # figwheel-main (31)
- # fulcro (2)
- # jobs (1)
- # kaocha (1)
- # klipse (2)
- # mount (6)
- # nrepl (43)
- # off-topic (20)
- # pathom (3)
- # pedestal (1)
- # re-frame (15)
- # ring-swagger (1)
- # shadow-cljs (47)
- # spacemacs (19)
- # sql (20)
- # tools-deps (58)
- # unrepl (13)
- # vim (5)
TIL about evil-exchange
, bound to g x
by default. Do g x
, then a motion to delineate some text. (Visual selection before g x
works too.) Then go somewhere else, type g x
and another motion, at which point the two regions you defined are exchanged.
That's really nice, thanks Jeff
I found this because somebody shared a useful vim tip that, so far as I can tell, Spacemacs lacks: visually select some lines that have a number in them, then g C-a
increments the numbers so that each line has a bigger number. IOW, with these lines selected:
this is a line with a 0 in it
this is a line with a 0 in it
this is a line with a 0 in it
…then g C-a
will convert them to this:
this is a line with a 1 in it
this is a line with a 2 in it
this is a line with a 3 in it
That vim tip would be great.
You could increase all the numbers at the same time with iedit SPC s e
and use number increase/decrease at point SPC n +
and SPC n -
.
Not as useful, but wonder if it could be adapted?
It looks like the closest thing Emacs has is C-u C-x r N
, as described here:
https://stackoverflow.com/questions/29405042/increment-numbers-in-visual-vertical-block-selection-in-emacs-evil
how do I solve the problem where I can't do anything because of these errors
command-execute: Cannot open load file: Too many open files, counsel-projectile
face-attribute: Cannot open load file: Too many open files, evil-surround
I've tried clean buffer list but that doesn't do anything
trying to do M-x gives me
Error running timer ‘which-key--update’: (file-error "Read error on documentation file" "Too many open files" "DOC")
command-execute: Buffer is read-only: #<buffer *spacemacs*>
can't even restart because of too many open files
found a way to get to "kill some buffers" and did it. Not sure how this happened, is there a setting or something I need to prevent this. i'm on a mac-book pro so I'm surprised I got this, not sure the origin
@theeternalpulse Do you know how many buffers (approximately) you had open?
I often use helm transient state to clear down buffers, e.g. SPC b B
for global buffer list, then M-SPC
for helm transient state. Narrow by typing a pattern for the name if required, use T
to mark all buffers listed and M-D
to kill marked buffers.
I often do this for Magit buffers that seem to hang around, using Magit as the pattern in the above process
Nice!
I had M-SPC
shadowed by Alfred!
The workaround was to use helm normally to filter, C-SPC
to select without helm transient and M-D
to remove
I wonder what else M-SPC
contains...
Can you M-x
when helm is open and find the helm transient mode function? I do something similar when M-SPC
doesn't work for org agenda transient mode.
Ah right…because M-x
uses helm for autocompletion. That makes sense.
@U1UQEM078 https://practicalli.github.io/spacemacs/why-spacemacs/helm-transient-state.html mentions also S-M-SPC
as an alternative shortcut.
I see, I pretty much cleared out the buffers with kill some buffers, and that was after a restart. I thought clean buffer list would work, but that doesn't do much forme
@theeternalpulse Do you know how many buffers (approximately) you had open?
I often use helm transient state to clear down buffers, e.g. SPC b B
for global buffer list, then M-SPC
for helm transient state. Narrow by typing a pattern for the name if required, use T
to mark all buffers listed and M-D
to kill marked buffers.
I often do this for Magit buffers that seem to hang around, using Magit as the pattern in the above process