Linux
sublime on ubuntu
aucd29
2014. 2. 24. 17:02
1. install
$ sudo add-apt-repository ppa:webupd8team/sublime-text-2
$ sudo apt-get update
$ sudo apt-get install sublime-text ghex
2. registration
$ cd /opt/sublime_text_2
$ cp sublime_text sublime_text.bak
$ sudo ghex sublime_text
Ctrl+H (replace text)
find : 33 42
replace : 32 42
replace all
save and exit
run sublime_text and register with the above license key
Patrick Carey
Unlimited User License
EA7E-18848
4982D83B6313800EBD801600D7E3CC13
F2CD59825E2B4C4A18490C5815DF68D6
A5EFCC8698CFE589E105EA829C5273C0
C5744F0857FAD2169C88620898C3845A
1F4521CFC160EEC7A9B382DE605C2E6D
DE84CD0160666D30AA8A0C5492D90BB2
75DEFB9FD0275389F74A59BB0CA2B4EF
EA91E646C7F2A688276BCF18E971E372
3. add ctags plug-in
$ cd ~/.config/sublime-text-2/Packages
$ git clone https://github.com/SublimeText/CTags
$ sudo apt-get install exuberant-ctags
4. make .tags file
$ cd $prjDir
$ ctags -R -f .tags
5. change shorcut key
> Preferences -> Package Settings -> CTags -> Key Bindings - Default
{
"command": "navigate_to_definition",
"keys": ["ctrl+]"]
},
{
"command": "jump_prev",
"keys": ["ctrl+["]
},
$ sudo add-apt-repository ppa:webupd8team/sublime-text-2
$ sudo apt-get update
$ sudo apt-get install sublime-text ghex
2. registration
$ cd /opt/sublime_text_2
$ cp sublime_text sublime_text.bak
$ sudo ghex sublime_text
Ctrl+H (replace text)
find : 33 42
replace : 32 42
replace all
save and exit
run sublime_text and register with the above license key
Patrick Carey
Unlimited User License
EA7E-18848
4982D83B6313800EBD801600D7E3CC13
F2CD59825E2B4C4A18490C5815DF68D6
A5EFCC8698CFE589E105EA829C5273C0
C5744F0857FAD2169C88620898C3845A
1F4521CFC160EEC7A9B382DE605C2E6D
DE84CD0160666D30AA8A0C5492D90BB2
75DEFB9FD0275389F74A59BB0CA2B4EF
EA91E646C7F2A688276BCF18E971E372
3. add ctags plug-in
$ cd ~/.config/sublime-text-2/Packages
$ git clone https://github.com/SublimeText/CTags
$ sudo apt-get install exuberant-ctags
4. make .tags file
$ cd $prjDir
$ ctags -R -f .tags
5. change shorcut key
> Preferences -> Package Settings -> CTags -> Key Bindings - Default
{
"command": "navigate_to_definition",
"keys": ["ctrl+]"]
},
{
"command": "jump_prev",
"keys": ["ctrl+["]
},