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)
@alex.sheluchin 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 guess that's a limit of vim-sexp
See https://github.com/nvim-treesitter/nvim-treesitter/issues/2966
You may want to try https://github.com/kylechui/nvim-surround
I'm not aware of any shortcut to discovering conflicts. Good ol' debugging is all we have AFAIK.
Phew ... still a bit of an uphill battle from IDEA+Cursive, but slowly getting there 😄
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!