frawor / test / fwccompletetests-os.dat

!complete
:let s:list=['abc', 'ab-c', 'def-ghi', 'adb']
:let s:list2=['abc', 'def-b', 'geh']
:let s:list3=['foo', 'bar', 'baz']
:let s:dict={'abc': 1, 'adb': 1, 'aef': 1}
#▶1 Built-in completion functions
#▶2 path
:call os.mkdir('FWCdirectory')
:call os.chdir('FWCdirectory')
:call os.mkdir('dir')
:call os.mkdir('.bar')
:let abcdefghi=os.path.join('abc', 'def', 'ghi')
:let dirdef   =os.path.join('dir', 'def')
:let foodef   =os.path.join('foo', 'def')
:let dirdefghi=os.path.join(dirdef, 'ghi')
:call writefile([], 'foo', 'b')
:call os.makedirs(abcdefghi)
:let $D='abc'
`path w
  @+
  abc/ dir/ foo .bar/

  @.
  .bar/

  @b
  abc/ .bar/

  @i
  dir/

  @a/d
  abc/def/

  @a/d/
  abc/def/ghi/

  @/h
  /home/

  @$D/
  abc/def/
# vim: cms=#%s fmr=▶,▲ sw=2 ts=2 sts=2 et
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.