From 03f8973d2c839dad617868338fe918ffc3f34ecb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 27 Mar 2015 14:09:49 +0000 Subject: Zsh: Fix arrows in Xfce Terminal --- tag-zsh/config/zsh/zshrc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 4e5f1e3..fbb2cce 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -177,10 +177,6 @@ unsetopt beep ############ # Keybinds # ############ -#KiTTY -bindkey "OD" backward-word -bindkey "OC" forward-word - #General bindkey "[1~" beginning-of-line bindkey "[4~" end-of-line -- cgit 1.4.1 From fcc0e0ed5dfe88cb84a5c56d786a062f64b1d78f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 27 Mar 2015 14:10:19 +0000 Subject: Emacs: Check before loading oracle-mode --- tag-emacs/emacs.d/init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 39f7b53..355e6a0 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -879,10 +879,11 @@ mouse-1: Display Line and Column Mode Menu")))))) (req-package go-mode :mode (("\\.go\\'" . go-mode))) -(req-package oracle - :load-path ,(expand-file-name "src/code.google.com/p/go.tools/cmd/oracle/oracle.el" (getenv "GOPATH")) - :init (progn - (add-hook 'go-mode-hook #'go-oracle-mode))) +(when (file-exists-p "src/code.google.com/p/go.tools/cmd/oracle/oracle.el") + (req-package oracle + :load-path ,(expand-file-name "src/code.google.com/p/go.tools/cmd/oracle/oracle.el" (getenv "GOPATH")) + :init (progn + (add-hook 'go-mode-hook #'go-oracle-mode)))) (req-package company-go :require go-mode -- cgit 1.4.1 From 05c7485315107a70e4d7ad333f66954d08c5ceb8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 27 Mar 2015 14:10:34 +0000 Subject: Emacs: Autoload global-smart-tab-mode --- tag-emacs/emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 355e6a0..37b110e 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -228,6 +228,7 @@ completion-ignore-case t) (req-package smart-tab + :commands (global-smart-tab-mode) :init (global-smart-tab-mode) :config (progn (nconc smart-tab-completion-functions-alist '((php-mode . php-complete-function))) -- cgit 1.4.1 From 4b46b6cf7c314f724c6d2e77d3fa492e14da428c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 27 Mar 2015 14:11:00 +0000 Subject: Emacs: Fix eshell init --- tag-emacs/emacs.d/init.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 37b110e..6258178 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1033,11 +1033,11 @@ mouse-1: Display Line and Column Mode Menu")))))) (add-hook 'eshell-load-hook (lambda () (bind-key "C-c C-l" #'helm-eshell-history eshell-mode-map))) (req-package em-smart - :init (progn - (setq eshell-where-to-jump 'begin - eshell-review-quick-commands nil - eshell-smart-space-goes-to-end t) - (eshell-smart-initialize))))) + :config (progn + (setq eshell-where-to-jump 'begin + eshell-review-quick-commands nil + eshell-smart-space-goes-to-end t) + (eshell-smart-initialize))))) (autoload #'eshell/cd "em-dirs") (defun eshell-goto-current-dir (&optional arg) -- cgit 1.4.1 From f8025d37533262930738d89121fe8bc34f75eb8d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 27 Mar 2015 14:11:43 +0000 Subject: Emacs: Remove unneeded diminish line --- tag-emacs/emacs.d/init.el | 1 - 1 file changed, 1 deletion(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 6258178..10de52e 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -429,7 +429,6 @@ (req-package ws-butler :if window-system - :diminish highlight-changes-mode :config (ws-butler-global-mode 1)) (if (daemonp) (add-hook #'before-make-frame-hook (lambda () (ws-butler-global-mode 1)))) -- cgit 1.4.1 From 477ee903f470f7538e4ab3ffbff73ed31c24a1b5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 28 Mar 2015 10:00:08 +0000 Subject: Zsh: Remove fasd autoload --- tag-zsh/config/zsh/zshrc | 1 - 1 file changed, 1 deletion(-) diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index fbb2cce..3e4c7e8 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -372,7 +372,6 @@ else fi _FASD_DATA="$HOME/.cache/zsh/fasd-data" -autoload -U fasd if [[ -e ~/.config/zsh/fasd.zsh ]] then source ~/.config/zsh/fasd.zsh -- cgit 1.4.1