Skip to content

yottanami/noteditor

Repository files navigation

Noteditor

./share/images/screenshot.png Noteditor is an open-source, all-in-one window manager and text editor designed to streamline your development experience. Powered by Emacs and on the foundation of FG42, and EXWM.

All dependencies — both Emacs packages and the external command-line tools noteditor uses — are provided by Nix at build time. There is nothing to download at runtime and no global state to manage.

Requirements

  • Nix with flakes enabled (experimental-features = nix-command flakes)

Try it without installing

# Editor mode
$ nix run github:yottanami/noteditor

# Window-manager mode
$ nix run github:yottanami/noteditor#wm

Install on NixOS (as a window-manager session)

Add noteditor to your flake inputs and enable the module. It then shows up in your display manager’s session list like any other window manager.

{
  inputs.noteditor.url = "github:yottanami/noteditor";

  # In your NixOS configuration:
  imports = [ inputs.noteditor.nixosModules.default ];
  nixpkgs.overlays = [ inputs.noteditor.overlays.default ];
  programs.noteditor.enable = true;
}

Install into a profile

$ nix profile install github:yottanami/noteditor
$ noteditor        # editor mode
$ noteditor-wm     # window-manager mode

Build locally

$ git clone https://github.com/yottanami/noteditor
$ cd noteditor
$ nix build            # result/bin/noteditor and result/bin/noteditor-wm
# or, without flakes:
$ nix-build

Configuration

User overrides

Drop a noteditor-user.el in any of these locations (first match wins) to extend or override the configuration without touching the package:

  • $XDG_CONFIG_HOME/noteditor/noteditor-user.el
  • ~/.noteditor/noteditor-user.el

Adding extra runtime tools

Browsers, media players and terminals that are unfree or not in nixpkgs (e.g. brave, plexamp, alacritty) are not bundled. Add them with extraRuntimeInputs:

noteditor.override {
  extraRuntimeInputs = with pkgs; [ brave alacritty ];
}

Environment variables

NOTEDITOR_HOMEPathname of Noteditor (set by the launcher)
NOTEDITOR_WMtrue for window-manager mode, false for editor
NOTEDITOR_DEBUGtrue to abort loudly on load errors

Keybindings

Fast dial keybindings

s-dLaunch applications
s-xTerminal
s-lScreen lock
s-sScreenshot app
s-mMedia player
s-bBrowser

Other keybindings

s-ttab-bar-mode

Plugins

wm

Window manager based on EXWM

editor

Anything that is needed to write code!

theme

Fonts, colors and more

org

org-mode, org-roam and other related modes

About

Noteditor is an open-source, all-in-one window manager and text editor designed to streamline your development experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors