An open API service indexing awesome lists of open source software.

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 !

Awesome Lists containing this project

README

          

# vim-defencetabp

Defence your tabpages!

![image](https://raw.githubusercontent.com/utubo/zen-content-blob/main/images/20250602-play-tabpanel/defencetabp.gif)

## 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/