c4se記:さっちゃんですよ☆

.。oO(さっちゃんですよヾ(〃l _ l)ノ゙☆)

.。oO(此のblogは、主に音樂考察Programming に分類されますよ。ヾ(〃l _ l)ノ゙♬♪♡)

音樂は SoundCloud に公開中です。

考察は現在は主に Scrapbox で公表中です。

Programming は GitHub で開發中です。

Evil on Emacs で括弧を區切りとして comment out/in する

普通に comment out/in する command である M-; でよい。macOS であれば Meta key は Option key に割り當てる事が多い。

(defn f
  []
  (x))

(x) を comment out したいとしよう。(x) のどこかに cursor を置き va((x) を選擇する。M-; で comment out 出來る。

(defn f
  []
  ;; (x)
  )

;; (x) の行を Shift-v で選擇し M-; で comment out 出來る。Emacs (Evil) の標準機能である。行單位で削除したり comment out すると括弧の對應が崩れるので、括弧を選擇して comment out する。括弧の色々な編緝は smartparens で行ってゐる。

github.com