From c470d756aaa282a983563ec0ae9ad489757ba7b4 Mon Sep 17 00:00:00 2001 From: joe Date: Fri, 29 Aug 2025 10:58:02 +0200 Subject: good --- src/c_defs.go | 61 +++++++++++++++++++++++------------------------------------ 1 file changed, 24 insertions(+), 37 deletions(-) (limited to 'src/c_defs.go') 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{ - {" | j", "Go to next item"}, - {" | k", "Go to previous item"}, - {" | ", "Jump down"}, - {" | ", "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 | ", "Toggle directory"}, - {" | l | ", "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"}, - {" | m", "Create a new directory"}, - {"e", "Edit selected host"}, - {"c | C | A", "Rename selected item"}, - {"", "Reload data and configuration"}, - {"/ | ", "Fuzzy search"}, - {"?", "Display this help menu"}, - {" | q", "Quit"}, + {" | j", "go to next item"}, + {" | k", "go to previous item"}, + {" | ", "jump down"}, + {" | ", "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 | ", "toggle directory"}, + {" | l | ", "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"}, + {" | m", "create a new directory"}, + {"e", "edit selected host"}, + {"c | C | A", "rename selected item"}, + {"", "reload data and configuration"}, + {"/ | f | ", "fuzzy search"}, + {"?", "display this help menu"}, + {" | q", "quit"}, } var ( -- cgit v1.2.3