Tag Archives: Hotkey

Tab Key not Working as Expected – Visual Code

Hi everyone,

I ran into a bit of a strange issue with visual code today. Tabs suddenly stopped working for creating an indent. Instead, the focus of the cursor changed.

It turns out that I’d inadvertently toggled a setting that causes the tab key to move focus instead of indenting. The hotkey in windows is ctrl + m.

Thanks to this link for the find: https://github.com/Microsoft/vscode/issues/21638

Refresh Folder Hotkey – Sublime Text 2

Hey everyone,

Just a quick post on how to setup a refresh hotkey in Sublime on Windows. All you have to do is the following:

1) Open sublime
2) Select Preferences from the top menu and then click “Key Bindings – Default”
3) Go to the end of the file and add a comma to the last entry:

  1.         //Original
  2. 	{ "keys": ["enter"], "command": "hide_panel", "context":
  3. 		[{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
  4. 	},
  5. 	{ "keys": ["shift+enter"], "command": "find_prev", "context":
  6. 		[{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
  7. 	},
  8. 	{ "keys": ["alt+enter"], "command": "find_all", "args": {"close_panel": true},
  9. 		"context": [{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
  10. 	}
  12.         //Modified
  13.         //Original
  14. 	{ "keys": ["enter"], "command": "hide_panel", "context":
  15. 		[{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
  16. 	},
  17. 	{ "keys": ["shift+enter"], "command": "find_prev", "context":
  18. 		[{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
  19. 	},
  20. 	{ "keys": ["alt+enter"], "command": "find_all", "args": {"close_panel": true},
  21. 		"context": [{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
  22. 	}

4) Add the following entry:

  1. //Custom
  2. { "keys": ["f5"], "command": "refresh_folder_list" }

Now all you have to do is save the file and F5 will now refresh your project! If you want to change the hotkey, simply switch [“f5”] for another value.

Leave a comment below if you have any issues or tips!