Skip to main content

Questions tagged [large-documents]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
234 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 ...
aris's user avatar
  • 155
2 votes
2 answers
3k views

neovim syntax highlight with large files issue

I use neovim 0.4.3. When I open a large xml file (about 130-140k lines) syntax highlighting switches off with a message: 'redrawtime' exceeded, syntax highlighting disabled If add this line to my ...
Nurjan's user avatar
  • 153
7 votes
5 answers
4k views

How do you navigate large source files with VIM?

First, I'm not asking about performance. I'm looking for something that will help me, mentally, get into large C source code files that I'm not yes accustomed to. Take for example readelf.c. This file ...
Evan Carroll's user avatar
  • 1,404
1 vote
0 answers
935 views

Viewer for Markdown/MathJax rich text editing in vim/neovim?

Problem Statement Currently I use VIM in a terminal to write code. All my notes are on Microsoft Word 365, which I have been using for a long while. I tried using markdown recently, used VIM to ...
alpha_989's user avatar
  • 901
6 votes
0 answers
1k views

Scrivener for Vim?

I really enjoy the workflow in Scrivener, but I don't like the non-vim nature of it. Is there a good alternative plugin for vim that let's you manage documents in a similar way? I'm most interested in ...
Sauce McBoss's user avatar
5 votes
1 answer
113 views

What are the methods of speeding up parsing of a big file using Ex?

I did recently some performance test where I've created artificially 1GB of random text file by: $ hexdump -C /dev/urandom | rev | head -c1G | pv > file which has around 13mln of lines starting ...
kenorb's user avatar
  • 18.6k
2 votes
1 answer
1k views

Can vimdiff show large files beyond screenful limits at once?

I'd like to diff large files in vim using the scrollback limit set in my terminal (which is available memory), so I can, if necessary, find and review previously applied changes. I use OS X's ...
1.61803's user avatar
  • 253
1 vote
1 answer
507 views

matchadd makes vim slow with large files

In my vimrc I have this line : call matchadd('ColorColumn', '\%81v', 100) It colors the 81th column in a subtle grey background so I can track my line length : (see the l and the f) I found out ...
nobe4's user avatar
  • 16.1k
68 votes
5 answers
54k views

How can I open very large files with good performance?

I have server log files that are several gigabytes in size (on Ubuntu). When I attempt to open them, the terminal locks up for a minute or so while the file is loaded into Vim. Is there a way to ...
peter-b's user avatar
  • 783
31 votes
4 answers
8k views

How do I deal with very long lines in text (500+ characters)?

For some text formats, line breaks matter. For example, I often use Vim to write MediaWiki documents, where you can't just put a linebreak anywhere (unlike Markdown). So I'm forced to write lines ...
Martin Tournoij's user avatar