ChristianE00 / Novus

A simple Windows command line text editor
0 stars 0 forks source link

Add config file for user configs #3

Open ChristianE00 opened 3 months ago

ChristianE00 commented 3 months ago

Implement a config file so users can add simple configs. Note: We will only support simple configs such as remapping and ui styling changes.

DivyanshVinayak23 commented 2 months ago

Hi can I work on this ?

ChristianE00 commented 2 months ago

Hi DivyanshVinayak23,

Thank you for your interest in contributing to the Novus text editor!

Currently, my primary focus is on developing the Linux version of Novus. While we are not yet at the stage of implementing user configurations fully, we can definitely start laying the groundwork for it.

The idea for the user configurations is similar to how .vimrc works for Vim. We would call it .novusrc, and it would initially support basic configurations such as line color and key navigation remapping.

Here are some steps you can take to start working on this enhancement:

  1. Create a .novusrc file: Define a basic structure for the .novusrc file where users can specify simple configurations.
  2. Implement parsing logic: Write code to read and parse this file when Novus starts.
  3. Apply configurations: Based on the parsed settings, adjust Novus's behavior, such as remapping keys and changing UI styles.

Feel free to take a look at the current Novus Unix code attached to get an understanding of its structure. If you have any questions or need further guidance, don't hesitate to ask!

Note: Novus.c currently isn't compiling because I need to fix a few issues, I will get this resolved today.

Looking forward to your contributions.

Best regards, ChristianE00