vip/README.md

51 lines
1,004 B
Markdown
Raw Normal View History

2024-06-22 21:50:38 +02:00
# vip
2024-11-13 11:18:09 +01:00
Small, fast and featureful vim-insipired text editor with strictly no dependency.
2024-06-22 21:50:38 +02:00
2024-11-14 14:39:30 +01:00
It has colorful syntax highlighting and integrate with [ccc](https://github.com/night0721/ccc) for picking files
2024-06-22 21:50:38 +02:00
# Usage
```sh
2024-11-14 14:39:30 +01:00
vip -c file # Cat mode
2024-11-13 11:18:09 +01:00
vip file
2024-06-22 21:50:38 +02:00
```
2024-11-14 14:39:30 +01:00
```
LEFT/h: left
DOWN/j: down
UP/k: up
RIGHT/l: right
HOME/0: start of line
END/$: end of line
PAGEUP: jump up a page
PAGEDOWN: jump down a page
Backspace/ctrl+h/del: delete char
:w: save file
:q(!): quit
i: insert mode
v: visual mode
ESC: normal mode
gg: start of file
G: end of file
dd: delete line
/: search
O: create new line above cursor
o: create new line below cursor
pv: open ccc
```
2024-06-22 21:50:38 +02:00
# Dependencies
None
# Building
You will need to run these with elevated privilages.
```
$ make
# make install
```
# Contributions
Contributions are welcomed, feel free to open a pull request.
# License
This project is licensed under the GNU Public License v3.0. See [LICENSE](https://github.com/night0721/vip/blob/master/LICENSE) for more information.