2014年12月20日土曜日

C#モードの中括弧の自動展開

うっとうしかったから消した
(defun csharp-insert-open-brace ()
  "Intelligently insert a pair of curly braces. This fn should be
bound to the open-curly brace, with

    (local-set-key (kbd \"{\") 'csharp-insert-open-brace)

{にcsharp-insert-open-braceがバインドされてるという仕組みらしい。
ので、バインドを外した
    (local-set-key (kbd "/") 'csharp-maybe-insert-codedoc)
;;    (local-set-key (kbd "{") 'csharp-insert-open-brace)


0 件のコメント:

コメントを投稿