This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-16
Channels
- # aws (17)
- # babashka (2)
- # beginners (131)
- # bristol-clojurians (1)
- # calva (16)
- # chlorine-clover (6)
- # cider (10)
- # clara (5)
- # cljsrn (82)
- # clojure (176)
- # clojure-dev (14)
- # clojure-europe (13)
- # clojure-italy (13)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-sweden (32)
- # clojure-uk (32)
- # clojuredesign-podcast (2)
- # clojurescript (34)
- # community-development (2)
- # conjure (17)
- # cursive (4)
- # datomic (51)
- # emacs (6)
- # figwheel-main (26)
- # fulcro (16)
- # graalvm (11)
- # jobs (2)
- # jobs-discuss (30)
- # kaocha (4)
- # meander (23)
- # off-topic (34)
- # pathom (5)
- # re-frame (10)
- # reagent (3)
- # reitit (6)
- # releases (3)
- # sci (36)
- # shadow-cljs (27)
- # sql (9)
- # testing (6)
- # tools-deps (28)
- # vim (8)
:term
has these docs for switching into terminal mode automatically: autocmd TermOpen * startinsert
— I’m wondering how I could package that up in a function or similar that would switch automatically for a specific command but not generally
not sure if that helps you but I have a shortcut setup that goes directly into insert mode like this:
nnoremap gtt :term<CR>i
I find that some modes which build on term are broken, where for example starting a terminal opens it in a split, then leaves me in my original file but now I am in insert mode
this might be interaction with placement prefix commands like :vert
and :abo
- it's intermittent
@U8ZN5EHGU I think that should work! I’ll add a command to execute but this seems like it should do the trick
yup, works perfectly, thank you!