From adb14642439b5cf0fcff52a8bba475c61c70cff9 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sun, 7 Jul 2019 00:23:58 -0500 Subject: [PATCH] Added helm keys and mode-line bell (for my sanity) --- custom.el | 4 +++- settings.org | 19 +++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/custom.el b/custom.el index dfd6036..73e643f 100644 --- a/custom.el +++ b/custom.el @@ -7,9 +7,11 @@ (quote ("274fa62b00d732d093fc3f120aca1b31a6bb484492f31081c1814a858e25c72e" default))) '(elpy-eldoc-show-current-function nil) + '(mode-line-bell-flash-time 0.0796875) + '(mode-line-bell-mode t) '(package-selected-packages (quote - (helm htmlize cython-mode blacken dired-narrow lua-mode browse-kill-ring clipmon free-keys org-link-minor-mode js2-mode js2-refactor xref-js2 python-django visual-regexp-steroids pcre2el vimrc-mode iedit transient magit dracula-theme flycheck elpy ein better-defaults ssh-config-mode yaml-mode apache-mode web-mode undo-tree)))) + (mode-line-bell helm htmlize cython-mode blacken dired-narrow lua-mode browse-kill-ring clipmon free-keys org-link-minor-mode js2-mode js2-refactor xref-js2 python-django visual-regexp-steroids pcre2el vimrc-mode iedit transient magit dracula-theme flycheck elpy ein better-defaults ssh-config-mode yaml-mode apache-mode web-mode undo-tree)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/settings.org b/settings.org index dd70a32..b6f3915 100644 --- a/settings.org +++ b/settings.org @@ -58,13 +58,20 @@ #+begin_src emacs-lisp (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell) #+end_src +*** helm +#+BEGIN_SRC emacs-lisp +(global-set-key (kbd "M-x") #'helm-M-x) +(global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) +(global-set-key (kbd "C-x C-f") #'helm-find-files) +(helm-mode 1) +#+END_SRC ** options *** global -**** recent files +**** recent +files #+begin_src emacs-lisp (require 'recentf) (recentf-mode 1) -(global-set-key (kbd "C-") 'recentf-open-files) #+end_src **** backup #+begin_src emacs-lisp @@ -97,10 +104,10 @@ #+begin_src emacs-lisp (load-theme 'dracula t) #+end_src -**** line numbers globally -#+begin_src emacs-lisp -(global-linum-mode t) -#+end_src +**** bell +#+BEGIN_SRC emacs-lisp +(mode-line-bell-mode) +#+END_SRC *** dired #+begin_src emacs-lisp (setq ls-lisp-use-insert-directory-program t)