From 3b37b65fc9c2d40b09c71e85c165b4c589160eb0 Mon Sep 17 00:00:00 2001 From: David Florness Date: Sat, 12 Nov 2016 01:37:09 -0600 Subject: [PATCH] Initial push --- .gitignore | 47 ++++++++++++++++++++++++++++++++++++++++++++++ init.el | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 .gitignore create mode 100644 init.el diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5f49a1e --- /dev/null +++ b/.gitignore @@ -0,0 +1,47 @@ +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +ido.last \ No newline at end of file diff --git a/init.el b/init.el new file mode 100644 index 0000000..07f9c74 --- /dev/null +++ b/init.el @@ -0,0 +1,55 @@ + +;;; Thanks to Mohammed Ismail Ansari for the YouTube tutorial +;;; https://www.youtube.com/watch?v=FRu8SRWuUko + +;;; edwargix's emacs config! + +;;; Change theme +(load-theme 'adwaita) + +;;; Change xfce/gnome window title +(setq frame-title-format "emacs") + +;;; Enable menu bar +(menu-bar-mode 1) + +;;; Disable scroll bar +(scroll-bar-mode -1) + +;;; Set cursor type +(set-default 'cursor-type 't) + +;;; Simple smex +(ido-mode) + +;;; Show column number next to line number in mode line +(column-number-mode) + +;;; Highlight parentheses +(show-paren-mode) + +;;; (global-hl-line-mode) + +;;; Winner mode: allows for undoing and redoing of windoow configurations +;;; C-c : undo +;;; C-c : undo undo (aka redo) +(winner-mode t) + +;;; Allow easily switching windows with Shift-{left,right,up.down} +(windmove-default-keybindings) + +;;; Include package +(require 'package) + +;;; Add melpa archives +(add-to-list 'package-archives + '("melpa" . "https://melpa.org/packages/") + t) + +;;; Add marmalade archives +(add-to-list 'package-archives + '("marmalade" . "http://marmalade-repo.org/packages/") + t) + +;;; Load and activate lisp packages +(package-initialize) -- 2.38.4