File: test-delete-math.vim

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (30 lines) | stat: -rw-r--r-- 532 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
22
23
24
25
26
27
28
29
30
set nocompatible
set runtimepath^=../..
filetype plugin on
syntax on


" ds$  /  Delete surrounding math ($...$ and \[...\])
call vimtex#test#keys('f$ds$',
      \ 'for $ 2+2 = 4 = 3 $ etter',
      \ 'for 2+2 = 4 = 3 etter')
call vimtex#test#keys('jds$',
      \[
      \ 'asd $',
      \ '2+2 = 4',
      \ '$ asd',
      \],
      \[
      \ 'asd',
      \ '2+2 = 4',
      \ 'asd',
      \])
call vimtex#test#keys('ds$',
      \[
      \ '\[',
      \ '2+2 = 4',
      \ '\]',
      \], '2+2 = 4')


call vimtex#test#finished()