Skip to content

Commit

Permalink
various fixes and updated to latest synoptic version
Browse files Browse the repository at this point in the history
  • Loading branch information
curlpipe committed Jul 17, 2024
1 parent c178c8c commit 9fe309a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
7 changes: 3 additions & 4 deletions .todo.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
- [ ] 0.3.3
- [X] stdin input
- [ ] UPDATE AUR PACKAGE
- [ ] Better documentation (particularly around config file)
- [X] 0.3.1 - various fixes
- [X] Handle nonexistant file openining
- [X] Research resize bug
Expand All @@ -24,9 +20,12 @@
- [ ] Move Cursor
- [ ] Editor event handling
- [ ] Plugins - 0.4.1
- [ ] Custom syntax highlighting rules
- [ ] Plugin management
- [ ] Better editor navigation
- [ ] Line swapping
- [ ] More plugins - 0.4.2
- [ ] Bracket and Quote Pairs
- [ ] Auto indentation
- [X] 0.3.3
- [X] stdin input
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ox"
version = "0.3.3"
version = "0.3.4"
edition = "2021"
authors = ["Curlpipe <[email protected]>"]
description = "A Rust powered text editor."
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ Ox is controlled via your keyboard shortcuts. Here are the default shortcuts tha
| `Ctrl + Z` | Undoes your last action. The changes are committed to the undo stack every time you press the space bar, create / destroy a new line and when there is no activity after a certain period of time which can be used to capture points where you pause for thought or grab a coffee etc... |
| `Ctrl + Y` | Redoes your last action. The changes are committed to the undo stack every time you press the space bar, create / destroy a new line and when there is no activity after a certain period of time which can be used to capture points where you pause for thought or grab a coffee etc... |
| `Ctrl + R` | Allows replacing of occurances in the document. Uses the same keybindings as the search feature: <kbd>←</kbd> to move the cursor to the previous occurance of the query and <kbd>→</kbd> to move to the next occurance of the query. You can also press <kbd>Return</kbd> to carry out the replace action. To exit replace mode once you're finished, you can press <kbd>Esc</kbd>. You can also use <kbd>Space</kbd> to replace every instance in the document at once. Note: you can use regular expressions for search queries. |
| `Ctrl + K` | Opens the command line. |
| `Shift + Left` | Navigates to the previous tab. |
| `Shift + Right` | Navigates to the next tab. |

Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cargo build --release
strip -s target/release/ox
cargo generate-rpm
cargo deb
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ EXAMPLES:
ox test.txt test2.txt
ox /home/user/docs/test.txt
ox -c config.lua test.txt
ox -r -c ~/.config/.oxrc -f lua my_file.lua\
tree | ox -r
ox -r -c ~/.config/.oxrc -f lua my_file.lua
tree | ox -r --stdin\
";

pub fn get_stdin() -> Option<String> {
Expand Down

0 comments on commit 9fe309a

Please sign in to comment.