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•12h ago

Comments

wonger_•12h 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•11h 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•8h ago
lazygit is the best thing ever. You can use vim keybindings and there's a vim plugin too.
dasil003•11h 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•11h 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.

Browser extensions turn nearly 1M browsers into website-scraping bots

https://arstechnica.com/security/2025/07/browser-extensions-turn-nearly-1-million-browsers-into-website-scraping-bots/
1•chha•3m ago•0 comments

HRM: 27M parameters, 1000 training samples, no pre-training required

https://arxiv.org/abs/2506.21734
1•mountainview•3m ago•0 comments

Inymbus

https://www.inymbus.com
1•inymbuss•4m ago•0 comments

At last, a use case for AI agents with sky-high ROI: Stealing crypto

https://www.theregister.com/2025/07/10/ai_agents_automatically_steal_cryptocurrency/
1•rntn•5m ago•0 comments

Building Seamless User Journeys: Your Guide to React Onboarding with OnboardJS

https://onboardjs.com/blog/react-onboarding-onboardjs-getting-started
1•somafet•7m ago•1 comments

Mecha-Hitler, Grok, and why it's so hard to give LLMs the right personality

https://www.seangoedecke.com/ai-personality-space/
1•rbanffy•7m ago•0 comments

Monorail: Pioneering $999 PCs from 1996

https://dfarq.homeip.net/monorail-the-pioneering-999-pc-from-1996/
1•rbanffy•8m ago•0 comments

Quantum battery model achieves theoretical speed limit

https://phys.org/news/2025-07-quantum-battery-theoretical-limit-genuine.html
1•TMEHpodcast•8m ago•0 comments

The AI Bubble Is Real. So Is the AI Revolution – By OMC

https://omc345.substack.com/p/the-ai-bubble-is-real-so-is-the-ai
2•rbanffy•9m ago•0 comments

Galois field instructions on 2021 CPUs

https://www.corsix.org/content/galois-field-instructions-2021-cpus
1•weinzierl•11m ago•0 comments

Ask HN: Do you think GEO will demand fresh training and education?

1•swithek•12m ago•0 comments

Check out how live classroom experience can be brought on autopilot

1•kp_arch•12m ago•0 comments

floccinaucinihilipilification

https://en.wiktionary.org/wiki/floccinaucinihilipilification
1•weinzierl•14m ago•0 comments

Swiss boffins tease 'fully open' LLM trained on Alps super

https://www.theregister.com/2025/07/10/llm_swiss_supercomputer/
1•LorenDB•14m ago•0 comments

Folio: Your Pocket Replacement

https://savewithfolio.com/blog/meet-folio-your-pocket-replacement/
2•robin_reala•16m ago•0 comments

Magic .env files built for sharing: Human-first, AI-friendly

https://varlock.dev/
1•mooreds•17m ago•0 comments

Recovering Corrupt Zip Files

https://www.construct.net/en/blogs/ashleys-blog-2/recovering-corrupt-zip-files-1895
2•AshleysBrain•17m ago•0 comments

Show HN: Supadex – Mobile Dashboard for Supabase

https://www.supadex.app/
1•guiolmar•18m ago•0 comments

Ask HN: What's harder, admitting you're wrong or staying silent?

1•randerson001•19m ago•0 comments

Rats in New York City

https://en.wikipedia.org/wiki/Rats_in_New_York_City
1•KoftaBob•19m ago•0 comments

Ask HN: IRS Is Forcing Me to Use ID.me – What Are My Options?

1•blkstormy•20m ago•1 comments

Paul McCarthy

https://theboxla.com/
1•kwoii•21m ago•0 comments

Ask HN: Why are you not creating an MCP server?

1•shubhamintech•21m ago•1 comments

Numair Faraz

1•kwoii•21m ago•0 comments

Amiga Forever 11 Released

https://www.heise.de/en/news/Commodore-emulation-packages-Amiga-Forever-11-and-C64-Forever-11-released-10476317.html
1•aureliusm•22m ago•0 comments

Naming Software Teams

https://staysaasy.com/management/2025/07/06/team-names.html
1•thisismytest•22m ago•0 comments

Ask HN: PMs working in foundational AI companies – what have you learned?

1•pinter69•23m ago•0 comments

A.I. Is Making Sure You Pay for That Ding on Your Rental Car

https://www.nytimes.com/2025/07/09/travel/rental-car-ai-scanner-hertz.html
1•sega_sai•26m ago•1 comments

Dark mode is not just about aesthetics

https://drgrizz.xyz/dark-mode.html
2•hosteur•30m ago•0 comments

Europe is slowly ditching Microsoft: why it's happening and why it could fail [video]

https://www.youtube.com/watch?v=RGt2pZg7dJY
4•unripe_syntax•32m ago•1 comments