/SimplerText

A simple text editor designed to show the working of the C programming language

Primary LanguageC

SimplerText

A simple text editor designed to show the working of the C programming language

Pretty!

Designed to emulate Vim, the text editor uses a linked-list based design to operate.

Highly extensible. Press i to start editing!

##Usage:

./simplertext file1 file2 ... to run.

##Keybindings ###Shortcuts

  • CTRL + s to save
  • CTRL + o to open in a new buffer
  • CTRL + n to create a new blank buffer
  • CTRL + w to close a buffer
  • CTRL + t to move to next buffer
  • CTRL + T to move to previous buffer

###Normal Mode keybinds

  • i to enter insert mode
  • g/G to move to beginning/end of buffer
  • Arrow keys to move around
  • w to move to the next word
  • b to move to the previous word
  • x to delete a character
  • : to insert a commnad

###Insert Mode keybinds

  • CTRL + s to save

###Command bar commands

  • w to write file
  • q to close buffer (will quit if last buffer)
  • qa to close all buffers and quit
  • edit filename to open a file in the same buffer
  • open filename to open a file in a new buffer

Contributing

Since this repository is meant to act as a tutorial taught by SIGOPS, ACM@UIUC, it will only be updated for maintenance purposes. However, Feel free to fork and make pull requests. We will be more than happy to make a list of contributors for various features added (sort of like a hall of fame!)