Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

sogaiu/freja-stedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freja-stedit

Structural editing and navigation for the freja editor.

Prerequisites

The freja editor.

Setup

  1. Clone this repository somewhere and cd to the resulting directory
  2. Start freja with: freja ./freja-stedit/defaults.janet
  3. Control+L to load the file

Commands

Navigation

  • forward-expr - ctrl-alt-f

  • backward-expr - ctrl-alt-b

  • forward-down-expr - ctrl-alt-d

  • backward-up-expr - ctrl-alt-u

  • forward-atom - ctrl-alt-shift-f

  • backward-atom - ctrl-alt-shift-b

  • forward-end-of-top-level - ctrl-alt-e

  • backward-start-of-top-level - ctrl-alt-a

Editing

  • delete-forward-expr - ctrl-alt-k

  • select-forward-expr - ctrl-alt-shift-k

  • eject-forward - ctrl-shift-] or ctrl-}

  • absorb-forward - ctrl-shift-0 or ctrl-)

Naming

I didn't like the "traditional" name for pushing out the last element of a container, nor the name for pulling in the following expression into a container, so I chose different ones.

Similar for the word that's typically used for deletion.

Releases

No releases published

Packages

No packages published

Languages