写作方法2014timotheepoisot.fr
把 Vim 当作写作环境
Using Vim as a writing environment
导读
这篇讨论把 Vim 当作写作环境:评论者分享用它写书、论文、文章、演讲和邮件的经验,也指出长行与自动换行等实际不便,并提到 LaTeX 与 Unicode 符号的工作流。对写作者来说,它有助于判断是否把代码编辑器用于长篇写作,以及该优先配置哪些环节。
可以直接用的写作要点
- 01
把 Vim 用于长篇写作时,先配置好自动换行和长行显示,避免写作被排版问题打断。
- 02
用 LaTeX 等标记语言写作时,可尝试直接输入 Unicode 数学符号,让源码更接近最终阅读形态。
- 03
可借鉴面向写作者的 Vim 定制、插件和发布流程,建立从草稿到输出的稳定工作流。
- 04
工具不必局限于代码:同一编辑器可承载书稿、论文、演讲和邮件等多种文体,关键是形成自己的配置习惯。
HN 评论精选
有专门面向写作者的 Vim 资源,涵盖理念、配置、插件和发布流程。
我正在写一本关于如何用 Vim 高效写作的书(《Writing With Vim》),可在 leanpub.com/vim-for-writers 订阅更新;还差几个周末就能完成。目前约五十页,涵盖写作理念、基本定制、Vim 内置功能与插件,之后还会涉及发布工作流。
panozzaj查看英文原文
I'm working on a book talking about how to write effectively using Vim ("Writing With Vim"), sign up for updates at: https://leanpub.com/vim-for-writers. I need a few more weekends and it should be good to go. It's at about fifty pages right now and covers philosophy, basic customizations, things that are built into Vim as well as plugins, and will cover some publishing workflows.
Vim 可承载大量长篇散文写作,用作 LaTeX 编辑器尤其合适。
我觉得自己在 Vim 里写的普通散文远多于代码:两本书、一篇学位论文、十几篇文章、大概六十个演讲,还有信件、笔记、成千上万封邮件等等。不过我主要把它当作 LaTeX 编辑器——这其实正是把 Vim 当代码编辑器用的本意。
sramsay查看英文原文
I think I've written far more ordinary prose in Vim than I have code: two books, a dissertation, a dozen articles, probably sixty talks, letters, notes, thousands of email messages . . . you name it. I mainly use it, though, as an editor for LaTeX which, I think, is really using Vim precisely as it was intended (that is, as a code editor).
长行与自动换行是 Vim 纯文本写作的主要痛点,需要插件或配置解决。
虽然我所有代码都在 Vim 里写,但一直觉得它不算很好的文本写作环境。主要烦恼是长行或自动换行总是不按我的意愿工作。有人有写 Vim 文本时好用的插件推荐吗?
smathieu查看英文原文
Although I write all of my code in Vim, I have always found it to not be great environment for text. The main annoyance comes from dealing with long lines or automatic line wrapping that never seems to do what I want it to. Does anyone have other plugins that they find useful when writing in vim?
可直接在 LaTeX 源码中使用 Unicode 数学符号,提升源码可读性。
作者提到让 Vim 显示希腊字母和数学符号来替代 TeX 输入;其他插件也提供高亮命令实现这一点,但我更喜欢让 LaTeX 直接处理 Unicode 符号。我就是喜欢源码里出现真正的积分号等符号,主要因为把论文源码发给别人时能吓他们一跳。
leephillips查看英文原文
Author mentions having vim display greek letters and math symbols to replace the TeX input: other plugins supply the highlighting commands to do this as well, but I prefer setting LaTeX up to deal with Unicode symbols directly. I just like having actual integral signs, etc. in my source. Mainly because it freaks people out when you send them the source to your paper.
同类还值得读
被低估的工程技能:把文章写好
Undervalued Engineering Skills: Writing Well
这篇文章讨论为什么“写得好”是被低估的工程能力,以及它如何在团队协作、系统设计和职业发展中持续带来回报。
写作方法2019 · 1,109 分 · 371 评4 条写作要点编辑精选每行只写一句话:让写作和修改都更轻松的排版法
Writing one sentence per line
这是 Derek Sivers 的一篇短文,主张写作时每行只放一个句子,而不是按段落排版。
写作方法2022 · 849 分 · 297 评4 条写作要点编辑精选书面沟通是远程工作的超级能力
Written communication is remote work super power
这篇文章讨论远程工作中书面沟通的价值,评论区则补充了异步与同步沟通的适用场景,并提醒读者:备忘录、结论先行、结构化命令格式等书面沟通传统早已有之。
写作方法2020 · 831 分 · 190 评4 条写作要点编辑精选如何写出有用的文字
How to Write Usefully
保罗·格雷厄姆在这篇文章里给"有用的写作"下了一个可操作的公式:有用≈重要×新颖×正确×清楚,任一项为零,整篇文章就等于零;他还主张敢下确定判断、删掉让自己心虚的句子。
写作方法2020 · 821 分 · 285 评4 条写作要点编辑精选如何写得更清楚、想得更清楚,并学会复杂材料(PDF)
How to write more clearly, think more clearly, and learn complex material [pdf]
这份 PDF 讨论如何把文章写清楚、把思路理清楚,并用写作来学习复杂材料。
写作方法2022 · 779 分 · 153 评4 条写作要点编辑精选