diff options
author | joe <rbo@gmx.us> | 2025-08-29 10:58:02 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-08-29 10:58:02 +0200 |
commit | c470d756aaa282a983563ec0ae9ad489757ba7b4 (patch) | |
tree | 99f28312251b2729b2555b2c2db5988731e3ebe5 /src/c_defs.go | |
parent | search only mode (diff) | |
download | hardflip-c470d756aaa282a983563ec0ae9ad489757ba7b4.tar.gz hardflip-c470d756aaa282a983563ec0ae9ad489757ba7b4.tar.bz2 hardflip-c470d756aaa282a983563ec0ae9ad489757ba7b4.tar.xz hardflip-c470d756aaa282a983563ec0ae9ad489757ba7b4.tar.zst hardflip-c470d756aaa282a983563ec0ae9ad489757ba7b4.zip |
good
Diffstat (limited to 'src/c_defs.go')
-rw-r--r-- | src/c_defs.go | 61 |
1 files changed, 24 insertions, 37 deletions
diff --git a/src/c_defs.go b/src/c_defs.go index 480cf66..fc6c4c2 100644 --- a/src/c_defs.go +++ b/src/c_defs.go @@ -185,44 +185,31 @@ const ( INSERT_EDIT ) -var INSERT_HINTS = [INS_MAX]string{ - "Select the protocol used to connect to your host", - "IP or domain name of your host", - "Port used for SSH (default: 22)", - "User used to log in (default: root)", - "Password for your user", - "SSH private key used to log in instead of a password", - "Optional shell command line that will be run on your host", - "IP or domain name of your jump host", - "Port used for your jump SSH host (default: 22)", - // NOTE: fuck this anyway - } - var HELP_NORMAL_KEYS = [][2]string{ - {"<down> | j", "Go to next item"}, - {"<up> | k", "Go to previous item"}, - {"<pgdown> | <c-d>", "Jump down"}, - {"<pgup> | <c-u>", "Jump up"}, - {"} | ]", "Go to next directory"}, - {"{ | [", "Go to previous directory"}, - {"g", "Go to first item"}, - {"G", "Go to last item"}, - {"D", "Delete selected item"}, - {"h", "Close current directory"}, - {"H", "Close all directories"}, - {"l | <space>", "Toggle directory"}, - {"<right> | l | <enter>", "Connect to selected host / toggle directory"}, - {"a | i", "Create a new host"}, - {"y", "Copy selected host"}, - {"d", "Cut selected host"}, - {"p", "Paste host in clipboard"}, - {"<f7> | m", "Create a new directory"}, - {"e", "Edit selected host"}, - {"c | C | A", "Rename selected item"}, - {"<c-r>", "Reload data and configuration"}, - {"/ | <c-f>", "Fuzzy search"}, - {"?", "Display this help menu"}, - {"<c-c> | q", "Quit"}, + {"<down> | j", "go to next item"}, + {"<up> | k", "go to previous item"}, + {"<pgdown> | <c-d>", "jump down"}, + {"<pgup> | <c-u>", "jump up"}, + {"} | ]", "go to next directory"}, + {"{ | [", "go to previous directory"}, + {"g", "go to first item"}, + {"G", "go to last item"}, + {"D", "delete selected item"}, + {"h", "close current directory"}, + {"H", "close all directories"}, + {"l | <space>", "toggle directory"}, + {"<right> | l | <enter>", "connect to selected host / toggle directory"}, + {"a | i", "create a new host"}, + {"y", "copy selected host"}, + {"d", "cut selected host"}, + {"p", "paste host in clipboard"}, + {"<f7> | m", "create a new directory"}, + {"e", "edit selected host"}, + {"c | C | A", "rename selected item"}, + {"<c-r>", "reload data and configuration"}, + {"/ | f | <c-f>", "fuzzy search"}, + {"?", "display this help menu"}, + {"<c-c> | q", "quit"}, } var ( |