This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
@neeasade what do you mean? develop doesn't get released. Maintainers just merge whatever they see fit. Couple of things you can do to track things:
a) keep an eye on PRs. You can sort them by recently updated https://github.com/syl20bnr/spacemacs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc. If you want something that you'd be interested in being merged sooner, you can ask directly in PR discussion or in Spacemacs's Gitter channel
b) whenever you pull the latest, you can check what exactly got updated. Essentially it is this command: git log --oneline --abbrev-commit ORIG_HEAD..HEAD
Also note that Spacemacs has official Changelog (things that get released into the master branch). To view it right in Spacemacs, you can press SPC f e i
then SPC p f
How would I yank the symbol/form I am on? or the outer set of parens? There seems to be a special yank for lisp or something?
Can I use a text object as a region maybe? (Then I'd need a text object for lisp things)
Also the evil-cleverparens
project will give you text objects for forms, comments, defns. I don’t use it because it steps on too many of my (somewhat idiosyncratic) key-bindings, but seems like it’d be good for most folks.
cider-eval-last-sexp
is slightly imperfect IMO because it requires that you be at least 1 character past the sexp; being on the closing paren doesn’t work.
I use it all the time; just mentioning because it sometimes confuses people at first.
(of course you need to be connected to a REPL for those to work; cider-jack-in-clojure
is usually the simplest way.
@eggsyntax so I couldn't use it with evil-cleverparens' af
, ad
, etc.
sure. A little idiosyncratic to true Vim I guess. I suppose most users are looking for vim-style navigation & modal transition rather than the operator/text object principle.
The evil-cleverparens does help somewhat, although I do note that a few text objects I'd expect are missing, e.g. symbol
(or I guess 'word'
is expected to be set to a symbol/keyword/etc. matching regex) and element
(if I'm on a paren, use form, else do a symbol)
I have a "symbol" motion in spacemacs
try vao
ah okay, useful. So the clever thing is what I'm really missing then I guess. vim-sexp has a really nice concept of an element, it also matches strings if you're inside one of them.
doing any *-last-sexp-*
type stuff when you’re in evil mode is a bit awkward as you need to be fully on the next char and can’t be on the last bracket that completes the form
@dominicm you know about SPC v v v v v
right?
I miss that a lot when I got back to vim
@pesterhazy That is rather cool
https://github.com/terryma/vim-expand-region although you can have it when you use vim too 😉
great, an idea worth spreading
Does anyone have any idea why I keep getting some portions of some files with bold light green 😞 ?
@dominicm “I suppose most users are looking for vim-style navigation & modal transition rather than the operator/text object principle.” I’m surprised to hear you say that; I think of operator -> text-object as about the most vimmy thing there is. As described eg in: https://yanpritzker.com/learn-to-speak-vim-verbs-nouns-and-modifiers-d7bfed1f6b2d
That said, I really do wish you could use eval
as a verb in exactly that sense, so you could do, eg, eval-around-parens
or eval-line
rather than visual-around-parens
/`eval-region`.
suddenly suspects there may be a way to write an emacs lisp function to do exactly that…
@eggsyntax I agree, it's a pillar of vim. However, I spent a year or two without really grokking the text object / operator usefulness, I suspect that applies to others too. Otherwise, there'd be more users demanding this exact kind of thing. I got plenty of value from just the navigation parts myself, even if I was fumbling compared to my current abilities.