summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-11-27 11:12:59 +0100
committerGravatar Tom Willemsen2012-11-27 11:12:59 +0100
commit92eba9c8697c65fa3912b0379322e3370ecfb678 (patch)
tree975677f1572484f4664b2ca04954e064d5aa04d2
parent19524caf26e674c7d24180edf5b2d45515148f1a (diff)
downloaddotfiles-92eba9c8697c65fa3912b0379322e3370ecfb678.tar.gz
dotfiles-92eba9c8697c65fa3912b0379322e3370ecfb678.zip
.emacs.d/site-lisp/oni.el
-rw-r--r--.emacs.d/site-lisp/oni.el10
1 files changed, 8 insertions, 2 deletions
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:"