Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [word-processing]

Questions about editing prose (sentences and paragraphs)

3
votes
1answer
40 views

How can I get a reading time estimate?

Is there any way to display the reading time estimate in Vim? For example "this will take about 4 minutes to read". The closest that I know of is g<C-g>, which gives: Col 29 of 75; Line 68 of ...
0
votes
1answer
392 views

Entering italic text in vim

How does one enter (and view) italic text in vim? I am interested in a keymap by which I can toggle to "italic mode" and back. Example from the infopage of a certain vim plugin: see the text under ...
0
votes
2answers
101 views

Dictionary (as in wikitionary) plugin indication

I'm looking for a dictionary (as in the wikitionary; not the data structure) plugin for vim. One where I could put my cursor on pyrolysis, type a command such as :Dictionary and get something like: ...
4
votes
2answers
235 views

Case-insensitive abbreviations

I use abbreviations extensively to make writing in languages other than English easier. For example, I have something like this set up for when I'm writing in Italian: inoreabbrev perche' perché ...
9
votes
2answers
2k views

automatically rewrap lines when writing markdown in VIM

Very often, I write markdown in VIM, and there will be paragraphs in those markdown. To help my editing, I setup my Vim to wrap a line on 80 chars. It works nice if I just keep typing, but the problem ...
3
votes
1answer
174 views

Find out duplicate words with differing case

I need to confirm I have not created duplicate variables in a c file, while converting code from another language which is case insensitive. For example, a file's content (below 2 lines) is: x = ...
1
vote
0answers
113 views

In Vim what is the reason that ce and cw are the special case to be the same if the cursor is on a non-blank?

Why not just let the meaning of w in cw the same as in dw? I means the w in dw for me is at the next word's start. Does it make something more convenient or just more complicated? If the latter, I ...
4
votes
1answer
95 views

Format options setting collapses lines

I set up this nifty custom function to help me use Vim for word processing: func! WordProcessorMode() setlocal formatoptions=ant setlocal textwidth=60 setlocal wrapmargin=0 endfu com! WP ...
4
votes
0answers
51 views

vipJ unwrapping fails when using custom function

I have decided to use Vim for editing prose, as I find it to be a much more work-conducive, clutter-free environment than most so-called text processors expressly built for that purpose. To that end, ...
3
votes
4answers
4k views

Colorizing plain text

I love vim, i use it all the time for write codes, but now I want to write some personal notes. I'm trying vim-pandoc (with vim-pandoc-syntax) and it's nice to have 'rich text' features like titles, ...
5
votes
4answers
773 views

How do I make dictionary completion look in a different file if triggered after the @ sign?

I have been using Vim as a research database, and I use tags in the form of @tag for each note, written in the second line after the title. I might have more than one tag. How can I make dictionary ...
16
votes
1answer
216 views

Prevent Vim from breaking up links mid-tag in markdown

Let's say I have this Markdown file: [Lorem ipsum dolor sit ](http://vi.stackexchange.com/many-links-are-often-very) Lookin' good. But the link isn't finished it, so I type -long, and now Vim breaks ...
14
votes
1answer
2k views

Is it possible to easily work with .odt, .doc, .docx, .rtf, and other non-plain-text formats in Vim?

Occasionally someone sends me a .odt, .doc, and .docx file; opening them in OpenOffice is always a pain because, well, OpenOffice. Right now I use a variety of commandline tools (such as odt2txt) to ...
35
votes
6answers
11k views

Can I justify text in Vim?

The only reason why I'd ever edit a text file in Pico or Nano, and not in Vim was its "Justify" command ^J. It would reformat a paragraph of text, creating line breaks at word breaks so that the text ...
10
votes
1answer
91 views

Is there a <C-w> for WORDs?

Pressing Ctrl-w in Insert mode will delete the previous word. It is equivalent to Ctrl-Backspace in Windows, and Opt-Delete in OS X, and really speeds up typing. Vim has the separate concepts of word ...
26
votes
4answers
8k views

How can I easily create and maintain tables?

Here is (part of) a table I use in some documentation: +---------------+------------------------+---------------------------------------+ | TASK NAME | WHEN | DESCRIPTION ...