/TextArea

A full screen responsive character grid using HTML 5 Canvas.

Primary LanguageJavaScript

TextArea

A full screen responsive customizable character grid using HTML 5 Canvas.

Demo

Demo

Screenshot

Todo

  • Vim starts in Command mode

  • Ability to switch modes: Insert, Visual, and Visual Block

  • Skip one word back and forward in Command mode

  • Jump to start and end of line with $ and ^ in Command mode

  • Switch to edit mode with "i"

  • Switch to command mode with "escape"

  • Switch to visual mode and make a selection

  • Bring in filesystem

  • Implement line wrapping when width changes

  • Work on Vim

    • Read in a document for testing
    • Modify mem and visual document on basic typing actions
      • Implement enter key press (end and middle of line)
      • Implement typed character (end and middle of line)
      • Implement delete key middle and end
  • Vim installs itself as a bash command

  • Memory object is a string array now to help with responsive line wrapping

  • Enter submits command

  • Bash acts on a command

  • Implement vertical scroll

  • Implement new line wrapping when typing or editing long commands

  • Typing in middle of line shifts characters to the right

  • Typing a char and deleting a char correctly modify cmd

  • Ability to use up/down arrow to cycle commands

  • Prompt

  • Up arrow cycles previous commands

  • Bound cursor to "used area"

Bugs

  • Enter key press to break line on lines after the first does not work
  • Typing a character at the end of a line prints undefined