From ec7f8c61c9ddbdba56769be0a0e71a84c032684b Mon Sep 17 00:00:00 2001 From: Hao Tran Date: Sun, 7 Apr 2024 16:58:11 -0400 Subject: [PATCH] Add Linux settings for Sublime Text --- sublime-text/Default (Linux).sublime-keymap | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sublime-text/Default (Linux).sublime-keymap diff --git a/sublime-text/Default (Linux).sublime-keymap b/sublime-text/Default (Linux).sublime-keymap new file mode 100644 index 0000000..a71aa4d --- /dev/null +++ b/sublime-text/Default (Linux).sublime-keymap @@ -0,0 +1,23 @@ +[ + { // reset zoom + "keys": ["ctrl+0"], + "command": "reset_font_size" + }, + + { // markdown preview -- use to open markdown preview in browser + "keys": ["ctrl+alt+m"], + "command": "markdown_preview", + "args": {"target": "browser", "parser":"markdown" } + }, + + { // terminus -- open terminal in current file directory + "keys": ["ctrl+alt+t"], + "command": "toggle_terminus_panel", + "args": { "cwd": "${file_path:${folder}}" } + }, + { // terminus -- close terminal while it is in focus with + "keys": ["ctrl+w"], + "command": "terminus_close", + "context": [{ "key": "terminus_view"}] + }, +]