mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-13 12:23:47 -05:00
improve rationale for writers
This commit is contained in:
@@ -32,8 +32,8 @@ its rich ecosystem of plugins.
|
|||||||
## Why use Vim for writing?
|
## Why use Vim for writing?
|
||||||
|
|
||||||
With plenty of word processing applications available, including those
|
With plenty of word processing applications available, including those
|
||||||
that specifically cater to writers, why use a fixed-width font modal
|
that specifically cater to writers, why use a modal editor like Vim for
|
||||||
editor like Vim for writing?
|
writing? Many reasons have been offered:
|
||||||
|
|
||||||
* Your hands can rest in a neutral ‘home’ position, only rarely straying
|
* Your hands can rest in a neutral ‘home’ position, only rarely straying
|
||||||
to reach for mouse, track pad, or arrow keys
|
to reach for mouse, track pad, or arrow keys
|
||||||
@@ -44,17 +44,16 @@ editor like Vim for writing?
|
|||||||
|
|
||||||
But while such reasons might be sound, by themselves they are scant
|
But while such reasons might be sound, by themselves they are scant
|
||||||
justification to switch from the familiar non-modal word processor.
|
justification to switch from the familiar non-modal word processor.
|
||||||
Instead, you need compelling reason—one that can appeal to a writer’s love
|
Instead, you need a compelling reason—one that can appeal to a writer’s
|
||||||
for language and the tools of writing.
|
love for language and the tools of writing.
|
||||||
|
|
||||||
You can find that reason in the mysterious modal commands of a vi-style
|
You can find that reason in Vim's mysterious modal commands. But what’s the
|
||||||
editor like Vim. What’s the significance of a command like `cas` to
|
significance of a command like `cas` to _Change Around Sentence_ to replace
|
||||||
_Change Around Sentence_ to replace an existing sentence? You can see it as
|
an existing sentence? You can see it as a mnemonic. Dig a bit deeper to see
|
||||||
a mnemonic. But dig a bit deeper to see that these vi commands have a grammar
|
that the vi commands have a grammar of their own, comprised of nouns, verbs,
|
||||||
of their own, comprised of nouns, verbs, and modifiers. Think of them as the
|
and modifiers. Think of them as the building blocks of a
|
||||||
building blocks of a _domain specific language_ for manipulating text that
|
_domain specific language_ for manipulating text that with mastery can become
|
||||||
with mastery can become a powerful tool to express yourself, as many coders
|
a powerful tool to express yourself. For more details:
|
||||||
have found. For more details:
|
|
||||||
|
|
||||||
* [Learn to speak vim – verbs, nouns, and modifiers!][ls]
|
* [Learn to speak vim – verbs, nouns, and modifiers!][ls]
|
||||||
* [Your problem with Vim is that you don't grok vi][gv]
|
* [Your problem with Vim is that you don't grok vi][gv]
|
||||||
|
|||||||
Reference in New Issue
Block a user