vis/README.md
osamu-kj b9f7c2eeeb Vipe: Finish basic prototype
Map data structure which maps dates to std::string events
2023-05-07 18:42:14 +02:00

58 lines
2.2 KiB
Markdown

# Vi Scheduler
Vi Scheduler (VIS) is a lightweight tool that brings a Vim-like calendar to your terminal. It allows you to quickly view and edit your schedule, appointments, and tasks without leaving your command-line interface.
Built using C++ and the Ncurses library, Vis offers a fast and efficient way to manage your time in the terminal. It suppors various navigation and editing commands inspired by Vim, such as navigating between days or months, adding and deleting events, and setting reminders.
# Features
- Vim-like navigation and editing commands
- Multiple view modes: month, week
# Dependencies
The following is a list of dependencies that your system needs in order to be able to run Vis.
- [The Ncurses library](https://invisible-island.net/ncurses/announce.html)
- [Moreutils](https://joeyh.name/code/moreutils/)
# Building
To build Vis, simply clone this repository and run `mkdir build; cd build; cmake ..; make`
Resulting binary will be generated inside the `/build/src/` folder called.
# Usage
To start Vis simply run the `vis` binary in your terminal alongside the name of the calendar file.
For example: `vis school.cal`
This will open the default view mode (month) and display the current month's calendar. From there, you can use the following commands to navigate and edit the calendar:
- `h/j/k/l` - Move 1 day left/down/up/right
- `u/o` - Move 1 month left/right
- `gg` - Go to the beginning of the month
- `G` - Go to the end of the month
- `i` - Enter insert mode for the active day.
- `q` - Quit and save the calendar
# Todos
The following is a list of things that have been/still have to be completed.
- Basic prototype with vipe (in memory only)
- Finish all the basic shortcuts
- Ability to write a calendar to a file
- Ability to read a calendar from a file
- Alerting function for errors and issues
- Logging / Debug flag
- Read input from stdin
- Set reminders
# Contributions
Contributions and feedback are welcome! If you have any ideas or suggestions for improving Vis, please submit a pull request or open an issue on Github. Let's make the FOSS community better, together!
# License
This project is licensed under the GNU General Public License v3.0. See the `LICENSE` file for more information.