focus - A simple and fast text editor

modinfo1 pts0 comments

GitHub - focus-editor/focus: A simple and fast text editor · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

focus-editor

focus

Public

Notifications<br>You must be signed in to change notification settings

Fork<br>136

Star<br>2.6k

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>2,405 Commits<br>2,405 Commits

.github/ISSUE_TEMPLATE

.github/ISSUE_TEMPLATE

config

config

fonts

fonts

images

images

modules

modules

src

src

.gitattributes

.gitattributes

.gitignore

.gitignore

CONTRIBUTING.md

CONTRIBUTING.md

FOCUS-CHANGELOG.txt

FOCUS-CHANGELOG.txt

LICENSE

LICENSE

README.md

README.md

first.jai

first.jai

View all files

Repository files navigation

Focus

A simple editor whose goal is to get out of your way and let you do work.

This editor is for people who value simplicity, are sensitive to input latency and do not require heavy language support in their editor.

Quick start

Basic information can be found here https://focus-editor.dev/docs.html

NOTE: if you are on a newer macOS you may have to run xattr -d com.apple.quarantine /Applications/Focus.app in order to be able to run the editor, until we are able to sign the executable.

Official Discord server

https://discord.gg/eSXquAzTmW

How to compile

$ jai first.jai - release

(NOTE: it's - release, not -release)

Minimum Jai version: 0.2.029 (the language is currently in closed beta, but it will hopefully go into open beta soon)

On macOS:

Full XCode must be installed

To avoid multiple security warnings like in these screenshots:

"freetype.dylib" cannot be opened because the developer cannot be verified. macOS cannot verify that this app is free from malware.

... run the following command:

xattr -d -r com.apple.quarantine /path/to/your/jai/distribution

Compile:

a. /path/to/jai-macos first.jai - release

or

b. arch -x86_64 /path/to/jai-macos first.jai - release

Disclaimer

The editor is in beta. This means you may encounter some bugs here and there, and not all wrinkles have been ironed out yet.

Limitations

Only 64-bit systems are supported, Windows 8+, Linux (WIP), macOS (WIP).

This editor is not designed for editing very large files (it is expected that editing might start lagging upwards of 100K LOC). 2GB files is a hard limit right now.

Multi-codepoint Unicode symbols are not supported.

Currently only RGB monitor panels are supported. If your text looks funny or blurry, please open an issue.

Acknowledgements

The editor was made possible by the fantastic Jai programming language by Jonathan Blow.

The editor was inspired by Jamie Brandon's blog post. Nothing other than the name was borrowed from his editor - the name was just too good.

I am very grateful to my wife who supported me along the way and took on the bigger share of the housework to let me work on the editor.

A special thanks to the two early adopters who helped to make the editor more robust and more enjoyable to use: @cookednick and @ustance.

The default font FiraCode is created by Nikita Prokopov.

Icons - Font Awesome by Dave Gandy.

If not for VSCode's annoying "restart to apply the latest update" notifications every other day, this editor might never have been created.

About

A simple and fast text editor

Resources

Readme

License

GPL-3.0 license

Contributing

Contributing

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

2.6k<br>stars

Watchers

21<br>watching

Forks

136<br>forks

Report repository

Releases<br>23

Focus 0.3.8

Latest

Feb 27, 2025

+ 22 releases

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Jai<br>100.0%

You can’t perform that action at this time.

editor focus reload macos search files

Related Articles