From 92eba9c8697c65fa3912b0379322e3370ecfb678 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 27 Nov 2012 11:12:59 +0100 Subject: .emacs.d/site-lisp/oni.el --- .emacs.d/site-lisp/oni.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.emacs.d/site-lisp') diff --git a/.emacs.d/site-lisp/oni.el b/.emacs.d/site-lisp/oni.el index 286f19b..f35249d 100644 --- a/.emacs.d/site-lisp/oni.el +++ b/.emacs.d/site-lisp/oni.el @@ -228,7 +228,8 @@ If COUNT has been specified indent by that much, otherwise look at (visual-line-mode) (setq mode-line-format (append (cddr jabber-chat-header-line-format) '(global-mode-string)) - header-line-format nil)) + header-line-format nil + wrap-prefix (make-string 8 ?\ ))) (defun oni:jabber-roster-mode-func () "Function for `jabber-roster-mode-hook'." @@ -278,7 +279,7 @@ If COUNT has been specified indent by that much, otherwise look at to add yasnippet's expand function to hippie-expand." (require other) (add-to-list 'hippie-expand-try-functions-list - 'yas/hippie-try-expand)) + 'yas/hippie-try-expand t)) (defun oni:lua-mode-func() "Function for `lua-mode-hook'." @@ -609,6 +610,11 @@ for easy selection." "Function for `write-file-hooks'." (time-stamp)) +(defun oni:yas-minor-mode-func () + "Function for `yas-minor-mode-hook'." + (define-key yas-minor-mode-map (kbd "TAB") nil) + (define-key yas-minor-mode-map [(tab)] nil)) + (define-skeleton html-tag "Testing creation of an html tag" "Tagname:" -- cgit v1.2.3-54-g00ecf