.emacs.d/site-lisp/oni.el
This commit is contained in:
parent
c99d57dbf3
commit
07be108b4e
1 changed files with 7 additions and 0 deletions
|
@ -273,6 +273,13 @@ If COUNT has been specified indent by that much, otherwise look at
|
||||||
(kill-region (region-beginning) (region-end))
|
(kill-region (region-beginning) (region-end))
|
||||||
(kill-line)))
|
(kill-line)))
|
||||||
|
|
||||||
|
(defun oni:load-hippie-exp (other)
|
||||||
|
"Make sure both hippie-expand and yasnippet are loaded in order
|
||||||
|
to add yasnippet's expand function to hippie-expand."
|
||||||
|
(require other)
|
||||||
|
(add-to-list 'hippie-expand-try-functions-list
|
||||||
|
'yas/hippie-try-expand))
|
||||||
|
|
||||||
(defun oni:lua-mode-func()
|
(defun oni:lua-mode-func()
|
||||||
"Function for `lua-mode-hook'."
|
"Function for `lua-mode-hook'."
|
||||||
(local-unset-key (kbd ")"))
|
(local-unset-key (kbd ")"))
|
||||||
|
|
Loading…
Reference in a new issue