From 35cdffe3f458b52e113f515632c69a259959c99a Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Wed, 13 May 2020 08:24:59 -0400 Subject: [PATCH] Emacs work? --- emacs/init.el | 11 +++++++++-- zsh/zshrc | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index 2d32ecc..3724109 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -2,14 +2,16 @@ (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) - +(package-refresh-contents) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages (quote (evil-magit evil magit)))) + '(package-selected-packages + (quote + (auto-complete-distel ## auto-complete evil-magit evil magit)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -17,7 +19,12 @@ ;; If there is more than one, they won't work right. ) +(require 'auto-complete) +(global-auto-complete-mode t) + (require 'evil) +(define-key evil-normal-state-map (kbd "C-k") 'evil-scroll-up) +(define-key evil-normal-state-map (kbd "C-j") 'evil-scroll-down) (evil-mode 1) (require 'fringe) diff --git a/zsh/zshrc b/zsh/zshrc index 94789cf..9bda946 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -48,6 +48,7 @@ else fi alias exa="exa -l --git" +alias edit='emacs' function dt() { local session_name