SimplerText
所属分类:代码编辑器
开发工具:C
文件大小:12KB
下载次数:0
上传日期:2017-01-28 23:21:35
上 传 者:
sh-1993
说明: 一个简单的文本编辑器,用于显示C编程语言的工作情况
(A simple text editor designed to show the working of the C programming language)
文件列表:
Makefile (386, 2017-01-08)
buffer.c (3619, 2017-01-08)
buffer.h (1966, 2017-01-08)
cmd.c (6572, 2017-01-08)
cmd.h (1049, 2017-01-08)
editor.c (7878, 2017-01-08)
editor.h (382, 2017-01-08)
line.c (1134, 2017-01-08)
line.h (1920, 2017-01-08)
main.c (241, 2017-01-08)
str.c (955, 2017-01-08)
str.h (336, 2017-01-08)
types.h (509, 2017-01-08)
window.h (182, 2017-01-08)
# SimplerText
A simple text editor designed to show the working of the C programming language
![Pretty!](http://i.imgur.com/QYbDG2N.png)
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!)
近期下载者:
相关文件:
收藏者: