emacsのC-sをhelm-swoopで置き換える
最近emacsの検索のキーバインドであるC-s
をhelm-swoopに置き換えてみている.
helm-swoopに関する説明はこちらが詳しい
C-s
のたびにバッファがかちゃかちゃしてうるさい気もするけど、使いこなせれば作業効率が上がりそうな気がする.
僕が使っている設定は以下のような感じ.
(global-set-key (kbd "C-s") 'helm-swoop) (define-key helm-swoop-map (kbd "C-r") 'helm-previous-line) (define-key helm-swoop-map (kbd "C-s") 'helm-next-line) (define-key helm-multi-swoop-map (kbd "C-r") 'helm-previous-line) (define-key helm-multi-swoop-map (kbd "C-s") 'helm-next-line) ;; Disable pre-input for helm-swoop (setq helm-swoop-pre-input-function (lambda () nil))