Skip to content

antoni-ostrowski/gvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gvim

A terminal-based text editor written in Go, inspired by Vim.

gvim-demo.mov

Note

Its really early :)

Editor commands

  • :w - write to opened file (open via gvim ./some-file.txt)
  • :q - quit (or CTRL+C)

Implemented motions

  • o & O (line inserts)
  • $ & 0 (line jumps)
  • hjkl
  • arrow navigation

Installation

Download binary from latest release

Run

./gvim ./some-file.txt

Development

Prerequisites

just build

Debug Logs

Project uses a debug log utility for development:

utils.Debuglog("cursor x = %v, cursor y = %v", x, y)
# read current debug output
just debug

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors