From 9b0fd719c3f842e12bbe0bb926b8532bfc61d2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Thu, 14 Jun 2018 12:14:14 +0700 Subject: [PATCH] Update 2018-06-14 --- commit.sh | 2 ++ emacs/.emacs.d/init.el | 8 ++++++-- meta/.bashrc | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100755 commit.sh diff --git a/commit.sh b/commit.sh new file mode 100755 index 0000000..80cec13 --- /dev/null +++ b/commit.sh @@ -0,0 +1,2 @@ +#!/bin/sh +git commit -am "Update $(date -I)" diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index bb625aa..cf6169d 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -3,8 +3,6 @@ ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. (package-initialize) -(require 'geiser) -(setq-default geiser-repl-use-other-window nil) (pdf-tools-install) (custom-set-variables @@ -35,9 +33,15 @@ :width normal)))) '(whitespace-space ((t (:foreground "gray"))))) +(cua-mode) (setq-default inhibit-splash-screen t) (setq-default fill-column 80) (add-hook 'prog-mode-hook 'ruler-mode) +(add-hook 'scheme-mode-hook + (lambda () + (require 'geiser) + (setq-default geiser-repl-use-other-window nil) + (setq-default geiser-repl-query-on-kill-p nil))) (add-hook 'python-mode-hook (lambda () (setq fill-column 79) diff --git a/meta/.bashrc b/meta/.bashrc index f159b4c..c0bbaed 100644 --- a/meta/.bashrc +++ b/meta/.bashrc @@ -115,8 +115,8 @@ if ! shopt -oq posix; then fi fi -# vi mode input -set -o vi +# emacs mode input +set -o emacs export EDITOR=vim export PAGER=less