frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Vim Fugitive in Action (2021)

https://dzx.fr/blog/introduction-to-vim-fugitive/
11•todsacerdoti•9h ago

Comments

wonger_•8h ago
This was helpful. I've had "try vim fugitive" on my todo list for a while. But it seems to have way too many bespoke keybinds and interactions for my liking. Anybody have other recommendations for vim git integrations? Should I use something like lazygit instead?
cjhveal•7h ago
Personally, I just break out to the CLI for the vast majority of use cases. Things like viewing logs or making commits or staging hunks with `git add --patch`. I'd suggest looking at only replacing the parts of your workflow that are painful and keep what works. For example, I've heard many folks say that fugitive's `:Git blame` support is the killer feature for them.

To that end, I'd probably pick up a good Terminal User Interface like `lazygit` before spending much time investing into fully driving git through vim. Grains of salt suggested, but if you're interested in exploring other git TUI options, I've also heard good things about `gitui`[0].

[0]: https://github.com/gitui-org/gitui

eulgro•4h ago
lazygit is the best thing ever. You can use vim keybindings and there's a vim plugin too.
dasil003•8h ago
This article glosses over what I consider to be the killer workflow of Fugitive. Specifically the ability to trace history extremely efficiently across any kind of refactoring.

The flow is: 1. :G blame to blame the current file in a locked split 2. navigate to a line, then hit o to open the commit in another split 3. search for a change of interest, then navigate to either the --- or +++ line and hit o to open the before or after version of the file in another split 4. repeat steps 1-3 as needed to drill to whatever history you need 5. ctrl-w o to kill all the splits and leave you with just the buffer of interest

whereas I'm pretty happy with git CLI for the majority of git interaction, and a graphical client like gitk for visualizing branch history, I haven't found any other history inspection technique or tool that comes close to this.

skydhash•7h ago
Fugitive is the lite version of Magit. Useful for all the common actions that you may need to do, especially with regards to the current file. Also no context switching like you'd do with tmux and other tools. But the nice thing about Magit is Transient (which is itself a nice pattern CLI tools). Full interactivity over the myriad of flags and parameters git have.

Musk says his new AI model 'better than PhD level in everything'

https://www.independent.co.uk/space/elon-musk-tesla-spacex-chatgpt-twitter-b2786163.html
1•Bluestein•1m ago•0 comments

Inulin (Fiber) Supplement Appears to Boost Brain Function in Older People

https://www.sciencealert.com/cheap-daily-supplement-appears-to-boost-brain-function-in-older-people
1•hilux•1m ago•0 comments

Koch Snowflake

https://en.wikipedia.org/wiki/Koch_snowflake
1•nomilk•4m ago•0 comments

XAI launches Grok 4 alongside a $300 monthly subscription

https://techcrunch.com/2025/07/09/elon-musks-xai-launches-grok-4-alongside-a-300-monthly-subscription/
1•chaosprint•7m ago•0 comments

The Ancient History of Compression Algorithms

https://www.cs4fn.org/compression/tiro.php
1•jruohonen•10m ago•1 comments

"Ripples They Cause in the World"

https://www.shadowcat.co.uk/2025/07/09/ripples-they-cause-in-the-world/
2•todsacerdoti•11m ago•0 comments

Show HN: Coin Flipper

https://coin-flipper.com/
1•artiomyak•13m ago•0 comments

I used Claude Sonnet 4 to help a customer import their blog archive in 46 mins

https://olly.pagecord.com/i-used-claude-sonnet-4-to-help-a-customer-import-their-blog-archive-in-46-minutes
2•s_cloud•20m ago•1 comments

Rails Dashboards that scale – with SQL and dry-struct

https://pcreux.com/2025/07/09/rails-dashboards-with-sql-and-dry-struct.html
2•pcreux•23m ago•1 comments

Air India 171 investigation focused on fuel switches movement

https://theaircurrent.com/aviation-safety/ai171-investigation-fuel-control-switches/
3•dondraper36•23m ago•1 comments

Webb Telescope Model for 3D Printing: Detailed Version

https://webbtelescope.org/contents/media/products/01G2Z87WABCENV9MQ0GSE8RGHM
2•sohkamyung•25m ago•0 comments

Flox Build and Publish

https://flox.dev/blog/introducing-flox-build-and-publish/
2•jacobwg•26m ago•0 comments

Ask HN: Pricing strategy for macOS App

3•fandorin•29m ago•1 comments

Elon Musk can make AI education free_whit just one reply

https://twitter.com/HasebullahAmin/status/123456789
2•NasratKaihan•30m ago•3 comments

Quantum Computing Cloud Service IQM Resonance Adds Freemium

https://resonance.meetiqm.com/signup
1•manzanillo•31m ago•1 comments

Goldman Asks Analysts to Swear They Haven't Lined Up Private Equity Jobs

https://www.bloomberg.com/news/articles/2025-07-09/goldman-asks-junior-bankers-to-swear-they-haven-t-landed-private-equity-jobs
1•gscott•32m ago•0 comments

AI blood test can predict Parkinson's disease 7 years before symptoms

https://scitechdaily.com/new-ai-based-blood-test-can-predict-parkinsons-disease-seven-years-before-symptoms/
1•karlperera•32m ago•2 comments

Show HN: What Games Play? Pacman and Battle City

https://whatgamesplay.com/pacman
1•harperhuang•36m ago•0 comments

Who needs the Metaverse? Meet the people still living on Second Life (2023)

https://www.theguardian.com/technology/2023/jun/10/who-needs-the-metaverse-meet-the-people-still-living-on-second-life
5•Bluestein•36m ago•0 comments

To Fall in Love with Anyone, Do This (2015)

https://www.nytimes.com/2015/01/11/style/modern-love-to-fall-in-love-with-anyone-do-this.html
1•ipnon•38m ago•0 comments

Meta's "AI superintelligence" effort sounds just like its failed "metaverse"

https://arstechnica.com/civis/threads/meta%E2%80%99s-%E2%80%9Cai-superintelligence%E2%80%9D-effort-sounds-just-like-its-failed-%E2%80%9Cmetaverse%E2%80%9D.1508176/page-3
10•Bluestein•41m ago•1 comments

Typesense: Open-source, Fast, typo tolerant, in-memory fuzzy Search Engine

https://github.com/typesense/typesense
1•thunderbong•41m ago•0 comments

The Polyhedral Perspective

https://publicdomainreview.org/essay/polyhedral-perspective/
1•andsoitis•43m ago•0 comments

PawSense: Catproof Your Computer

http://www.bitboost.com/pawsense/
1•pr337h4m•46m ago•0 comments

Public Domain Image Archive

https://pdimagearchive.org/galleries/all/random/desc
1•haxfenx•48m ago•0 comments

Operese, a Windows to Linux translation tool [video]

https://www.youtube.com/watch?v=PMoXClh8emw
1•JonahJanzen•48m ago•0 comments

Hedge funds to blame for coffee price surge, says Lavazza boss

https://www.ft.com/content/b5d7caa9-7ae1-4de7-bc3c-8ad68d1ed556
1•amelius•49m ago•1 comments

July 9 Was the Shortest Day This Year as Earth's Spinning Faster

https://in.mashable.com/science/96885/july-9-was-the-shortest-day-this-year-as-earths-spinning-faster-but-there-will-be-more
5•Bluestein•51m ago•0 comments

JS1024 – Annual JavaScript and Shader Code Golfing Competition

https://js1024.fun/
1•doppp•52m ago•0 comments

Bad Is Stronger Than Good [pdf]

https://assets.csom.umn.edu/assets/71516.pdf
2•domofutu•53m ago•0 comments