Skip to content

Instantly share code, notes, and snippets.

@onmoving
Last active December 11, 2015 09:49
Show Gist options
  • Save onmoving/4582889 to your computer and use it in GitHub Desktop.
Save onmoving/4582889 to your computer and use it in GitHub Desktop.

##Sublime Package Control 설치하기

참고URL:: wbond.net/sublime_packages/package_control/installation

open Sublime Text 2 console: ctrl+` shortcut 아래의 코드를 콘솔창에 붙여넣는다

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'

설명: This command creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it.

##InputHelper

리눅스에서 한글 입력문제에 대한 임시 해결 방법

Open new input form to input text using IMEs like SCIM,ibus. Temporarily solve input problem on Linux.

##CTags

CTags support for Sublime Text 2

https://github.com/SublimeText/CTags

Cscope

A Cscope plugin for Sublime Text 2

https://github.com/ameyp/CscopeSublime

현재 시점(2013.1.30)에서 플러그인의 완성도가 떨어지 설치 후 제거하였음.

{
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"font_face": "Monaco",
"font_size": 10.0,
// "font_face": "Monospace",
// "font_size": 12.0,
// "font_face": "나눔고딕코딩",
// "font_size": 14.0,
"ignored_packages":
[
"Vintage"
],
// Determines what character(s) are used to terminate each line in new files.
// Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
// 'unix' (LF only).
"default_line_ending": "unix",
"line_padding_bottom": 0,
"line_padding_top": 1,
"tab_size": 2,
"translate_tabs_to_spaces": false
}

#리눅스에서의 한글 문제

fedora 18, ubuntu 12.04/12.10에서 한글 입력이 안됨. 검색을 해 보면 CJK입력 문제인 것으로 생각됨.

리눅스 자체의 문제이므로 sublime text 2에서 한글 입력이 가능한 업데이트 버전이 나올 때까지 기다려야 할 것으로 보임.

임시적인 해결 방법으로 sublime package 중 InputHelper를 설치해서 사용하는 방법이 있음.

ubuntu 12.04버전에서 scim-bridge를 사용하는 경우 한글을 사용할 수 있었으나, 12.04.1버전에서는 scim-bridge로 설정을 해도 한글을 사용할 수 없었음.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment