-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cappyzawa
committed
May 11, 2019
1 parent
d3e4c03
commit 0acc6db
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
# ytt.vim | ||
syntax for ytt | ||
|
||
vim plugin for [ytt](https://get-ytt.io) | ||
|
||
## Install | ||
To install using [Vim-Plug](https://github.com/junegunn/vim-plug): | ||
|
||
``` | ||
" add this line to your .vimrc file | ||
Plug 'cappyzawa/starlark.vim' | ||
Plug 'cappyzawa/vault.nvim' | ||
``` | ||
|
||
This plugin requires [cappyzawa/starlark\.vim: vim plugin for starlark](https://github.com/cappyzawa/starlark.vim). | ||
|
||
## Supported commands | ||
|Command|Description| | ||
|:---|:---| | ||
|EnableYtt|enable ytt syntax| | ||
|DisableYtt|disable ytt syntax| | ||
|
||
## Key mappings | ||
|Map|Key|Command| | ||
|:---:|:---:|:---| | ||
|nmap|<Leader\>ey|EnableYtt| | ||
|nmap|<Leader\>dy|DisableYtt| |