Update runtime files

This commit is contained in:
Bram Moolenaar
2022-08-24 18:30:14 +01:00
parent 44b9abb150
commit fd999452ad
48 changed files with 2071 additions and 98 deletions

View File

@ -1022,8 +1022,10 @@ create a security problem.
*terminal-autoshelldir*
This can be used to pass the current directory from a shell to Vim.
Put this in your .vimrc: >
def g:Tapi_lcd(_, args: string)
execute 'silent lcd ' .. args
def g:Tapi_lcd(_, path: string)
if isdirectory(path)
execute 'silent lcd ' .. fnameescape(path)
endif
enddef
<
And, in a bash init file: >