Questions tagged [word-processing]

Questions about editing prose (sentences and paragraphs)

Filter by
Sorted by
Tagged with
1
vote
0answers
26 views

How to have word count exclude bracketed text?

I'm using vim to write documents and trying to get word count to exclude anything that is delimited by brackets, which I use for notes or comments that are not a part of the document. So I don't want ...
0
votes
0answers
72 views

Stenography (Plover) integration

I use Vim for academic writing and my preferred writing method is using stenography with Plover. Is there any initiative to integrate Stenography/Plover into Vim? Currently, I am switching keyboards ...
0
votes
0answers
28 views

Measurement/ tracking the time for editing a file (overall and statistics)

I use vim for coding and also for writing scientific articles and book chapters. It would be very interesting to know the time I spent on a file. For example how many hours or minutes the buffer was ...
0
votes
1answer
37 views

Vim wordcount for alphanumeric characters only

I know that vim has a function wordcount() that returns a dictionary containing the number of bytes, lines, words etc in the current buffer. The problem I have is that the words field of the dict from ...
2
votes
1answer
102 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 ...
1
vote
1answer
2k 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
222 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: ...
3
votes
2answers
311 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é ...
14
votes
3answers
4k 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 ...
2
votes
1answer
345 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 = ...
4
votes
1answer
134 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
64 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, ...
6
votes
4answers
5k 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
916 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 ...
17
votes
1answer
315 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
4k 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 ...
43
votes
6answers
17k 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
198 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 ...
37
votes
4answers
16k views

How can I easily create and maintain tables?

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