Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yukitheclown/ZIM
Text editor in OpenGL
https://github.com/yukitheclown/ZIM
opengl text-editor
Last synced: 3 months ago
JSON representation
Text editor in OpenGL
- Host: GitHub
- URL: https://github.com/yukitheclown/ZIM
- Owner: yukitheclown
- License: unlicense
- Created: 2021-09-10T05:06:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T03:30:05.000Z (4 months ago)
- Last Synced: 2024-10-17T17:17:25.875Z (4 months ago)
- Topics: opengl, text-editor
- Language: C
- Homepage:
- Size: 47.5 MB
- Stars: 52
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

https://rotatedev.itch.io/zim BINARIES
New colorscheme is: https://github.com/morhetz/gruvbox
font: https://github.com/larsenwork/monoid

SelectNextWord Find/Replace, CTRL+D In sublime text ||| AddCursorCommand Up/Down
 
MoveLines Up/Down ||| MoveByWords Left/Right MoveByChars Left/Right/Up/Down
 
ExpandSelectionWords Left/Right ||| IndentLine Left/Right
 
Undo Redo Cut Copy Paste ||| AutoComplete
 


TODO:
convert spaces to tabs, macro.
Have only the active file in memory AND swap files
minimap
highlighting for more languages than C, and general lua (function is a keyword)
} auto indent down
check for file change outside editor and reload on window focus event
code folding
Example zimconfig.cfg
# gruvbox
COLOR_CYAN 0x8e 0xc0 0x7c
COLOR_RED 0xfb 0x49 0x34
COLOR_YELLOW 0xfa 0xbd 0x2f
COLOR_BLUE 0x83 0xa5 0x98
COLOR_GREEN 0xb8 0xbb 0x26
COLOR_MAGENTA 0xd3 0x86 0x9b
COLOR_WHITE 0xeb 0xdb 0xb2
COLOR_BLACK 0x28 0x28 0x28
COLOR_GREY 0x92 0x83 0x74
COLOR_BG 0x28 0x28 0x28
COMMANDS:
ctrl+a (select all)
ctrl+- (zoom out)
ctrl+= (zoom in)
ctrl+q (quit)
escape (closes find/goto/console, removes extra cursors/selections)
ctrl+b (compile (runs "make"))
ctrl+y (redo)
ctrl+z (undo)
ctrl+x (cut)
ctrl+c (copy)
ctrl+v (paste)
arrow keys (movement)
ctrl+h (move left) ctrl+l (move right) ctrl+j (move up) ctrl+k (move down)
shift+arrow up/down (scroll screen up/down)
ctrl+alt+arrow right/left (expand selection by words right/left)
ctrl+alt+[ (indent backward)
ctrl+alt+] (indent forward)
ctrl+alt+h (move by words left) ctrl+alt+l (move by words right)
ctrl+shift+l (expand selection by a line)
ctrl+shift+k (delete line)
ctrl+arrow up (add cursor up)
ctrl+arrow down (add cursor down)
ctrl+d (select word under cursor if no selection. continued pressing selects the next occurance of word or selection)
ctrl+g (goto line)
ctrl+f (search) (enter to search forward, ctrl+enter to search backward)
ctrl+F (case senstive search)
ctrl+m (move brackets) (moves cursor between the { }, ( ), [ ], of the current scope) (either to the end, or to the beginning if its at the end)
ctrl+shift+j (select brackets) (selects everything between the brackets)
ctrl+/ (toggle comment) (adds or removes // for the line to comment) (todo: mutli-line)
ctrl+shift+arrow up/down (move line up/down) (moves the entire line the cursors on, or every line in the selection by a line)
ctrl+o (open file)
ctrl+shift+o (file browser)
ctrl+s (save file)
ctrl+shift+s Save As file
ctrl+n New file
ctrl+p Switch file, (lists open files)
ctrl+w Close file
Deveoloped while bedridden after I got hit by a car on a moped.