未加星标

Awesome vim plugins for writers

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Vim is one of the most popular text editors among programmers, web developers, and power users of GNU/linux. This is not surprising, because Vim offers high-speed editing, has extensibility, and is pre-installed on most Linux-based distributions.

In addition, Vim offers great benefits to writers, regardless of whether they are technically minded or not. I personally use it not only for editing configuration files and web pages, but for writing blogs, software documentation, notes, and presentation slides. In my opinion, the only potential issue it has might be its relatively steep learning curve. I remember that it took me about two weeks to become comfortable working in it, but since then, editing any kind of text has felt noticeably more fluent compared to other editors I used before.

In this article, I will share a collectionof plugins that help me create my documents more efficiently and with fewer grammatical, stylistic, and typographical mistakes.

Note: I use Neovim with a Qt-based GUI , however all of the plugins should all work with any stable versions of Vim as well.

Grammar and word usage

Even though the best way to makesure a text contains no grammatical mistakes is for a human to review it, agrammar checker is still valuable when no one has the time to proofread your work. The plugins vim-languagetool and vim-grammarous provide integration with LanguageTool , which checks for errors not covered by Vim's spell checker. It currently supports 31 languages .


Awesome vim plugins for writers

LanguageTool plugin

If you're interested in a more lightweight solution (for English only), vim-wordy is a good choice. This plugin doesn't depend on anything other than Vim, and it looks for mistakes in the current file based on weak wording, jargon, weasel phrases , and so on.

Thesaurus

A thesaurus can give you access to a wider range of vocabulary by listing synonyms of a particular word or phrase. The Multi-Language Thesaurus Query/Replacement Plugin checks for the available synonyms for the word currently under the cursor (ormultiple words highlighted in visual mode) and enables you to replace them with any suggestion easily. The currently supported languages are English, Chinese, Russian, and German.

Some backends work with specific online services (for example, Thesaurus.com ). Others require a local database, such as the one that you can downloadfrom Gutenberg.org or the English thesaurus for OpenOffice.


Awesome vim plugins for writers

Thesaurus plugin

Typography rules

On a typical keyboard, only straight quotation marks can be found (the characters ' and "), and many decide this based on their own style guide. However, if you'd like to follow typography rules , use curly quotation marks and apostrophes.Similarly, use endashes and em dashes instead of single hyphens (-),and three dots instead of an ellipsis .

Since I'm the type of person who generally pays attention to these rules, I have both UniCycle and vim-textobj-quote installed. When active, UniCycle turns all straight quotation marks into curly ones, three dots into ellipsis, and two or three hyphens into en dashes and em dashes, respectively. In addition to doing the same with quotation marks, vim-textobj-quote also provides navigation between opening and closing quotation marks, surrounding words with quotes, and so on.

Note: Digraphs and Compose keys aredecent solutions, too, if you want to insert a character that is outsidethe scope of the above two plugins.

Distraction-free writing

As claimed by Cal Newport in his book " Deep Work ," the more distractions we encounter during our work, the less productive we become. Coming from my own experience, I can confirm this to be true. Fortunately, you can easily reduce (and restore) the editor's potentially distracting visual elements whenever you'd like.

Having read the article on the blog titled, " The Darnedest Thing ," I've come across Goyo and LimeLight . Goyodisables or hides everything except the file content and the status bar, and centers the text using borderless splits (or, using Vim terminology, " windows "). The status bar is also stripped of everything but the most important parts, such as showing whether you are in insert or visual mode, messages of successful saving, etc.On the other hand, LimeLightdims all the paragraphs (specifically, the non-empty lines preceded and followed by empty lines) besides the active one, so that you can focus on the passage you're currently editing.


Awesome vim plugins for writers

LimeLight plugin

Focusing on craftsmanship

I believe writing can be thought of as craftsmanship, because it takes time and careful concentration to convey your message effectively to the widest range of your audience as possible. For this, choosing the right tools is essential. I've chosen Vim and theplugins I've mentioned because I can focus on my work and deliver it faster.

Do you use any plugins for Vim that help you with your writing? I'd love to hear your suggestions.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: LinuxQtOffice
tags: Vim,plugins
分页:12
转载请注明
本文标题:Awesome vim plugins for writers
本站链接:http://www.codesec.net/view/531364.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(79)