diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-06-14 12:14:14 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-06-14 14:55:19 +0700 |
commit | 9b0fd719c3f842e12bbe0bb926b8532bfc61d2d1 (patch) | |
tree | 01396a19d0546af845a3d3f65776953b52aff1f5 | |
parent | 975b62bd33f48d61550088123b5a1bb930558efe (diff) | |
download | dotfiles-9b0fd719c3f842e12bbe0bb926b8532bfc61d2d1.tar.gz |
Update 2018-06-14
-rwxr-xr-x | commit.sh | 2 | ||||
-rw-r--r-- | emacs/.emacs.d/init.el | 8 | ||||
-rw-r--r-- | meta/.bashrc | 4 |
3 files changed, 10 insertions, 4 deletions
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 |