Update vim

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
Wlayzz 2022-06-25 18:02:16 +02:00 committed by GitHub
parent 3cdfea5714
commit 61f79ef933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,7 @@
functions:
shell:
- code: vim -c ':!/bin/sh'
- code: |
vim
:set shell=/bin/sh
:shell
- code: vim --cmd ':set shell=/bin/sh|:shell'
- description: This requires that `vim` is compiled with Python support. Prepend `:py3` for Python 3.
code: vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
- description: This requires that `vim` is compiled with Lua support.