https://github.com/utubo/vim-defencetabp
👾Defence your tabpages !
https://github.com/utubo/vim-defencetabp
game vim
Last synced: about 1 year ago
JSON representation
👾Defence your tabpages !
- Host: GitHub
- URL: https://github.com/utubo/vim-defencetabp
- Owner: utubo
- Created: 2025-05-31T02:32:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-31T12:27:25.000Z (about 1 year ago)
- Last Synced: 2025-05-31T14:35:31.534Z (about 1 year ago)
- Topics: game, vim
- Language: Vim Script
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-defencetabp
Defence your tabpages!

## Get start
### Requirements
Vim 9.1 and +tabpanel
### Installation
Add rtp to vim-defencetabp.
e.g.
```bash
mkdir -p ~/vim/pack/local/start
cd ~/vim/pack/local/start
git clone https://github.com/utubo/vim-defencetabp.git
```
You can call `Start()` to start the game.
```vim
:call defencetabp#Start()
```
## Rule
- `V` ... You
- `A` ... Enemy
- `-` ... Shield
Enemies shoot to close tabpages.
Shoot all enemies to save your tabpages.
If the last tabpage is closed, quit vim.
## Mappings
- `` ... Shoot
- `h` ... Move left
- `l` ... Move right
- `q` or `` ... Quit this game.
## License
NYSL 0.9982
https://www.kmonos.net/nysl/