Skip to content

Reqwey/Minivim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniVim by Reqwey

TUI

TUI of MiniVim

Command line arguments

  • -t: open file in truncation mode
  • -R: open a file in read-only mode.
  • -W break/scroll: wrap the lines by line breaks / scrolling

Commands

  • :w: Save the file.
  • :q: Quit. Warn user if the file is changed but unsaved.
  • :q!: Force quit (i.e. Do not save the file and force quit.).
  • :wq: Save then quit.

Shortcut Keys in NORMAL mode

  • dd delete the entire line that the cursor is currently on.
  • 0 Move the cursor to the beginning of the line.
  • $ Move the cursor to the end of the line.
  • w Move forward one word (delimited by a white space or a new line).
  • b Move backward one word (delimited by a white space or a new line).

Extension

Not yet ready.

Conventions

  • See tab as 4 white spaces

Additional feature

  • Adjust the screen resizing and scrolling

About

My stupid homework for @JohnClass2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published