Fix YAML format in vi
This commit is contained in:
@@ -6,7 +6,7 @@ functions:
|
||||
vim
|
||||
:set shell=/bin/sh
|
||||
:shell
|
||||
- description: This requires that vim is compiled with Python support.
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
code: vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
file-write:
|
||||
- code: |
|
||||
@@ -20,6 +20,6 @@ functions:
|
||||
- code: ./vim -c ':!/bin/sh -p'
|
||||
sudo:
|
||||
- code: sudo vim -c ':!/bin/sh'
|
||||
- code: sudo vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
description: This requires that vim is compiled with Python support.
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
code: sudo vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user