I'm asking for several tips to make editing lisp like languages in evil mode better. In particular there is one feature that I would really like but couldn't manage to get it to work. For example given the following code (cursor is indicated by |):
(line| of code
(other line of code))
I would like to delete the whole expression with dd (which normally would delete only the line I'm in). Basically I would like to operate on expressions rather then on lines for all the evil commands that are working on lines normally.
Edit: For anyone interested evil-cleverparens looks interesting, too and it has a list of other similar packages at the end of the README.
(hello "foo | oo")
, calling it will select "foo", then "\"foo\"", then "hello \"foooo\"", then with the parenthesis. melpa.org/#/expand-region