Skip to content
/ helis Public

Simple terminal code editor with basic vim-like bindings and syntax highlighting written in C

Notifications You must be signed in to change notification settings

keilisp/helis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Helis

Description

Simple terminal code editor with basic vim-like bindings and syntax highlighting

Preview

helis

Installation

Clone the repo into your folder

cd *your-folder*
git clone https://github.com/mediocreeee/helis.git

Compile the program with make

make

Run the helis binary

./helis

or with file you want to edit

./helis textfile.c

Usage

Movement

Normal Mode

  • h - move cursor left
  • j - move cursor down
  • k - move cursor up
  • l - move cursor right

  • 0 - move cursor to the beginning of a line
  • $ - move cursor to the end of a line

  • PageUp - scroll one page up
  • PageDown - scroll one page down

  • gg - move cursor to the beginning of a file
  • G - move cursor to the end of a file

  • / - search for a text
  • ArrowUp/ArrowRight - go to the next occurrence
  • ArrowDown/ArrowLeft - go to the previous occurrence

  • x - delete a character under the cursor

  • : - enable Cmd mode

  • i - enable Insert mode
  • I - move cursor to the beginning of a line and enable Insert mode
  • a - move cursor right and enable Insert mode
  • A - move cursor to the end of a line and enable Insert mode
  • o - create newline down and enable Insert mode
  • O - create newline up and enable Insert mode

Cmd mode


  • q/quit - exit from helis
  • w/write - write changes to the disk

About

Simple terminal code editor with basic vim-like bindings and syntax highlighting written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published