Skip to content

Axedit is a light, fast and aesthetic modal editor for Python. Attempts to implement vim-like motions.

License

Notifications You must be signed in to change notification settings

blankRiot96/axedit

Repository files navigation




About

Axedit is a light, fast and aesthetic modal editor for Python. Attempts to implement vim-like motions.

Installation

pip install axedit

Usage

Run axe on your project folder

Features

Provisions

  • Linting offered with ruff. Tracks your pyproject.toml or ruff.toml for ruff specific configuration
  • Autocompletions with jedi
  • Syntax highlighting self implemented (for now)
  • 20+ Themes available - Gruvbox, Catppuccin, One Dark, Rosepine etc.
  • Font, Opacity, On Save hooks, Manner of squiggly lines and Theme are configurable. See config.toml

Modal Bindings

Keys Action
i Insert mode
v Visual mode
ESC Normal mode

Cursor Motions

Keys Action
h Move cursor left
l Move cursor right
j Move cursor down
k Move cursor up
w Move to the next word
{ Move to previous paragraph
} Move to next paragraph
0 Move to start of the line
$ Move to end of the line

Editor Commands

Command Action
:q[uit] Quit the editor
:w[rite] Write the file
:wq or :x Write and quit the editor
:save[as] file-name Save the file as
:rn or :rename Rename the file
:theme theme-name Set the theme of the editor
:config Open the config file
:reset-config Reset the editor's config to its default
:reload-config Apply the config
:rel-no on/off Set whether line no to be relative

Credits

  • Matt - For VCing with me and frankly solving major issues which would have delayed the release by months otherwise
  • Dylan - For always giving me direction on what to do
  • Tim - For suggesting the idea of a modal text editor
  • Suyashtnt - For providing the kleur theme

About

Axedit is a light, fast and aesthetic modal editor for Python. Attempts to implement vim-like motions.

Resources

License

Stars

Watchers

Forks

Languages