Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 994 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 994 Bytes

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