Skip to content

Commit

Permalink
a first implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpasmantier committed Oct 13, 2024
1 parent b514e7c commit e5f1ebc
Show file tree
Hide file tree
Showing 50 changed files with 6,369 additions and 1,020 deletions.
22 changes: 18 additions & 4 deletions .config/config.json5
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
{
"keybindings": {
"Home": {
"Input": {
"<q>": "Quit", // Quit the application
"<Ctrl-d>": "Quit", // Another way to quit
"<Ctrl-c>": "Quit", // Yet another way to quit
"<Ctrl-z>": "Suspend" // Suspend the application
"<esc>": "Quit", // Quit the application
"<ctrl-c>": "Quit", // Yet another way to quit
"<ctrl-z>": "Suspend", // Suspend the application
"<tab>": "GoToNextPane", // Move to the next pane
"<backtab>": "GoToPrevPane", // Move to the previous pane
// "<ctrl-up>": "GoToPaneUp", // Move to the pane above
// "<ctrl-down>": "GoToPaneDown", // Move to the pane below
"<ctrl-left>": "GoToPaneLeft", // Move to the pane to the left
"<ctrl-right>": "GoToPaneRight", // Move to the pane to the right
"<down>": "SelectNextEntry", // Move to the next entry
"<up>": "SelectPrevEntry", // Move to the previous entry
"<ctrl-n>": "SelectNextEntry", // Move to the next entry
"<ctrl-p>": "SelectPrevEntry", // Move to the previous entry
"<ctrl-down>": "ScrollPreviewDown", // Scroll the preview down
"<ctrl-up>": "ScrollPreviewUp", // Scroll the preview up
"<ctrl-d>": "ScrollPreviewHalfPageDown", // Scroll the preview half a page down
"<ctrl-u>": "ScrollPreviewHalfPageUp", // Scroll the preview half a page up
},
}
}
18 changes: 18 additions & 0 deletions .config/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[keybindings.Input]
q = "Quit"
esc = "Quit"
ctrl-c = "Quit"
ctrl-z = "Suspend"
tab = "GoToNextPane"
backtab = "GoToPrevPane"
ctrl-left = "GoToPaneLeft"
ctrl-right = "GoToPaneRight"
down = "SelectNextEntry"
up = "SelectPrevEntry"
ctrl-n = "SelectNextEntry"
ctrl-p = "SelectPrevEntry"
ctrl-down = "ScrollPreviewDown"
ctrl-up = "ScrollPreviewUp"
ctrl-d = "ScrollPreviewHalfPageDown"
ctrl-u = "ScrollPreviewHalfPageUp"
enter = "SelectEntry"
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
/target
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# RustRover
.idea/

.data/*.log

Loading

0 comments on commit e5f1ebc

Please sign in to comment.