OLD | NEW |
1 # Linux Sublime Dev | 1 # Linux Sublime Dev |
2 | 2 |
3 Sublime Text is a fast, powerful and easily extensible code editor. Check out | 3 Sublime Text is a fast, powerful and easily extensible code editor. Check out |
4 some [visual demos](http://www.sublimetext.com) for a quick demonstration. | 4 some [visual demos](http://www.sublimetext.com) for a quick demonstration. |
5 | 5 |
6 You can download and install Sublime Text 3 from the [Sublime Text | 6 You can download and install Sublime Text 3 from the [Sublime Text |
7 Website](http://www.sublimetext.com/3). Assuming you have access to the right | 7 Website](http://www.sublimetext.com/3). Assuming you have access to the right |
8 repositories, you can also install Sublime via apt-get on Linux. Help and | 8 repositories, you can also install Sublime via apt-get on Linux. Help and |
9 general documentation is available in the [Sublime Text 3 | 9 general documentation is available in the [Sublime Text 3 |
10 Docs](http://www.sublimetext.com/docs/3/). | 10 Docs](http://www.sublimetext.com/docs/3/). |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 * `View > Distractio-Free Mode` goes into fullscreen and removes Sublime's | 89 * `View > Distractio-Free Mode` goes into fullscreen and removes Sublime's |
90 header and footer | 90 header and footer |
91 * `View > Layout > ...` changes the configuration of files you can open side- | 91 * `View > Layout > ...` changes the configuration of files you can open side- |
92 by-side | 92 by-side |
93 * `Ctrl + P` (`Cmd + P` on Mac) quickly opens a search box to find a file or | 93 * `Ctrl + P` (`Cmd + P` on Mac) quickly opens a search box to find a file or |
94 definition | 94 definition |
95 * `Alt + O` (`Alt + Cmd + Up` on Mac) switches between the source/header file | 95 * `Alt + O` (`Alt + Cmd + Up` on Mac) switches between the source/header file |
96 * `Alt + PageUp`/`Alt + PageDown` (`Alt + Cmd + Left`/`Alt + Cmd + Right` on | 96 * `Alt + PageUp`/`Alt + PageDown` (`Alt + Cmd + Left`/`Alt + Cmd + Right` on |
97 Mac) moves between tabs | 97 Mac) moves between tabs |
98 * `F12` (`Alt + Cmd + Down` on Mac) goes to the symbol's definition | 98 * `F12` (`Alt + Cmd + Down` on Mac) goes to the symbol's definition |
99 * With text selected, `Ctrl + D` will multi-select the next occurrance (so | 99 * With text selected, `Ctrl + D` will multi-select the next occurrence (so |
100 typing in one types in all of them), and `Ctrl+U` deselects | 100 typing in one types in all of them), and `Ctrl+U` deselects |
101 * Similarly, after finding something with `Ctrl + F`, `Alt + Enter` will | 101 * Similarly, after finding something with `Ctrl + F`, `Alt + Enter` will |
102 select all occurrances of the search query, which can be multi-edited | 102 select all occurrences of the search query, which can be multi-edited |
103 * `Ctrl + X` without anything selected cuts the current line, then move to a | 103 * `Ctrl + X` without anything selected cuts the current line, then move to a |
104 different line and `Ctrl + V` pastes it below the current line | 104 different line and `Ctrl + V` pastes it below the current line |
105 | 105 |
106 ### Setting Sublime as the default Terminal editor | 106 ### Setting Sublime as the default Terminal editor |
107 | 107 |
108 Add `export EDITOR="subl -w"` to your `~/.bashrc` file (or similar) to open git | 108 Add `export EDITOR="subl -w"` to your `~/.bashrc` file (or similar) to open git |
109 commit messages, gn args, etc with Sublime Text. Since you may want to only open | 109 commit messages, gn args, etc with Sublime Text. Since you may want to only open |
110 sublime when using a non-SSH session, you can wrap it in the following: | 110 sublime when using a non-SSH session, you can wrap it in the following: |
111 | 111 |
112 ``` | 112 ``` |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 * [Case Conversion](https://packagecontrol.io/packages/Case%20Conversion)
- | 577 * [Case Conversion](https://packagecontrol.io/packages/Case%20Conversion)
- |
578 automatically changes the case of selected text, e.g. `kConstantName` to | 578 automatically changes the case of selected text, e.g. `kConstantName` to |
579 `CONSTANT_NAME` | 579 `CONSTANT_NAME` |
580 * [Text Pastry](https://packagecontrol.io/packages/Text%20Pastry) - | 580 * [Text Pastry](https://packagecontrol.io/packages/Text%20Pastry) - |
581 Inserts incremental number sequences with multi-select | 581 Inserts incremental number sequences with multi-select |
582 * [Wrap Plus](https://packagecontrol.io/packages/Wrap%20Plus) - Auto-wraps | 582 * [Wrap Plus](https://packagecontrol.io/packages/Wrap%20Plus) - Auto-wraps |
583 a comment block to 80 columns with `Alt + Q` (was used to write this | 583 a comment block to 80 columns with `Alt + Q` (was used to write this |
584 document! ;-) | 584 document! ;-) |
585 * [Diffy](https://packagecontrol.io/packages/Diffy) - With two files | 585 * [Diffy](https://packagecontrol.io/packages/Diffy) - With two files |
586 opened side-by-side, `Ctrl + k Ctrl + d` will show the differences | 586 opened side-by-side, `Ctrl + k Ctrl + d` will show the differences |
OLD | NEW |