Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewstuart/vim-kubernetes
vim-kubernetes
https://github.com/andrewstuart/vim-kubernetes
editor integration kubectl kubernetes plugin vim
Last synced: about 8 hours ago
JSON representation
vim-kubernetes
- Host: GitHub
- URL: https://github.com/andrewstuart/vim-kubernetes
- Owner: andrewstuart
- License: mit
- Created: 2016-02-05T22:58:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T15:49:23.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T03:59:45.665Z (10 months ago)
- Topics: editor, integration, kubectl, kubernetes, plugin, vim
- Language: Vim Snippet
- Size: 71.3 KB
- Stars: 159
- Watchers: 6
- Forks: 30
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-kubernetes
This package provides kubernetes YAML snippets (requires
[ultisnips](https://github.com/sirver/UltiSnips), as well as a number of
integrations with kubectl (requires that you actually have kubectl installed and
on your `PATH`).## Quick Start
If you are using Vundle, add this to your `~/.vimrc`:
```vim
Plugin 'andrewstuart/vim-kubernetes'
```If you are using pathogen, clone this repo to your `~/.vim/bundle`
## Current integrations:
### Functions/Commands
For the current buffer (including modifications not on disk)
- `:KubeApply`
- `:KubeDelete`
- `:KubeCreate`And for the current directory (read from disk)
- `:KubeApplyDir`
- `:KubeDeleteDir`If you would like to bind any of these to a shortcut, you can do something like
the following in your `~/.vimrc`:```vim
au FileType yaml nmap r :KubeApply
```