Skip to content
/ ce Public

Coma Editor - my personal editor. || This is a read-only mirror, pull requests are ignored.

License

Notifications You must be signed in to change notification settings

jorisvink/ce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

ce is my minimalistic editor I use on a day-to-day basis.

Is this editor for you? Definitely not, it is highly opinionated and tailored to my requirements.

License

Coma Editor is licensed under the ISC license.

Building

ce should build fine on MacOS, Linux and OpenBSD.

OpenBSD:

$ make
$ doas make install

MacOS:

$ make
$ sudo make install

Linux:

$ env CFLAGS=-D_GNU_SOURCE make
$ sudo make install

Key bindings

ce uses a modal approach to editing much like vi.

normal mode key bindings

zz = center view on line at cursor

zt = set current line as top of editor

k = move up one row

j = move down one row

h = move left one byte

l = move right one byte

$ = jump to end of line

0 = jump to start of line

s = enter select mode

ctrl-f = page down

ctrl-b = page up

x = delete byte under cursor

n = search forward for next occurance of search

N = search backwards for previous occurance of search

i = enter insert mode

o = enter insert mode and add newline below cursor

O = enter insert mode and add newline above cursor

: = enter command mode

/ = enter search mode

§ = jump to scratch buffer

ctrl-r = show list of buffers

ctrl-d = directory listing of directory of active buffer

ctrl-z = suspend ce

[num]dd = delete number of lines

[num]yy = yank number of lines

[num]w = jump to next word

[num]b = jump to previous word

ai = alter inside string with given character (" or ').

di = delete inside string with given character (" or ').

ctrl-w-k = kill active process

insert mode key bindings

arrow keys = navigate around

esc = back to normal mode

buffer list key bindings

k = move up one row

j = move down one row

enter = select buffer

command mode

l = load directory listing

q = quit ce

w = write active buffer

e = open specified file

bc = close current buffer

ctrl-p = previous buffer

ctrl-n = next buffer

Select-execute

The select-execute function of ce allows you to select a string inside the editor and get it to the execute it as a command by hitting enter.

Depending on the contents of the selection ce will: - Open the selection if its a file. - Create a dirlist if its a directory. - Execute 'git show ' if its a git hash. - Execute the selection as a program if its a binary.

The output is either placed in a new buffer or if executed from the scratch buffer, at the end of said buffer.

About

Coma Editor - my personal editor. || This is a read-only mirror, pull requests are ignored.

Topics

Resources

License

Stars

Watchers

Forks

Languages