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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "trim_trailing_white_space_on_save": true, | 66 "trim_trailing_white_space_on_save": true, |
67 "ensure_newline_at_eof_on_save": true, | 67 "ensure_newline_at_eof_on_save": true, |
68 "translate_tabs_to_spaces" : true, | 68 "translate_tabs_to_spaces" : true, |
69 | 69 |
70 // Optional, but also useful, preferences | 70 // Optional, but also useful, preferences |
71 "always_show_minimap_viewport": true, | 71 "always_show_minimap_viewport": true, |
72 "bold_folder_labels": true, | 72 "bold_folder_labels": true, |
73 "draw_white_space": "all", | 73 "draw_white_space": "all", |
74 "enable_tab_scrolling": false, | 74 "enable_tab_scrolling": false, |
75 "highlight_line": true, | 75 "highlight_line": true, |
| 76 |
| 77 // Mainly for Windows, but harmless on Mac/Linux |
| 78 "default_line_ending": "unix", |
76 } | 79 } |
77 ``` | 80 ``` |
78 | 81 |
79 The settings will take effect as soon as you save the file. | 82 The settings will take effect as soon as you save the file. |
80 | 83 |
81 #### Tips | 84 #### Tips |
82 * `View > Side Bar > Show Open Files` will add a list of open files to the top | 85 * `View > Side Bar > Show Open Files` will add a list of open files to the top |
83 of the sidebar | 86 of the sidebar |
84 * ``Ctrl+` `` will show the console; it shows errors and debugging output, and | 87 * ``Ctrl+` `` will show the console; it shows errors and debugging output, and |
85 you can run Python | 88 you can run Python |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 * [Case Conversion](https://packagecontrol.io/packages/Case%20Conversion)
- | 577 * [Case Conversion](https://packagecontrol.io/packages/Case%20Conversion)
- |
575 automatically changes the case of selected text, e.g. `kConstantName` to | 578 automatically changes the case of selected text, e.g. `kConstantName` to |
576 `CONSTANT_NAME` | 579 `CONSTANT_NAME` |
577 * [Text Pastry](https://packagecontrol.io/packages/Text%20Pastry) - | 580 * [Text Pastry](https://packagecontrol.io/packages/Text%20Pastry) - |
578 Inserts incremental number sequences with multi-select | 581 Inserts incremental number sequences with multi-select |
579 * [Wrap Plus](https://packagecontrol.io/packages/Wrap%20Plus) - Auto-wraps | 582 * [Wrap Plus](https://packagecontrol.io/packages/Wrap%20Plus) - Auto-wraps |
580 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 |
581 document! ;-) | 584 document! ;-) |
582 * [Diffy](https://packagecontrol.io/packages/Diffy) - With two files | 585 * [Diffy](https://packagecontrol.io/packages/Diffy) - With two files |
583 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 |