File: jobs-capture-cached.vim

package info (click to toggle)
vim-vimtex 2.17-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,844 kB
  • sloc: makefile: 360; python: 103
file content (21 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set nocompatible
set runtimepath^=~/.local/plugged/vimtex
filetype plugin on

nnoremap q :qall!<cr>

let s:cmd = 'uname -sr'

let s:time = vimtex#profile#time()
for s:x in range(100)
  call vimtex#jobs#capture(s:cmd)
endfor

let s:time = vimtex#profile#time(s:time)
for s:x in range(100)
  call vimtex#jobs#cached(s:cmd)
endfor

call vimtex#profile#time(s:time)

quitall!