Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [word-processing]

Questions about editing prose (sentences and paragraphs)

Filter by
Sorted by
Tagged with
0 votes
1 answer
115 views

How to customize word definition in vim?

Suppose that i am editing a line such as below(just a bash command),my cursor is locating at the monitor's m: 1.How can quickly move cursor at the alsa's a? ffmpeg -f pulse -i alsa_output.pci-...
2 votes
1 answer
226 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 ...
44 votes
4 answers
22k views

How can I easily create and maintain tables?

Here is (part of) a table I use in some documentation: +---------------+------------------------+---------------------------------------+ | TASK NAME | WHEN | DESCRIPTION ...
0 votes
1 answer
75 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 ...
0 votes
0 answers
398 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 ...
1 vote
0 answers
54 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 ...
46 votes
6 answers
22k 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 ...
18 votes
3 answers
7k 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
1 answer
169 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 ...
2 votes
1 answer
4k 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
2 answers
245 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
2 answers
420 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é ...
2 votes
1 answer
525 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 = ...
18 votes
1 answer
485 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 ...
4 votes
1 answer
161 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 ...
5 votes
0 answers
77 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, ...
15 votes
1 answer
6k 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 ...
7 votes
4 answers
6k 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
4 answers
947 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 ...
10 votes
1 answer
321 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 ...