diff options
author | JSDurand <mmemmew@gmail.com> | 2021-01-23 00:23:05 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-01-24 00:49:45 +0800 |
commit | 2066e827155ae2893097360024ffd975166a44ef (patch) | |
tree | e15bb118a4a0e622575847c05ef1dcfae30e58ef /init.el | |
parent | 588b6031e152b031be1dee04c7b38938ea7eb706 (diff) |
More custom functions and adjust for custom completion framework
* LICENSE: Add GPLv3.
* basic.el (durand-enlarge-window):
(durand-shrink-window):
(durand-enlarge-window-horizontally):
(durand-shrink-window-horizontally): Now I can easily maximize or
minimize windows.
* comb/orderless-conf.el ("orderless"): Now I try to use my own
completion framework.
* common.el (durand-embark-scroll-down-or-go-to-completions):
(durand-embark-scroll-up-or-go-to-completions):
(durand-completion-scroll-down-or-go-to-minibuffer):
(durand-completion-scroll-up-or-go-to-minibuffer): Move these
functions here since they do not belong to the completion framework in
my opinion.
(register):
(register-val-jump-to): Rewrite this method so that it does not have
to ask me if I want to open a file while jumping.
* completion-conf.el: My intended completion framework, which is still
work in progress.
* init.el ("comb/orderless-conf.el"):
("completion-conf.el"): Adjust things accordingly.
("durand-simple"): My custom functions for viewing and for opening
things.
* modeline.el (modeline-propertize):
(modeline-format-minor-modes):
(modeline-format-major-mode): Now the macro `modeline-propertize'
won't override properties that it does not intend to define. This has
the effect that the properties of the original constructs will go
through and have effect.
(modeline-format-main): Make sure the space has a positive length.
(modeline-format-buffer-name): Make sure the length does not exceed
half the width of the window.
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -129,10 +129,11 @@ If FUNCTION-NAME is already a valid function, this won't do anything." ;; (load-config "comb/comb.el") ;; (load-config "comb/comb-annotation.el") -;;; orderless +;;; Completion framework configurations ;; TODO: Write my own completion styles library -(load-config "comb/orderless-conf.el") +;; (load-config "comb/orderless-conf.el") +(load-config "completion-conf.el") ;;; dired configurations @@ -191,7 +192,8 @@ If FUNCTION-NAME is already a valid function, this won't do anything." (use-package "durand-simple" 'durand-simple (define-key global-map (vector ?\C-\M-\s) #'durand-simple-mark-dwim) - (define-key global-map (vector ?\C-o) #'durand-simple-open-line)) + (define-key global-map (vector ?\C-o) #'durand-simple-open-line) + (define-key global-map (vector ?\C-') #'durand-simple-insert-pair)) ;;; Searches |