All my sublime plugins.
Clone or download this repo in Sublime Text's Package
directory.
Insert the 42 Header
Insert the header at the top of the fileUpdate the 42 Header
Update the header
The header is automatically updated on save
// Disable header update on save
"juloo_42_header": false
// Set pseudo (by default, $USER is used)
"pseudo": "your name"
ctrl+b
show a prompt that execute a command
Before the command is run, the pwd is set to the first opened folder
Save the last used command
Insert Line number
Insert the line numberInsert Column number
Insert the column indexInsert Shell command output
:
The command is executed using bash
Before executing the command, the pwd is set to the current dir and some variables are set:
"$FILE" # The current file name
"$LINE" # The current line number
"$COLUMN" # The current column number
"$TEXT" # The content of the selected region (or the whole line if the selection is empty)
Note: If there is multiple selections, the command is executed for each cursors
-
ctrl+pageup/pagedown
Switch next/prev view in group -
ctrl+shift+pageup/pagedown
Switch next/prev group -
ctrl+alt+pageup/pagedown
Move view to the right/left -
ctrl+alt+shift+pageup/pagedown
Move view to the next/prev group -
ctrl+k, ctrl+tab
Focus the output panel
-
alt+s
Save current cursors -
alt+shift+s
Restore saved cursors -
alt+x
Remove saved cursors -
alt+d
Jump to the next saved cursor -
alt+shift+d
Jump to the previous saved cursor -
alt+up
Jump before previous paragraph -
alt+down
Jump after next paragraph -
alt+shift+up
oralt+shift+down
Same but selecting
ctrl+,
Toggle and focus side bar + Reveal current filectrl+k, ctrl+,
Clear side bar
- C, C++:
#include <...>
,#include "..."
- Python:
import ...
,import ... from ...
- OCaml:
open ...
- Haskell:
import ...
- Java:
import ...
Can be disabled:
// Disable automatic include sorting
"juloo_sort_include": false
Sort Includes
command
Change easily the Sublime Text layout
Shortcuts:
ctrl+k, ctrl+d
Split verticalctrl+k, ctrl+shift+d
Split horizontalctrl+k, ctrl+m
Merge
Commands:
Split vertical
(Split the current view vertically into 2 equal parts)Split horizontal
(Split the current view horizontally into 2 equal parts)Merge
(Merge 2 splitted views into 1)Reset
(Reset the layout: 1 view)
Color schemes:
theme_2
theme_4
theme_5
Syntax:
ASM syntax
Some snippets