File: file_system.vader

package info (click to toggle)
vim-vimwiki 2024.01.24-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,692 kB
  • sloc: sh: 313; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 780 bytes parent folder | download | duplicates (2)
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
# Travel thought files

Given (Void for Accessing other files within vimwiki #979 {{{1):


Do (At Index: Create and goto pythonfile):
  :VimwikiIndex 2\<Cr>
  Opyfile.py\<Esc>\<Cr>\<Cr>
  " See #950 appending to every file: https://github.com/vimwiki/vimwiki/issues/950
  :AssertEqual 'pyfile.py.md', expand('%:t')\<CR>
  :AssertEqual 'python', &ft\<CR>
  :Log "Clean pyfile"\<Cr>
  dd
  :VimwikiIndex 2\<Cr>
  " :call DeleteFile('pyfile.py')\<Cr>


Do (At Index: Create and goto markdownfile):
  :VimwikiIndex 2\<Cr>
  Omdfile.md\<Esc>\<Cr>\<Cr>
  :AssertEqual 'mdfile.md', expand('%:t')\<CR>
  :AssertEqual 'vimwiki', &ft\<CR>
  :Log "Clean mdfile"\<Cr>
  :VimwikiIndex 2\<Cr>
  dd
  " :call DeleteFile('mdfile.md')\<Cr>

# vim: sw=2:foldmethod=marker:foldlevel=30:foldignore=: