diff --git a/emacs/.emacs b/emacs/.emacs index 6f9a46a..df0de58 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -1,6 +1,11 @@ (package-initialize) (require 'package) +;; Nope function +(defun nope () + (interactive) + (message "Nope!")) + ;; Quote (setq initial-scratch-message ";; Simplicity and elegance are unpopular because\n;; they require hard work and discipline to achieve\n;; and education to be appreciated.\n;;\n;; - Dijkstra\n\n") @@ -35,7 +40,7 @@ '(menu-bar-mode nil) '(package-selected-packages (quote - (swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil))) + (shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil))) '(scroll-bar-mode nil) '(shell-pop-shell-type (quote @@ -119,6 +124,7 @@ (use-package org :ensure t) + ;; Evil-mode (use-package evil :ensure t @@ -127,7 +133,11 @@ (evil-mode 1) (setq evil-ex-substitute-global t) (define-key evil-normal-state-map "/" 'swiper) - (setq-default evil-cross-lines t)) + (setq-default evil-cross-lines t) + (define-key evil-insert-state-map (kbd "") 'nope) + (define-key evil-insert-state-map (kbd "") 'nope) + (define-key evil-insert-state-map (kbd "") 'nope) + (define-key evil-insert-state-map (kbd "") 'nope)) ;; Auto-Complete (use-package auto-complete