/virayeshgar

Dead simple modal editor based off vim motions

Primary LanguageGoGNU General Public License v3.0GPL-3.0

Virayeshgar

Dead simple modal editor based off vim motions

⚠️ WIP: This project was started to relieve boredom. It is full of bug and written in the wrost way possible =)))

Installation

go install github.com/amirali/virayeshgar/cmd/virayeshgar@latest

Todo

core features

  • lua integration

features

  • line number
  • relative line number
  • status bar
  • structured and modular status bar
  • syntax highlighting

navigation

  • hjkl
  • { and } paragraph jumps
  • gg and G file jump
  • :N go to line N
  • Nh, Nj, Nk, Nl to navigate by N

actions

  • i and I insert mode
  • a and A insert mode
  • o and O insert mode
  • / search mode
  • dd cut single line
  • x cut single character
  • Ndd cut N lines
  • yy yank single line
  • Nyy yank N lines
  • p and P paste single line
  • u undo
  • ctrl+r redo
  • ce insert mode
  • ci insert mode

modes

  • insert mode
  • normal mode
  • command mode
  • visual mode

commands

  • w write
  • q quit
  • wq write and quit
  • q! quit without write