This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-01
Channels
- # announcements (3)
- # babashka (20)
- # beginners (77)
- # calva (27)
- # cider (5)
- # clara (3)
- # clj-kondo (9)
- # cljs-dev (4)
- # cljsrn (5)
- # clojure (26)
- # clojure-europe (32)
- # clojure-italy (5)
- # clojure-nl (3)
- # clojure-uk (5)
- # clojurescript (25)
- # clojureverse-ops (4)
- # core-async (49)
- # cursive (15)
- # data-science (1)
- # datahike (4)
- # datomic (3)
- # docker (1)
- # events (1)
- # helix (5)
- # holy-lambda (3)
- # introduce-yourself (1)
- # jobs (1)
- # kaocha (2)
- # lsp (15)
- # malli (42)
- # off-topic (18)
- # pathom (18)
- # pedestal (12)
- # polylith (7)
- # rdf (1)
- # re-frame (22)
- # reitit (2)
- # releases (1)
- # remote-jobs (1)
- # rewrite-clj (33)
- # shadow-cljs (85)
- # spacemacs (3)
- # vim (12)
- # xtdb (29)
hi guys, is there a way to commit hunks of code in vim like in emacs-magit rather than the whole file?
There's also https://github.com/TimUntersberger/neogit but I haven't tried it.
vim fugitive allows that too. You can examine a file and stage files or hunks under the cursor
I've always used git add -p
from the command line to interactively stage portions of files. I've had vim-fugitive
installed for years but have too lazy to actually use it for much.
if you’re using neovim and care about speed: https://github.com/lewis6991/gitsigns.nvim
beware though, I’ve find a few bugs using it so it might not quite be ready for primetime
vim-fugitive is a game changer. You can vimdiff against the staged changes, meaning you can directly edit what is staged. Very useful for splitting up commits below the per line level.
@URP769HJN vim-gitgutter is great, thanks
My flat is 5 mins away from the conference center where COP26 is being held. It is chaos around here