Graphical cross-platform text editor
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Disclaimer: Changes to the veandco/go-sdl2 packages since the development of this software may have created problematic incompatibilities, which I do not plan to investigate anytime soon. If you would like to try Fervor, I recommend compiling against a veandco/go-sdl2 commit from September 2015.


A graphical, modeless, cross-platform text editor influenced by Acme, vi, and even Notepad. Features include:

  • Infinite undo
  • Unicode (UTF-8) support
  • Regular expression search
  • Acme-like right-click find
  • No GUI toolkit dependencies
  • Quick startup and low memory footprint
  • Asynchronous shell command execution and selection filtering
  • Basic syntax highlighting (currently for: Bash, C, CSS, Go, HTML, INI, JavaScript, JSON, Lua, Make, Python, Ruby, and SVG)

Not included:

  • A scrollbar.
  • Tabs or panes. Use a good window manager instead!

See also:


Install or update via the go command:

go get -u{edit,fervor}

Alternatively, download a binary distribution from

In either case, the SDL2 and SDL2_ttf libraries are required.


Usage: fervor [<option> ...] [<file> ...]

		use dark color scheme
		insert spaces using the Tab key
  -font string
		use the font at the given path
  -ptsize int
		set point size of font (default 12)
  -tabstop int
		set width of tab stops, in columns (default 8)
		print version information and exit

Global and file-specific default options can be specified in either
~/fervor.ini or ~/.config/fervor.ini.

See fervor.ini for an example configuration.

Key bindings

Ctrl+A           Move cursor to beginning of line
Ctrl+C           Copy (in buffer), cancel (in prompt)
Ctrl+D           Change directory...
Ctrl+E           Move cursor to end of line
Ctrl+F           Find regexp forward...
Ctrl+Shift+F     Find regexp backward...
Ctrl+G           Go to line...
Ctrl+H           Delete character backward
Ctrl+I           Insert tab
Ctrl+L           Toggle Unix/DOS line endings
Ctrl+N           Next match
Ctrl+Shift+N     Previous match
Ctrl+O           Open...
Ctrl+Shift+O     Open in new window...
Ctrl+P           Pipe selection through command...
Ctrl+Q           Quit
Ctrl+Shift+Q     Quit without confirmation
Ctrl+R           Run command...
Ctrl+Shift+R     Reload font (fixes missing glyphs)
Ctrl+S           Save
Ctrl+Shift+S     Save as...
Ctrl+U           Delete line backward
Ctrl+V           Paste
Ctrl+W           Delete word backward
Ctrl+X           Cut
Ctrl+Y           Redo
Ctrl+Z           Undo
Tab              Indent selection, complete word (searching backward)
Shift+Tab        Unindent selection, complete word (searching forward)

Holding Shift makes a cursor motion select text from the previous cursor position to the resulting position. Enter, Backspace, Delete, Home, End, PgUp, PgDn, Up, Down, Left, Right, Esc, Ctrl+Backspace, Ctrl+Delete, Ctrl+Home, Ctrl+End, Ctrl+Left, and Ctrl+Right should also work as expected.

Mouse bindings

Left click   Position cursor
Left drag    Select text
Right click  Find next instance of clicked word or selection
Right drag   Find next instance of selection

Holding Shift makes a left click select text from the previous cursor position to the clicked position, and makes a right click or drag search backward instead of forward.