Minimize the contents of parentheses such as function { XXXX }; to function {...};
C-c C-o
easier to view the whole structure.
Showing posts with label Command. Show all posts
Showing posts with label Command. Show all posts
Wednesday, April 7, 2010
Sunday, February 28, 2010
searching Bluetooth devices from terminal command
type in terminal
$sudo hidd --search
make sure the targeting device is emitting signal by, for example, pressing a button like "connect".
$sudo hidd --search
make sure the targeting device is emitting signal by, for example, pressing a button like "connect".
Saturday, February 27, 2010
YaTeX command list
※印刷環境の整備ができていないため、現在直接印刷はできませんC-c t j コンパイル(platex) r コンパイル(領域指定) k コンパイル中断 b jbibtex p プレビュー(xvdi) l 印刷(lpr)s 入力補完
- (La)TeXでは多くの環境が提供されるため、すべてのキーバインドを一度に覚えることはできないため、コマンド一覧を表記するコマンドを示す。
C-c a アクセント補完 b SPC begin型補完 B SPC begin型補完(領域指定) b 環境の頭文字 begin型補完(即時) B 環境の頭文字 begin型補完(即時・領域指定) e end補完 l large型補完 L large型補完(領域指定) m maketitle補完 s section型補完 S section型補完(領域指定) SPC 随時補完 ; 数式記号イメージ補完
(数式環境内で): ギリシャ文字イメージ補完
(数式環境内で) カーソルジャンプ
C-c ’ コンパイルエラー個所へ g 対応するオブジェクト 4g 別ウィンドウで対応するオブジェクトへ ^ メインファイルへ 4^ 別ウィンドウでメインファイルへ ESC C-a 環境の先頭 ESC C-e 環境の末尾 ESC C-h 環境全体をマーク コメントアウト
C-c > 領域/環境のコメントアウト < 領域/環境のコメント解除 . 段落/環境宣言コメントアウト , 段落/環境宣言コメント解除 その他
C-c i itemの桁揃え c LaTeXコマンド変更 k コマンドの削除 ) 領域を()で括る } 領域を{}で括る $ 領域を$$で括る w モードの切り替え % %#記法の編集 & tabular/array桁位置表示 ? オンラインヘルプ / オンラインapropos d インクルード構造ブラウズ ESC RET おまかせ改行
tabular,array,itemize,enumerate,list,descriptionで- information from http://www.yuge.ac.jp/home/~nagao/teaching/LaTeX/yatex.html
Tuesday, February 23, 2010
Emacs: shell-pop
"shell-pop" is an Emacs mode that enables pop-up a window of terminal by typing
Ctrl + t
this is mush quicker than switching buffers to eshell to ansi-mode
require shell-pop.el from
http://www.emacswiki.org/emacs-en/ShellPop
in .emacs
Ctrl + t
this is mush quicker than switching buffers to eshell to ansi-mode
require shell-pop.el from
http://www.emacswiki.org/emacs-en/ShellPop
in .emacs
;; shell-pop ;; C-tでshellをポップアップ (require 'shell-pop) (shell-pop-set-internal-mode "ansi-term") ;; ansi-termを使うよ (shell-pop-set-internal-mode-shell "/bin/zsh") ;; zshを使うよ (defvar ansi-term-after-hook nil) (add-hook 'ansi-term-after-hook '(lambda () (define-key term-raw-map "\C-t" 'shell-pop))) (defadvice ansi-term (after ansi-term-after-advice (org)) "run hook as after advice" (run-hooks 'ansi-term-after-hook)) (ad-activate 'ansi-term) (global-set-key "\C-t" 'shell-pop)
Sunday, February 21, 2010
Printing codes in Color with Emacs
If you want to print source codes whose key words appear in color,
But some colors of key words seem too pale to read accurately...
information from
http://www.swlab.ice.uec.ac.jp/announce/srcprint.html
M-x ps-print-buffer-with-faces
But some colors of key words seem too pale to read accurately...
information from
http://www.swlab.ice.uec.ac.jp/announce/srcprint.html
Subscribe to:
Posts (Atom)