ded
ded copied to clipboard
allat
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 -
- Next theme:
- 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 + [andAlt + ].
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.