4 ms·
I code in CL, Clojure using only vim. I use only % operator, set sw = 2, visual > or < to edit lisp forms and I am very happy!!!
by deepaksurti 11y ago
I code in CL, Clojure using only vim.
I use only % operator, set sw = 2, visual > or < to edit lisp forms and I am very happy!!!
- agumonkey 11y agoM-x betrayal RET What does %, > and < do in your setup ? An emacser wrote a thing called lispy to have vi-like sexp manipulation UX (aka single letter commands).
- deepaksurti 11y agoIf I want to move a nested s-exp outside: (foo (bar baz) quux zot) Using d% on (bar baz) then move to desired loc, and p. So % is for matching ( ). Again v% visually selects a form, then < and > for indent and dedent.