From 0c2db260cd41d634b65b473df6e88109faf5806d Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 16 Sep 2012 23:41:03 +0200 Subject: [PATCH 1/5] .config/awesome/rc.lua --- .config/awesome/rc.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index e3d4548..4c5d93c 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -351,12 +351,18 @@ globalkeys = awful.util.table.join( sub({ }, "e", function () oni.run_or_raise("emacsclient -c -a emacs", { class = "Emacs" }) end), + sub({ "Shift", }, "e", + function () awful.util.spawn("emacsclient -c -a emacs") end), sub({ }, "c", function () oni.run_or_raise("urxvt", { class = "URxvt" }) end), + sub({ "Shift", }, "c", + function () awful.util.spawn("urxvt") end), sub({ }, "w", function () oni.run_or_raise("conkeror", - { class = "Conkeror" }) end) }), + { class = "Conkeror" }) end), + sub({ "Shift", }, "w", + function () awful.util.spawn("conkeror") end) }), awful.key({ "Control", "Mod1" }, "l", function () awful.util.spawn("i3lock -c 000000") end), awful.key({ modkey, }, "Left", awful.tag.viewprev ), From 53843e560e5e65925fd3dfbdcd762f5d2e4c820f Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 16 Sep 2012 23:41:22 +0200 Subject: [PATCH 2/5] .emacs.d/init.el --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index be1626e..3bf03f1 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1000,6 +1000,7 @@ for easy selection." (add-hook 'hs-minor-mode-hook 'oni:hs-minor-mode-func) (add-hook 'html-mode-hook 'oni:html-mode-func) (add-hook 'jabber-chat-mode-hook 'oni:jabber-chat-mode-func) +(add-hook 'jabber-roster-mode-hook 'oni:jabber-roster-mode-func) (add-hook 'java-mode-hook 'oni:java-mode-func) (add-hook 'js-mode-hook 'oni:js-mode-func) (add-hook 'js2-mode-hook 'oni:js2-mode-func) From 74c83e68d110c75d86e0bc9069a911e6a640704a Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 17 Sep 2012 02:03:41 +0200 Subject: [PATCH 3/5] .emacs.d/init.el --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 3bf03f1..04d19aa 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -825,7 +825,7 @@ for easy selection." (vertical-scroll-bars . nil) (menu-bar-lines . nil) (tool-bar-lines . nil) - (font . "osaka_unicode:pixelsize=18") + (font . "Monaco:pixelsize=16") (left-fringe . 0))) (setq emms-source-file-default-directory "/mnt/music/") (setq erc-autojoin-channels-alist From 68a6bbf6e39af00519ec32503bfeba46e5712475 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 17 Sep 2012 09:53:59 +0200 Subject: [PATCH 4/5] .emacs.d/init.el --- .emacs.d/init.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 04d19aa..d56dc5f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -21,8 +21,6 @@ '("/usr/share/emacs/site-lisp" "~/.emacs.d/site-lisp")) (add-to-list 'load-path "~/.emacs.d/")) -(require 'auto-complete-config) - (autoload 'define-slime-contrib "slime") (autoload 'gtags-mode "gtags" nil t) (autoload 'identica-mode "identica-mode" nil t) @@ -807,7 +805,6 @@ for easy selection." (setq-default tab-width 4) (setq-default truncate-lines t) -(setq ac-use-quick-help nil) (setq appt-display-diary nil) (setq auto-mode-case-fold nil) (setq auto-save-file-name-transforms @@ -829,8 +826,7 @@ for easy selection." (left-fringe . 0))) (setq emms-source-file-default-directory "/mnt/music/") (setq erc-autojoin-channels-alist - '(("freenode.net" "#herbstluftwm" "#ninthfloor" "#emacs" - "#dispass"))) + '(("freenode.net" "#ninthfloor" "#emacs" "#dispass"))) (setq erc-hide-list '("JOIN" "PART" "QUIT")) (setq erc-insert-timestamp-function 'erc-insert-timestamp-left) (setq erc-nick "ryuslash") @@ -1096,7 +1092,6 @@ for easy selection." (smex-initialize) (help-at-pt-set-timer) -(ac-config-default) (load-theme 'naquadah t) From d6c8f4f979448576ff2041bda13b963999e03626 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 17 Sep 2012 20:01:41 +0200 Subject: [PATCH 5/5] .emacs.d/init.el --- .emacs.d/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d56dc5f..ee94c39 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -561,7 +561,7 @@ use. If MODE is not nil, open a new buffer with the name (when (fboundp mode-sym) (funcall mode-sym)))) - (switch-to-buffer buffer))) + (select-window (display-buffer buffer)))) (defun oni:reload-buffer () "Reload current buffer." @@ -1067,6 +1067,9 @@ for easy selection." (add-to-list 'debug-ignored-errors "^Can't shift all lines enough") +(add-to-list 'display-buffer-alist + '("^\\*.*\\*$" . ((bw-display-in-bottom-window . nil)))) + (unless (oni:required-packages-installed-p) (message "%s" "Refreshing package database...") (package-refresh-contents)