aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_defs.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_defs.go')
-rw-r--r--src/c_defs.go64
1 files changed, 26 insertions, 38 deletions
diff --git a/src/c_defs.go b/src/c_defs.go
index 82ddd5c..cc8a42f 100644
--- a/src/c_defs.go
+++ b/src/c_defs.go
@@ -56,7 +56,7 @@ const (
STYLE_FILE_NAME = "colors.yml"
CONF_DIR_NAME = "hf"
DATA_DIR_NAME = "hf"
- VERSION = "v1.0.2"
+ VERSION = "v1.0.3"
VERSION_NAME = "wheelbite"
)
@@ -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 (
@@ -253,6 +240,7 @@ var DEFAULT_OPTS = HardOpts{
false,
"",
"",
+ "fzf",
"",
}