Below are some tricks for sublime text that make it easier and/or cool to work with.
This was a question I posed out to [stack overflow][zoom-in-pane] and it got a great answer.
-
ctlr + `
| // Copyright (c) 2017 Ismael Celis | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // The above copyright notice and this permission notice shall be included in all |
HEY: I've turned this into a blog post, which is a little more in depth.
🚨 https://eev.ee/blog/2016/06/04/converting-a-git-repo-from-tabs-to-spaces/ 🚨
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from subprocess import check_call | |
| from subprocess import check_output | |
| from subprocess import CalledProcessError | |
| # First prune the list | |
| check_call(['git', 'remote', 'prune', 'origin']) |
| [ | |
| { "keys": ["super+."], "command": "toggle_side_bar" }, | |
| { "keys": ["super+shift+m"], "command": "toggle_minimap"}, | |
| { "keys": ["super+p"], "command": "swap_case"}, | |
| { "keys": ["super+shift+l"], "command": "lower_case" } | |
| ] |