Modular init.el - helm config

This commit is contained in:
Kashish Sharma 2015-11-25 02:39:32 +05:30
parent 7729f5d1a0
commit 7758640d85
2 changed files with 19 additions and 19 deletions

18
contrapunctus/cp-helm.el Normal file
View File

@ -0,0 +1,18 @@
(require 'helm-config)
(require 'helm-grep)
(global-set-key (kbd "C-x C-l") 'helm-mini)
(global-set-key (kbd "C-c h") 'helm-mode)
(define-key helm-map (kbd "C-h") 'backward-delete-char)
(define-key helm-map (kbd "C-w") 'backward-kill-word)
(global-set-key (kbd "M-x") 'helm-M-x)
(global-set-key (kbd "<menu>") 'helm-M-x)
;(helm-mode 1)
(global-set-key (kbd "C-c C-h") 'helm-command-prefix)
(global-set-key (kbd "C-x cl") 'count-lines-page)
(global-set-key (kbd "C-x cf") 'make-frame)
;; stop making helm tab-complete in ERC
(setq helm-mode-no-completion-in-region-in-modes 'erc-mode)
(add-to-list 'helm-mode-no-completion-in-region-in-modes 'erc-mode)
(setq helm-mode-handle-completion-in-region 'nil)

20
init.el
View File

@ -363,25 +363,7 @@
(global-relative-line-numbers-mode 1)
(require 'helm-config)
(require 'helm-grep)
(global-set-key (kbd "C-x C-l") 'helm-mini)
(global-set-key (kbd "C-c h") 'helm-mode)
(define-key helm-map (kbd "C-h") 'backward-delete-char)
(define-key helm-map (kbd "C-w") 'backward-kill-word)
(global-set-key (kbd "M-x") 'helm-M-x)
(global-set-key (kbd "<menu>") 'helm-M-x)
;(helm-mode 1)
(global-set-key (kbd "C-c C-h") 'helm-command-prefix)
(global-set-key (kbd "C-x cl") 'count-lines-page)
(global-set-key (kbd "C-x cf") 'make-frame)
;; stop making helm tab-complete in ERC
(setq helm-mode-no-completion-in-region-in-modes 'erc-mode)
(add-to-list 'helm-mode-no-completion-in-region-in-modes 'erc-mode)
(setq helm-mode-handle-completion-in-region 'nil)
(load "cp-helm")
(load "cp-god")