Skip to content

Commit

Permalink
update config.json in main
Browse files Browse the repository at this point in the history
  • Loading branch information
yorukot committed Apr 11, 2024
1 parent 083ff9f commit aab0044
Showing 1 changed file with 61 additions and 58 deletions.
119 changes: 61 additions & 58 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,61 +319,64 @@ func Unzip(src, dest string) error {
return nil
}

const configJsonString string = `{
"theme": "gruvbox",
"terminal": "",
"terminalWorkDirFlag": "",
"_COMMIT_bottom_panel": "This is currently of no use",
"bottomPanelList": ["processes", "metadata", "clipboard"],
"_COMMIT_HOTKEY": "",
"_COMMIT_global_hotkey": "Here is global, all global key cant conflicts with other hotkeys",
"reload": ["ctrl+r", ""],
"quit": ["esc", "q"],
"listUp": ["up", "k"],
"listDown": ["down", "j"],
"pinnedDirectory": ["ctrl+p", ""],
"closeFilePanel": ["ctrl+w", ""],
"createNewFilePanel": ["ctrl+n", ""],
"nextFilePanel": ["tab", ""],
"previousFilePanel": ["shift+left", ""],
"focusOnProcessBar": ["p", ""],
"focusOnSideBar": ["b", ""],
"focusOnMetaData": ["m", ""],
"changePanelMode": ["v", ""],
"filePanelFolderCreate": ["f", ""],
"filePanelFileCreate": ["c", ""],
"filePanelItemRename": ["r", ""],
"pasteItem": ["ctrl+v", ""],
"toggleDotFile": ["ctrl+h", ""],
"_COMMIT_special_hotkey": "These hotkeys do not conflict with any other keys (including global hotkey)",
"cancel": ["ctrl+c", "esc"],
"confirm": ["enter", ""],
"_COMMIT_normal_mode_hotkey": "Here is normal mode hotkey you can conflicts with other mode (cant conflicts with global hotkey)",
"deleteItem": ["ctrl+d", ""],
"selectItem": ["enter", "l"],
"parentFolder": ["h", "backspace"],
"copySingleItem": ["ctrl+c", ""],
"cutSingleItem": ["ctrl+x", ""],
"_COMMIT_select_mode_hotkey": "Here is select mode hotkey you can conflicts with other mode (cant conflicts with global hotkey)",
"filePanelSelectModeItemSingleSelect": ["enter", "l"],
"filePanelSelectModeItemSelectDown": ["shift+down", "J"],
"filePanelSelectModeItemSelectUp": ["shift+up", "K"],
"filePanelSelectModeItemDelete": ["ctrl+d", "delete"],
"filePanelSelectModeItemCopy": ["ctrl+c", ""],
"filePanelSelectModeItemCut": ["ctrl+x", ""],
"filePanelSelectAllItem": ["ctrl+a", ""],
"_COMMIT_process_bar_hotkey": "Here is process bar panel hotkey you can conflicts with other mode (cant conflicts global hotkey)"
}`
const configJsonString string =`{
"theme": "gruvbox",
"terminal": "",
"terminalWorkDirFlag": "",
"_COMMIT_bottom_panel": "This is currently of no use",
"bottomPanelList": ["processes", "metadata", "clipboard"],
"_COMMIT_HOTKEY": "",
"_COMMIT_global_hotkey": "Here is global, all global key cant conflicts with other hotkeys",
"reload": ["ctrl+r", ""],
"quit": ["esc", "q"],
"listUp": ["up", "k"],
"listDown": ["down", "j"],
"pinnedDirectory": ["ctrl+p", ""],
"closeFilePanel": ["ctrl+w", ""],
"createNewFilePanel": ["ctrl+n", ""],
"nextFilePanel": ["tab", ""],
"previousFilePanel": ["shift+left", ""],
"focusOnProcessBar": ["p", ""],
"focusOnSideBar": ["b", ""],
"focusOnMetaData": ["m", ""],
"changePanelMode": ["v", ""],
"filePanelFolderCreate": ["f", ""],
"filePanelFileCreate": ["c", ""],
"filePanelItemRename": ["r", ""],
"pasteItem": ["ctrl+v", ""],
"extractFile": ["ctrl+t"],
"compressFile": ["ctrl+y"],
"toggleDotFile": ["ctrl+h", ""],
"_COMMIT_special_hotkey": "These hotkeys do not conflict with any other keys (including global hotkey)",
"cancel": ["ctrl+c", "esc"],
"confirm": ["enter", ""],
"_COMMIT_normal_mode_hotkey": "Here is normal mode hotkey you can conflicts with other mode (cant conflicts with global hotkey)",
"deleteItem": ["ctrl+d", ""],
"selectItem": ["enter", "l"],
"parentDirectory": ["h", "backspace"],
"copySingleItem": ["ctrl+c", ""],
"cutSingleItem": ["ctrl+x", ""],
"_COMMIT_select_mode_hotkey": "Here is select mode hotkey you can conflicts with other mode (cant conflicts with global hotkey)",
"filePanelSelectModeItemSingleSelect": ["enter", "l"],
"filePanelSelectModeItemSelectDown": ["shift+down", "J"],
"filePanelSelectModeItemSelectUp": ["shift+up", "K"],
"filePanelSelectModeItemDelete": ["ctrl+d", "delete"],
"filePanelSelectModeItemCopy": ["ctrl+c", ""],
"filePanelSelectModeItemCut": ["ctrl+x", ""],
"filePanelSelectAllItem": ["ctrl+a", ""],
"_COMMIT_process_bar_hotkey": "Here is process bar panel hotkey you can conflicts with other mode (cant conflicts global hotkey)"
}`

0 comments on commit aab0044

Please sign in to comment.