This commit is contained in:
Henrik Lissner 2016-04-08 16:15:37 -04:00
parent 18e086d8c0
commit 2ae9b155ad
5 changed files with 48 additions and 37 deletions

2
Cask
View file

@ -180,8 +180,8 @@
(depends-on "php-extras")
;; Python -- modules/module-python.el
(depends-on "anaconda-mode")
(depends-on "nose")
(depends-on "anaconda-mode")
(depends-on "company-anaconda")
;; Ruby -- modules/module-ruby.el

View file

@ -195,6 +195,7 @@
file-name))
;; Make :g[lobal] highlight matches
;; TODO Redo this mess
(defvar narf-buffer-match-global evil-ex-substitute-global "")
(defun narf--ex-buffer-match (flag &optional arg)
(let ((hl-name 'evil-ex-buffer-match))
@ -394,7 +395,7 @@
evil-escape-delay 0.2)
;; evil-escape causes noticable lag in linewise motions in visual mode, so only enable
;; it in insert mode.
;; it in insert mode. (I only need jk for insert mode anyway)
(defun narf|evil-escape-disable () (evil-escape-mode -1))
(add-hook 'evil-insert-state-entry-hook 'evil-escape-mode)
(add-hook 'evil-insert-state-exit-hook 'narf|evil-escape-disable))

View file

@ -7,8 +7,11 @@
;;cursor-in-non-selected-windows nil ; no cursors except in active buffer
highlight-nonselected-windows nil
hl-line-sticky-flag nil ; only highlight in one window
uniquify-buffer-name-style nil ; my mode-line does this for me
visible-bell nil ; silence of the bells
visible-bell nil
visible-cursor nil
x-stretch-cursor t
use-dialog-box nil ; always avoid GUI
redisplay-dont-pause t ; don't pause display on input
indicate-buffer-boundaries t ; show indicators where buffer starts/ends
@ -17,6 +20,11 @@
split-width-threshold nil ; favor horizontal splits
show-help-function nil ; hide :help-echo text
jit-lock-defer-time 0.04
jit-lock-stealth-nice 0.1
jit-lock-stealth-time 0.2
jit-lock-stealth-verbose nil
;; Disable bidirectional text support for slight performance bonus
bidi-display-reordering nil

View file

@ -16,33 +16,35 @@
;;;
(setq-default
idle-update-delay 2 ; update a little less often
ad-redefinition-action 'accept ; silence the advised function warnings
echo-keystrokes 0.02 ; show me what I type
history-length 1000
ring-bell-function 'ignore ; silence of the bells!
save-interprogram-paste-before-kill nil
sentence-end-double-space nil
enable-recursive-minibuffers nil ; no minibufferception
compilation-always-kill t ; kill compilation process before spawning another
compilation-ask-about-save nil ; save all buffers before compiling
compilation-scroll-output t ; scroll with output while compiling
delete-by-moving-to-trash t
echo-keystrokes 0.02 ; show me what I type
ediff-diff-options "-w"
ediff-split-window-function 'split-window-horizontally ; side-by-side diffs
ediff-window-setup-function 'ediff-setup-windows-plain ; no extra frames
enable-recursive-minibuffers nil ; no minibufferception
history-length 1000
idle-update-delay 2 ; update a little less often
inhibit-startup-echo-area-message "hlissner" ; username shuts up emacs
inhibit-startup-screen t ; don't show emacs start screen
initial-scratch-message nil
initial-major-mode 'text-mode ; initial scratch buffer mode
initial-scratch-message nil
major-mode 'text-mode
;; http://ergoemacs.org/emacs/emacs_stop_cursor_enter_prompt.html
minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt)
ring-bell-function 'ignore ; silence of the bells!
save-interprogram-paste-before-kill nil
sentence-end-double-space nil
;; remove annoying ellipsis when printing sexp in message buffer
eval-expression-print-length nil
eval-expression-print-level nil
;; http://ergoemacs.org/emacs/emacs_stop_cursor_enter_prompt.html
minibuffer-prompt-properties
'(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt)
bookmark-save-flag t
bookmark-default-file (concat narf-temp-dir "/bookmarks")