This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-18
Channels
- # aleph (1)
- # announcements (31)
- # babashka (9)
- # babashka-sci-dev (36)
- # beginners (72)
- # calva (20)
- # clj-kondo (99)
- # cljsrn (1)
- # clojure (77)
- # clojure-europe (33)
- # clojure-nl (4)
- # clojure-norway (12)
- # clojure-uk (4)
- # clojurescript (23)
- # cursive (2)
- # datascript (5)
- # events (1)
- # fulcro (3)
- # honeysql (3)
- # inf-clojure (82)
- # interop (2)
- # kaocha (10)
- # lsp (15)
- # meander (1)
- # missionary (10)
- # off-topic (22)
- # pathom (4)
- # pedestal (3)
- # polylith (20)
- # re-frame (10)
- # react (4)
- # reagent (4)
- # reitit (27)
- # ring-swagger (1)
- # shadow-cljs (34)
- # specter (3)
- # sql (1)
- # testing (5)
- # tools-deps (22)
- # vim (12)
this seems like a totally newb thing, but I haven't been taking advantage of it enough:
nvim file.clj +100 # opens file to line 100
nvim file.clj +/foo # open file with search active, cursor on first match
a game changer if I am frequently going from the terminal back to make small edits
there's also -oN -ON -pN
to start with N splits, N vsplits, or N tabs respecively, something I feel like I should put in an alias to reduce the amount of window management I do on startup
When I skip between small edits/terminal, I often just put vim into the bg with C-z and then bring it back with fg
One thing I really nope it would have (I use the +
a lot to jump to a line), but to jump to a column isn't yet easily done, would to see something like foo.txt +13:10
or foo.txt +13,10
something like that, so I can jump to line, column.
There are probably several ways. There usually is. 🙂
Here is the first I could think of. Yes it is verbose, but just wrap it in some alias or shell function that makes it simpler?
vim file.clj +13 -c "normal 010lh"
(go to line 13, column 10)