Skip to content

allat #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open

allat #94

wants to merge 75 commits into from

Conversation

laluxx
Copy link

@laluxx laluxx commented Sep 13, 2023

Enhanced ded Features Proposal

Hello! I've been experimenting with ded and have introduced several features and improvements. While some are Vim-inspired, others are more generic enhancements that can be picked up independently. Here's a comprehensive list:

New Features:

1. Zoom Functionality

  • Zoom in using Ctrl + =
  • Zoom out using Ctrl -

2. Dynamic Theme Support

  • Switch between themes during runtime:
    • Next theme: Alt + =
    • Previous theme: Alt -
  • Simplified the process of adding new themes.

3. Vim key Support and Modes

  • Added different modes with hybrid keybinding system, combining Vim and Emacs styles.

4. Smart Parenthesis Management

  • Intelligent creation and deletion of parentheses, enhancing the code writing experience.

5. Dynamic Cursor Behavior

  • Cursor appearance and behavior changes dynamically based on the current mode and hovered char.

6 Shader switching

  • Implemented dynamic shader switching for both vertex and fragment shaders
  • Toggle wave vertex shader with 'Ctrl + w'

7 Animation toggle

  • Toggle animations with 'Ctrl + t'

8 ~/.config for Shaders and Fonts

  • Shaders Path: ~/.config/ded/shaders
    • Enables launching app from any directory.
  • Fonts Path: ~/.config/ded/fonts
    • Supports any number of fonts.
    • Runtime font switching with Alt + [ and Alt + ].

Togglable line numbers

  • Line Numbers: Implemented both relative and absolute line numbering.
  • Toggle: Line numbers can be toggled on/off with Ctrl + Z.

Things i broke:

  • void simple_renderer_reload_shaders(Simple_Renderer *sr);

Thank you for considering these changes. Whether it's the zoom, dynamic themes, Vim-like key support, or smart parenthesis management, I believe each enhancement can offer added value to ded user.

@alex-s168 alex-s168 mentioned this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant