Questions tagged [system]

The tag has no usage guidance.

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

Does Vim Cache the Output of system()?

Does it? I'm not sure. I'm getting this error, and it seems to be looking for a nonexistent cache folder: E282: Cannot read from "/var/folders/yh/z3ydby_56qz7mltrddsv3lqw0000gn/T/vi3voZp/0" ...
Samuel Bacay's user avatar
0 votes
0 answers
507 views

NeoVim0.9 installation cannot execute binary file: Exec format error

I was upgrading my very old NeoVim version 0.4 to 0.8 by following the docs on Github. After downloading the nvim appimage, making it executable, and extracting it using ./nvim.appimage, I try to run ....
Squiggles's user avatar
1 vote
0 answers
21 views

foldtext seems to be recalculated across all folds every time you move the cursor line

With manual folding. Using a system call to put a line/char/word/ count for the text within each fold: :set foldtext=system('wc',getline(v:foldstart+1,v:foldend)) the command works (if you ignore for ...
markling's user avatar
  • 319
0 votes
1 answer
77 views

Put word count of lines into variable

I can get a word count of a range of lines, by doing something like this: :1,20w !wc -w (where that gets lines 1 to 20, writes (w) them to the external shell command (!) wc -w, and outputs the result ...
markling's user avatar
  • 319