Coder Social home page Coder Social logo

fervor's Introduction

Fervor

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.

screenshot

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: TODO.md.

Installation

Install or update via the go command:

go get -u github.com/jangler/{edit,fervor}

Alternatively, download a binary distribution from https://github.com/jangler/fervor/releases.

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

Usage

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

Options:
  -dark
		use dark color scheme
  -expandtab
		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)
  -version
		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.

fervor's People

Contributors

jangler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

doytsujin

fervor's Issues

Extending

This looks nice.

Am thinking of replacing the sdl dependency with OpenGL and glfw.

Ebiten uses the above dependencies and runs on all desktops, mobiles and web.

If you are interested have a look.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.