diff --git a/home/config/mimeapps.list b/home/config/mimeapps.list new file mode 100644 index 0000000..60fa694 --- /dev/null +++ b/home/config/mimeapps.list @@ -0,0 +1,118 @@ +[Default Applications] +text/html=google-chrome.desktop +x-scheme-handler/http=google-chrome.desktop +x-scheme-handler/https=google-chrome.desktop +x-scheme-handler/about=google-chrome.desktop +x-scheme-handler/unknown=google-chrome.desktop +inode/directory=xfce4-file-manager.desktop +x-scheme-handler/trash=xfce4-file-manager.desktop +text/csv=wps-office-prometheus.desktop +application/xls=wps-office-prometheus.desktop +application/csv=wps-office-prometheus.desktop +text/spreadsheet=wps-office-prometheus.desktop +application/x-123=wps-office-prometheus.desktop +application/x-xls=wps-office-prometheus.desktop +application/excel=wps-office-prometheus.desktop +application/x-oleo=wps-office-prometheus.desktop +application/msexcel=wps-office-prometheus.desktop +application/x-msexcel=wps-office-prometheus.desktop +application/x-ms-excel=wps-office-prometheus.desktop +application/vnd.ms-excel=wps-office-prometheus.desktop +application/x-quattropro=wps-office-prometheus.desktop +application/x-planperfect=wps-office-prometheus.desktop +application/x-dos_ms_excel=wps-office-prometheus.desktop +text/comma-separated-values=wps-office-prometheus.desktop +application/vnd.sun.xml.calc=wps-office-prometheus.desktop +text/x-comma-separated-values=wps-office-prometheus.desktop +application/x-applix-spreadsheet=wps-office-prometheus.desktop +application/tab-separated-values=wps-office-prometheus.desktop +application/vnd.stardivision.calc=wps-office-prometheus.desktop +application/vnd.sun.xml.calc.template=wps-office-prometheus.desktop +application/vnd.oasis.opendocument.spreadsheet=wps-office-prometheus.desktop +application/vnd.oasis.opendocument.spreadsheet-template=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.template=wps-office-prometheus.desktop +application/vnd.lotus-1-2-3=wps-office-prometheus.desktop +application/x-excel=wps-office-prometheus.desktop +application/x-mps=wps-office-prometheus.desktop +application/x-sc=wps-office-prometheus.desktop +application/x-sylk=wps-office-prometheus.desktop +application/x-xbase=wps-office-prometheus.desktop +text/tab-separated-values=wps-office-prometheus.desktop +zz-application/zz-winassoc-xls=wps-office-prometheus.desktop +application/wps-office.xls=wps-office-prometheus.desktop +application/wps-office.xlt=wps-office-prometheus.desktop +application/wps-office.xlsx=wps-office-prometheus.desktop +application/wps-office.xltx=wps-office-prometheus.desktop +application/wps-office.et=wps-office-prometheus.desktop +application/wps-office.ett=wps-office-prometheus.desktop +application/wps-office.ets=wps-office-prometheus.desktop +application/wps-office.eto=wps-office-prometheus.desktop +application/wps-office.uos=wps-office-prometheus.desktop +application/powerpoint=wps-office-prometheus.desktop +application/mspowerpoint=wps-office-prometheus.desktop +application/x-mspowerpoint=wps-office-prometheus.desktop +application/vnd.mspowerpoint=wps-office-prometheus.desktop +application/vnd.ms-powerpoint=wps-office-prometheus.desktop +application/vnd.sun.xml.impress=wps-office-prometheus.desktop +application/vnd.stardivision.impress=wps-office-prometheus.desktop +application/vnd.sun.xml.impress.template=wps-office-prometheus.desktop +application/vnd.oasis.opendocument.presentation=wps-office-prometheus.desktop +application/vnd.oasis.opendocument.presentation-template=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.presentationml.slide=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.presentationml.template=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.presentationml.slideshow=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.presentationml.presentation=wps-office-prometheus.desktop +application/wps-office.ppt=wps-office-prometheus.desktop +application/wps-office.pptx=wps-office-prometheus.desktop +application/wps-office.pot=wps-office-prometheus.desktop +application/wps-office.potx=wps-office-prometheus.desktop +application/wps-office.dps=wps-office-prometheus.desktop +application/wps-office.dpt=wps-office-prometheus.desktop +application/wps-office.dpss=wps-office-prometheus.desktop +application/wps-office.dpso=wps-office-prometheus.desktop +application/wps-office.uop=wps-office-prometheus.desktop +text/rtf=wps-office-prometheus.desktop +application/rtf=wps-office-prometheus.desktop +application/msword=wps-office-prometheus.desktop +application/x-msword=wps-office-prometheus.desktop +application/wordperfect=wps-office-prometheus.desktop +application/vnd.ms-word=wps-office-prometheus.desktop +application/msword-template=wps-office-prometheus.desktop +application/vnd.wordperfect=wps-office-prometheus.desktop +application/vnd.sun.xml.writer=wps-office-prometheus.desktop +application/vnd.sun.xml.writer.global=wps-office-prometheus.desktop +application/vnd.sun.xml.writer.template=wps-office-prometheus.desktop +application/vnd.oasis.opendocument.text=wps-office-prometheus.desktop +application/vnd.oasis.opendocument.text-template=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.document=wps-office-prometheus.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.template=wps-office-prometheus.desktop +application/wps-office.doc=wps-office-prometheus.desktop +application/wps-office.dot=wps-office-prometheus.desktop +application/wps-office.dotx=wps-office-prometheus.desktop +application/wps-office.docx=wps-office-prometheus.desktop +application/wps-office.wps=wps-office-prometheus.desktop +application/wps-office.wpt=wps-office-prometheus.desktop +application/wps-office.wpss=wps-office-prometheus.desktop +application/wps-office.wpso=wps-office-prometheus.desktop +application/wps-office.uot=wps-office-prometheus.desktop +image/png=feh.desktop +image/jpeg=feh.desktop +image/webp=feh.desktop +font/woff=org.gnome.FontViewer.desktop +application/pdf=atril.desktop + +[Added Associations] +x-scheme-handler/http=xfce4-web-browser.desktop; +x-scheme-handler/https=xfce4-web-browser.desktop; +inode/directory=xfce4-file-manager.desktop; +x-scheme-handler/trash=xfce4-file-manager.desktop; +image/png=feh.desktop; +image/jpeg=feh.desktop; +text/plain=sublime_text.desktop; +application/x-shellscript=sublime_text.desktop; +application/x-xbel=sublime_text.desktop; +image/webp=feh.desktop; +text/x-csrc=vim.desktop; +font/woff=org.gnome.FontViewer.desktop; +application/pdf=org.pwmt.zathura-pdf-poppler.desktop;atril.desktop; diff --git a/home/config/sublime-text/Installed Packages/0_package_control_loader.sublime-package b/home/config/sublime-text/Installed Packages/0_package_control_loader.sublime-package new file mode 100644 index 0000000..f2fb39e Binary files /dev/null and b/home/config/sublime-text/Installed Packages/0_package_control_loader.sublime-package differ diff --git a/home/config/sublime-text/Installed Packages/Package Control.sublime-package b/home/config/sublime-text/Installed Packages/Package Control.sublime-package new file mode 100644 index 0000000..b308291 Binary files /dev/null and b/home/config/sublime-text/Installed Packages/Package Control.sublime-package differ diff --git a/home/config/sublime-text/Packages/User/Default (Linux).sublime-keymap b/home/config/sublime-text/Packages/User/Default (Linux).sublime-keymap new file mode 100644 index 0000000..565abe0 --- /dev/null +++ b/home/config/sublime-text/Packages/User/Default (Linux).sublime-keymap @@ -0,0 +1,83 @@ +[ + { "keys": ["ctrl+q"], "command": "" }, + + + + /*------------ 复制粘贴等 -------------*/ + { "keys": ["ctrl+x"], "command": "" }, + { "keys": ["ctrl+c"], "command": "" }, + { "keys": ["ctrl+v"], "command": "" }, + { "keys": ["ctrl+a"], "command": "" }, + { "keys": ["ctrl+s"], "command": "" }, + { "keys": ["ctrl+shift+s"], "command": "" }, + { "keys": ["ctrl+z"], "command": "" }, + { "keys": ["ctrl+shift+z"], "command": "" }, + { "keys": ["ctrl+y"], "command": "" }, + { "keys": ["ctrl+u"], "command": "" }, + { "keys": ["ctrl+shift+u"], "command": "" }, + + { "keys": ["super+x"], "command": "cut" }, + { "keys": ["super+c"], "command": "copy" }, + { "keys": ["super+v"], "command": "paste" }, + { "keys": ["super+a"], "command": "select_all" }, + { "keys": ["super+s"], "command": "save", "args": { "async": true } }, + { "keys": ["super+z"], "command": "undo" }, + { "keys": ["super+shift+z"], "command": "redo" }, + + + + + /*------- 打开/关闭文件 -------*/ + { "keys": ["ctrl+w"], "command": "" }, + { "keys": ["ctrl+w"], "command": "", "context": + [ + { "key": "group_has_transient_sheet", "operator": "equal", "operand": true } + ] + }, + { "keys": ["ctrl+f4"], "command": "" }, + { "keys": ["ctrl+n"], "command": "" }, + { "keys": ["ctrl+o"], "command": "" }, + + { "keys": ["super+w"], "command": "close_file" }, + { "keys": ["super+n"], "command": "new_file" }, + { "keys": ["super+o"], "command": "prompt_open_file" }, + + + + + /*------------- 注释 -------------*/ + { "keys": ["ctrl+/"], "command": "" }, + { "keys": ["ctrl+shift+/"], "command": "" }, + + { "keys": ["ctrl+q"], "command": "toggle_comment", "args": { "block": false } }, + { "keys": ["ctrl+shift+q"], "command": "toggle_comment", "args": { "block": true } }, + + + /*------------- 搜索/替换 -------------*/ + + { "keys": ["ctrl+f"], "command": "" }, + { "keys": ["ctrl+h"], "command": "" }, + + { "keys": ["super+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} }, + { "keys": ["super+alt+f"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} }, + + + /*------------- 命令面板 -------------*/ + + { "keys": ["ctrl+shift+p"], "command": "" }, + + { "keys": ["super+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, + + + + /*------------- 编译 -------------*/ + + { "keys": ["ctrl+b"], "command": "" }, + { "keys": ["ctrl+shift+b"], "command": "" }, + { "keys": ["ctrl+break"], "command": "" }, + + { "keys": ["super+b"], "command": "build" }, + { "keys": ["super+shift+b"], "command": "build", "args": {"select": true} }, + { "keys": ["ctrl+c"], "command": "cancel_build" }, + +] diff --git a/home/config/sublime-text/Packages/User/Package Control.sublime-settings b/home/config/sublime-text/Packages/User/Package Control.sublime-settings new file mode 100644 index 0000000..da6cc33 --- /dev/null +++ b/home/config/sublime-text/Packages/User/Package Control.sublime-settings @@ -0,0 +1,12 @@ +{ + "bootstrapped": true, + "http_proxy": "http://127.0.0.1:7890", + "https_proxy": "http://127.0.0.1:7890", + "installed_packages": + [ + "Package Control", + ], + "in_process_packages": + [ + ], +} diff --git a/home/config/sublime-text/Packages/User/Package Control.user-ca-bundle b/home/config/sublime-text/Packages/User/Package Control.user-ca-bundle new file mode 100644 index 0000000..e69de29 diff --git a/home/config/sublime-text/Packages/User/Preferences.sublime-settings b/home/config/sublime-text/Packages/User/Preferences.sublime-settings new file mode 100644 index 0000000..48f82f3 --- /dev/null +++ b/home/config/sublime-text/Packages/User/Preferences.sublime-settings @@ -0,0 +1,20 @@ +// Settings in here override those in "Default/Preferences.sublime-settings", +// and are overridden in turn by syntax-specific settings. +{ + "font_face": "Material Icons,Menlo", + "font_size": 11, + "margin": 2, + "tab_size": 2, + "translate_tabs_to_spaces": true, + "indent_to_bracket": true, + "word_wrap": true, + "highlight_modified_tabs": true, + "close_deleted_files": false, + "always_show_minimap_viewport": true, + "bold_folder_labels": true, + "ignored_packages": + [ + "Vintage", + ], + "color_scheme": "Mariana.sublime-color-scheme", +}