pepper-0.2.0 is not a library.
Visit the last successful build:
pepper-0.31.0
pepper
Experimental code editor
development thread
https://twitter.com/ahvamolessa/status/1276978064166182913
todo
undo/redostore/apply edit diffscompress history when adding editsfix cursor position on multiple cursors
modesbasic implementationkey chords actions
selectionswap position and anchorselection merging
multiple cursorsmerge cursors
long linessearchhighlight search matchesnavigate between search matches
operationsdeletecopypaste
client/server modeldumb client sends events and receives display bytestrack client that last sent event (focused)show status messages on focused client
custom bindingscustom bindings expand to builtin bindingscustom bindings take precedencedefine custom bindings in config file
script (command) modeexecute script line and preserve contextbuiltin bindings
syntax highlightingsimple pattern matchingdefine language syntaxescalculate highlight ranges when code changesrecalculate only changed portions of buffershow whitespace with correct colors
utf8file operationsedit (command to open/create file?)savereuse buffer if already openremove all buffer views when closing a buffer
external commandsspawn commands (processes) that execute on the server
clicustom session nameconfig pathsend keys to serveropen files
autocompleteselect/entries uiselection movementsclear/change entriescompletion suggestion as typing wordaccept completionword database
text objectsinner wordouter wordinner balanced bracesouter balanced braces
- status bar
buffer namebuffer position- buffered keys
- scripting
integrate lua to use as command interfaceconfig file is lua scriptbuiltin bindings- full api exposed
- code navigation
go to line (new mode)word forward/backwardhome/end/first-columnhalf-page down/upfind charcenter main cursor, main cursor at top, main cursor at bottom (zz,zk,zj)go to matching bracket (gm)select all text in bufferlimit selections to search ranges (or cursor = search ranges if empty) (?)- remember column when moving between lines
- cursor history navigation
- selections
select current word and searchadd cursor on 'next search result' (*)skip one and add cursor on 'next next search result'remove selections (set anchor to position)swap anchor and positionselect cursor lineskeep only main cursoradd cursor to each selection line- cursor movement kind AnchorThenPosition (??)
- editing
edit new line bellow/above (oandO)keep current identation- delete identation
- macros (??)
- repeat last insert (
.) - record/play custom macros
- repeat last insert (
- language server protocol
- debug adapter protocol