This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # 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)
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.
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
g C-awill 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:
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
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*>
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
@U1CUUKHDL 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
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-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.
@U1UQEM078 https://practicalli.github.io/spacemacs/why-spacemacs/helm-transient-state.html mentions also
S-M-SPC as an alternative shortcut.