This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-08
Channels
- # aleph (4)
- # beginners (5)
- # cljs-dev (21)
- # clojure (155)
- # clojure-dev (3)
- # clojure-italy (10)
- # clojure-losangeles (3)
- # clojure-nl (2)
- # clojure-russia (5)
- # clojure-spec (42)
- # clojure-uk (11)
- # clojurescript (170)
- # code-art (1)
- # component (3)
- # core-async (28)
- # cursive (70)
- # data-science (3)
- # datascript (1)
- # datomic (28)
- # emacs (6)
- # gorilla (1)
- # graphql (2)
- # jobs (1)
- # lein-figwheel (4)
- # lumo (7)
- # off-topic (13)
- # om (63)
- # parinfer (66)
- # planck (1)
- # re-frame (22)
- # reagent (2)
- # ring-swagger (53)
- # rum (3)
- # sql (13)
- # test-check (2)
- # unrepl (48)
- # vim (8)
- # yada (33)
in ftplugin/clojure.vim
you can use this:
omap <buffer><expr> aF (v:operator == 'g@' && &operatorfunc =~ "printop") ? "\<Plug>(sexp_outer_top_list)``" : "\<Plug>(sexp_outer_top_list)"
Totally a hack, but what isn't in vimscript? Unfortunately fireplace doesn't set v:operator (I'm not sure it can anyway), so I regex match the private function name it has. Could break if something else uses printop has the name, doubt anything will.Should work for af
and such also, just needs appropriate tweak. I can probably write something that runs over the list of appropriate mappings in sexp