This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-04
Channels
- # aleph (23)
- # announcements (1)
- # babashka (21)
- # beginners (70)
- # biff (3)
- # cider (8)
- # clj-kondo (45)
- # clj-yaml (9)
- # clojure (69)
- # clojure-europe (82)
- # clojure-nl (1)
- # clojure-norway (2)
- # clojurescript (34)
- # conjure (19)
- # core-typed (6)
- # cursive (2)
- # events (5)
- # fulcro (55)
- # honeysql (1)
- # integrant (18)
- # jobs (1)
- # lsp (124)
- # malli (10)
- # meander (1)
- # off-topic (26)
- # polylith (8)
- # reagent (7)
- # releases (1)
- # remote-jobs (1)
- # sci (2)
- # shadow-cljs (19)
- # squint (5)
- # vim (17)
- # xtdb (31)
How do I select an expression? And how do I kill it? I have viw
selecting most expressions (like keywords, symbols), but it doesn't seem to work with strings and regexes
I have vaf
selecting sexprs, but again not just the token that I'm in (not sure if this is the correct term)
@UPWHQK562 Thanks for the pointer - af
does work, but as
doesn't. How would I debug that (neovim, noob)
Are you using some other plugins? IIRC there have been some plugins that lead to conflicts with as
-- I think treesitter? There is also ae
.
ae
does work as well. Can I somehow see what could be causing conflicts? I do have treesitter installed.
Just tried disabling treesitter, and yes, as
starts working. But doesn't do the best of jobs with escaping quotes and leading #
I'm not aware of any shortcut to discovering conflicts. Good ol' debugging is all we have AFAIK.
Also try va(
and vab
And dab
cab
cib
sab
Do you happen to use this which key plugin: https://github.com/folke/which-key.nvim? I recently switched to that and when running :checkhealth
at the end of the report I get a list of conflicting keymaps.
can also try :verbose map \ff
to see what pops up
where \ff
is whatever keymap you're trying
I'm using https://github.com/tpope/vim-surround too. A bit more generic plugin for non-Clojure work as well!