frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Vim-pencil: Rethinking Vim as a tool for writing

https://github.com/preservim/vim-pencil
42•gurjeet•3d ago

Comments

fleshmonad•1h ago
Vim is my only text editor, I use it for writing everything. Emails, scripts, messages, 100k+ lines codebases, prose, never needed this plugin. One line for 80 char wrap on certain filetypes, and a that is it, never needed such a plugin.

For prose, you can simply hard wrap at 80 (arguably you should), and vim supports this via a single config line. OOTB vim soft breaks anyway and you can navigate between in those broken lines via gj, gk etc.

Seems like bloat to me.

Roundish7334•1h ago
I agree - sometimes it is too easy to get lost when people create plugins for simple configuration options that are already built-in.
CamT•51m ago
I feel similarly, but I could see folks who use vim as more of an IDE finding this useful.
xavortm•51m ago
for writing - instead, it might've been more useful of a plugin if it was targeted at specific problem. Example - creative writing - if you had LSP-like feature on top that can link to characters, scenes, add scenes, find chapters, jump between content. Add character bio, traits and more and have easy "peak" as in a function signature to see details. I know it's different than what the plugin showcases, just sharing thoughts on what I find as a meaningful feature add. here, it's just as commented below, it's basically Vim.
schmeichel•47m ago
As someone who writes academic essays and prose, I can't live without this plugin. I will constantly need to write multiple page paragraphs, and it's incredibility more convient to be able to navigate within a paragraph as if it was multiple lines, as opposed to needing to perform some horizontal motion gymnastics to get the cursor where I need it to be.

Hat's off to everyone who has worked on this plugin!

bee_rider•41m ago
I usually do one line per sentence when writing papers. But a co-author will usually mess that up, so I could see some value to a plugin…
pixelmonkey•18m ago
I've used vim as a prose editor in addition to a code editor for a long time.

For me, Goyo was the plugin that always matched what I wanted vim to become when I was in "prose writing mode."

https://github.com/junegunn/goyo.vim

I combine with limelight.vim:

https://github.com/junegunn/limelight.vim

This partially simulates the experience/UX of the product iA Writer on macOS or iPad, which is my favorite prose editor, but is proprietary software and doesn't work on Linux.

As others mentioned, when in prose writing mode you can also flip on a handful of vim options, I save these as hotkeys in my vimrc. For example, spell checking and line wrapping.

In case you're curious:

https://github.com/amontalenti/home/blob/master/.vimrc

Finnucane•9m ago
Is there a way to do the equivalent of Word's 'track changes' feature in Vim/Neovim? As an editor who reviews manuscripts in Word, I want to be able to make edits, have the author review/approve them, then clean up the result into a file that goes to the typesetter. If I could do that, then a plugin like this becomes potentially more useful to our workflow.

MessageFormat: Unicode standard for localizable message strings

https://github.com/unicode-org/message-format-wg
76•todsacerdoti•3h ago•35 comments

I want to wash my car. The car wash is 50 meters away. Should I walk or drive?

https://mastodon.world/@knowmadd/116072773118828295
774•novemp•7h ago•492 comments

I’m joining OpenAI

https://steipete.me/posts/2026/openclaw
1181•mfiguiere•15h ago•868 comments

Qwen3.5: Towards Native Multimodal Agents

https://qwen.ai/blog?id=qwen3.5
83•danielhanchen•4h ago•34 comments

Thanks a lot, AI: Hard drives are sold out for the year, says WD

https://mashable.com/article/ai-hard-drive-hdd-shortages-western-digital-sold-out
83•dClauzel•1h ago•45 comments

Rolling your own serverless OCR in 40 lines of code

https://christopherkrapu.com/blog/2026/ocr-textbooks-modal-deepseek/
22•mpcsb•4d ago•8 comments

Anthropic tries to hide Claude's AI actions. Devs hate it

https://www.theregister.com/2026/02/16/anthropic_claude_ai_edits/
81•beardyw•2h ago•35 comments

picol: A Tcl interpreter in 500 lines of code

https://github.com/antirez/picol
64•tosh•5h ago•39 comments

The Israeli spyware firm that accidentally just exposed itself

https://ahmedeldin.substack.com/p/the-israeli-spyware-firm-that-accidentally
52•0x54MUR41•1h ago•6 comments

Magnus Carlsen Wins the Freestyle (Chess960) World Championship

https://www.fide.com/magnus-carlsen-wins-2026-fide-freestyle-world-championship/
317•prophylaxis•15h ago•212 comments

Vim-pencil: Rethinking Vim as a tool for writing

https://github.com/preservim/vim-pencil
42•gurjeet•3d ago•8 comments

Modern CSS Code Snippets: Stop writing CSS like it's 2015

https://modern-css.com
532•eustoria•19h ago•209 comments

Expensively Quadratic: The LLM Agent Cost Curve

https://blog.exe.dev/expensively-quadratic
62•luu•3d ago•33 comments

1,300-year-old world chronicle unearthed in Sinai

https://www.heritagedaily.com/2026/02/1300-year-old-world-chronicle-unearthed-in-sinai/156948
68•telotortium•4d ago•10 comments

Arm wants a bigger slice of the chip business

https://www.economist.com/business/2026/02/12/arm-wants-a-bigger-slice-of-the-chip-business
107•andsoitis•11h ago•70 comments

LT6502: A 6502-based homebrew laptop

https://github.com/TechPaula/LT6502
373•classichasclass•20h ago•179 comments

Audio is the one area small labs are winning

https://www.amplifypartners.com/blog-posts/arming-the-rebels-with-gpus-gradium-kyutai-and-audio-ai
233•rocauc•3d ago•61 comments

Show HN: I generated a "stress test" of 200 rare defects from 7 real photos

5•jmalevez•3d ago•2 comments

Show HN: Microgpt is a GPT you can visualize in the browser

https://microgpt.boratto.ca
220•b44•19h ago•23 comments

JavaScript-heavy approaches are not compatible with long-term performance goals

https://sgom.es/posts/2026-02-13-js-heavy-approaches-are-not-compatible-with-long-term-performanc...
112•luu•13h ago•127 comments

I gave Claude access to my pen plotter

https://harmonique.one/posts/i-gave-claude-access-to-my-pen-plotter
224•futurecat•2d ago•148 comments

Building SQLite with a small swarm

https://kiankyars.github.io/machine_learning/2026/02/12/sqlite.html
79•kyars•8h ago•66 comments

EU bans the destruction of unsold apparel, clothing, accessories and footwear

https://environment.ec.europa.eu/news/new-eu-rules-stop-destruction-unsold-clothes-and-shoes-2026...
1080•giuliomagnifico•20h ago•720 comments

Hard problems in social media archiving

https://alexwlchan.net/2025/hard-problems-in-social-media-archiving/
14•surprisetalk•3d ago•2 comments

Designing a 36-key custom keyboard layout (2021)

https://peterxjang.medium.com/designing-a-36-key-custom-keyboard-layout-24498a0eecd4
25•speckx•2d ago•12 comments

Lost Soviet Moon Lander May Have Been Found

https://www.nytimes.com/2026/02/10/science/luna-9-moon-lander-soviet.html
72•Brajeshwar•4d ago•48 comments

Gwtar: A static efficient single-file HTML format

https://gwern.net/gwtar
255•theblazehen•22h ago•78 comments

Real-time PathTracing with global illumination in WebGL

https://erichlof.github.io/THREE.js-PathTracing-Renderer/
175•tobr•3d ago•15 comments

Show HN: Knock-Knock.net – Visualizing the bots knocking on my server's door

https://knock-knock.net
180•djkurlander•20h ago•73 comments

Pocketblue – Fedora Atomic for mobile devices

https://github.com/pocketblue/pocketblue
117•nikodunk•21h ago•36 comments