この記事は abicky.net の Emacs で Helm をストレスなく使うための個人的な設定 に移行しました
この記事は Emacs Advent Calendar 2012の 24日目の記事です。 今日は helm(anything)を使いこなすというかより便利に使うための tipsを紹介します。 アクションを使いこなす helm(anything)は通常であればデフォルトアクションと呼ばれる 最も期待する動作を実行しますが、sourceによっては様々な actionが設定されており、一つのコマンドから様々なことが 行えます。 アクションは各種 helm(anything)コマンドを実行後 TABを押すことで 表示することができます。 例えば helm-find-filesのコマンドの場合は以下のようになります。 ファイルに関する種々の操作(action)が行えます。もちろんここでも helm(anything)の補完でアクションを選択することができます。 一方 helm-c-aproposとい
こんにちは。バランスボールがいす代わりのnagata(@handlename)です。 emacs、使いこなせてますか? キーバインドも、カーソル移動と終了までは覚えたものの、 結局普通のテキストエディタとして使っていたりしないでしょうか? それはひじょーーーーーーーーにもったいない! とはいえ、いきなりいろいろ拡張elispを入れるのは腰が重いかと思います。 と、いうわけで、とりあえずヘルプを引けるようになってみてみませんか? キーバインドを調べる M-x describe-bindings または、 f1 b 現在のモードで使えるキーバインドの一覧を表示します。 なれないうちは常に開いておいて、 モード名で検索したりするといいでしょう。 その行でenterを押すと詳細なヘルプを表示します。 関数の役割を調べる M-x describe-function [関数名] または、 f1 f [
id-manager.elを更新しました。あと、ちゃんと紹介記事を書いてなかったのでまじめに書きました。 以前の記事:2009/09/14 id-manager.el 何か 世の中にあふれるIDとパスワードを管理するものです。 例によって類似品がたくさんあります。有名なものを列挙すると以下のような感じでしょうか。 パスワード管理ソフト ID Manager フリー。Windows上の定番? パスワード管理、デジタルウォレット、パスワード生成 | ロボフォーム 商用。メーカー製PCにプリインストールされていることがある GNOME Keyring GNOMEの標準鍵管理ツール 本家:Projects/GnomeKeyring - GNOME Wiki! 参考:gnome-keyring を利用してコマンドライン上のパスワードを置換する - daily dayflower その他 最強のパスワ
unite.vim の source をお好きなスクリプト言語で書ける unite-script - はこべにっき#を見て、エディタからiTunesの曲をインクリメンタルに絞り込んで再生できると便利だなーと思ったので anything的にiTunesの曲を検索+再生できるelispを書きました。 Anything interface for iTunes (Mac only) — Gist 曲名の取得や再生にapplescriptを使っているので、名前からわかるようにMacでしか動きません。 上のファイルをパスの通った適当なところに置いて (when (eq system-type 'darwin) (require 'anything-mac-itunes) (global-set-key (kbd "C-c m") 'anything-mac-itunes) (global-set-k
【Emacs本を書きました】 anything.elフレームワークは徐々に進化しています。 ユーザーとして使いやすくする一方、より簡単にプログラミングできるように改良しています。 なるべく非互換性を導入しないように特に気をつけています。 初期に作られた情報源も動くはずです。 動かない場合はanything.elのバグの可能性があります。 anything関数とキーワード引数anything関数がキーワード引数を受け付けるようになりました。 これにより、可読性が上がります。 おそらく一番目立つ最新機能でしょう。 もちろん、通常の引数も使えるので、お好きな方をどうぞ。 基本キーワードanything関数の通常の引数に対応するキーワードは以下の通りです。 :sources情報源 :input最初の入力パターン :promptプロンプト :resumetのとき、直前のanythingセッションを復
Emacs Advent Calendar jp: 2009参加中!次はkiwanamiさん。 auto-install.el は拙作 install-elisp.el の後継バージョンである。サイトからEmacsLispファイルをダウンロードし、所定の位置に配置し、バイトコンパイルする。最大の違いはダウンロードが非同期になったことだ。 install-elisp ではダウンロード時に待たされるが、 auto-install ではダウンロード中も作業をすることができる。 ダウンロードはEmacsWikiから。install-elispが使えるならば、M-x install-elisp-from-emacswiki auto-install.el を実行する。 http://www.emacswiki.org/emacs/download/auto-install.el そして、以下の設定を
Emacsはバッドノウハウだとか、古くさいエディタなんつーことをよく聞きます。でも、Rを使うにこれほど便利な道具はありません。 特に、Rでガリガリ計算させたい人にとってネットワーク越しで他のマシン使って計算させているうちにローカルのマシンで他の仕事させたいなんてことは、よくあること。そんなときにターミナルで起動できるEmacsを覚えておけば、快適にターミナル上でも書けますよね。Emacsってよくわからない、という理由だけでEmacs使わないというのは、もったいなさすぎな気がします。 ということで、今回はEmacsでRを使うに快適に使うための設定をまとめてみたいと思います。 ちと長いですが、これを読んでもらってEmacsの便利さを分かってもらえる人が増えればいいなーって思います。 まずはESS これがないと始まりません。debian系使ってる人はaptで簡単に導入できるのでサクッと入れておき
deruiの日記 id:deruiによるzshの履歴をインクリメンタルに正規表現検索するzshスクリプト。インクリメンタル検索だの絞り込み検索だのと聞いてすぐに飛び付くのがanything脳のサガというもの。 ナイスアイデア!!キーをおすたびに勝手に絞り込まれていくのがanything.elっぽい。 しかし、キーを押すたびに反応してしまうため重すぎるのが唯一の問題である。重さを解消する方法としては以下が考えられる。 キーを押して0.3秒間応答がなければ検索処理を開始する(anything方式) 前回の検索処理の結果から絞り込む(QuickSilver方式) .zsh_historyを高速に履歴検索する専用プログラムを作成し、パイプとかで通信する(コマンド起動がオーバーヘッドの場合) $ wc ~/.zsh_history 85970 342643 3865720 /m/home/rubik
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く