"Ctrl + P and O more or less do the same thing as Ctrl + Right and left

Also remove a warning about a useless mut"
This commit is contained in:
Justine
2023-02-22 16:03:51 +01:00
parent d903bb4bc8
commit 6f63294857
3 changed files with 43 additions and 2 deletions

View File

@ -4,7 +4,6 @@ Rust Shell. This is an attempt to create a simple but usable shell in Rust, beca
TODO:
* git commit -m "message" does not work
* Allow redirecting >> to the end of a file ?
* Implement Ctrl+left and right to jump from word to word
## sqishrc (Config)
See the included sqishrc file included, and copy it as ~/.sqishrc
@ -19,6 +18,8 @@ Some shortcuts are built in. They may be unique to Sqish or be copied from Zsh f
* Ctrl+A : Jumps to the end of the line
* Ctrl+E : Jumps to the start of the line
* Ctrl+C : Clears the current line and starts a new one
* Ctrl+P : Jump to the next word
* Ctrl+O : Jump to the previous word
### In Text:
* !12 : Returns command number 12 from history (Replace the number 12 with any number from history). You can add commands after it, like: "!12 | grep squirrel"