Age | Commit message (Collapse) | Author |
|
* basic.el (project-switch-use-entire-map): This is quite convenient.
|
|
* basic.el (help-map): Bind `find-function-on-key` to 'M-f' in the
help-mode so that I can access this helpful functionality easily.
|
|
* basic.el (Info-directory-list): It seems better to use
`eval-after-load'.
|
|
These are some changes when I migrate to emacs version 29.
|
|
* basic.el (xref-search-program): Use ripgrep for grep. This is
supposed to be faster than the built-in grep on macOS.
|
|
|
|
One day I found that my Emacs had accumulated a bunch of invisible
buffers. So I want to make sure I have a convenient way to clean up
invisible buffers easily, once the need arises.
* basic.el (durand-invisible-buffer-unsafe-regex): A regular
expression that matches some buffers that are not to be killed
automatically.
(durand-clear-invisible-buffers): Kill invisible buffers that are not
important.
(global-map): Bind the function to "C-c k".
|
|
* basic.el (durand-read-buffer-to-switch, #'read-buffer-to-switch):
The default behaviour of read-buffer-to-switch creates a scratch
buffer, if there is no other good buffer to switch to. But this is
not what I demand, and is oft a surprise to me. If there is no
other buffer to switch to, just present me with the current buffer.
The modified version does just this.
|
|
* basic.el (durand-kill-current-buffer): Modify this funcion so that
the associated timers to PDF files are also killed at the time of
deletion.
|
|
* basic.el ("UTF-8"): set-language-environment should be enough to use
the UTF-8 encoding by default. I think I don't need this setting in
fact. But adding this won't make things worse, I suppose.
|
|
* basic.el (durand-delete-goto-parent-dir)
(minibuffer-local-filename-completion-map): The DEL key goes to the
parent directory when the cursor is before a forward slash
representing a directory name. This is bound in the keymap that is
only used when completing file names.
* flymake-conf.el (flymake-mode-map): Bind keys to the s-m prefix.
Also clean up the file.
* init.el (eshell): Start tracking time immediately.
(global-map, prepare-flymake): Prepare loading flymake by a
keybinding.
|
|
* basic.el (input-decode-map, key-translation-map): I was used to
press fn key as the hyper modifier. But after an update of the
operating system, for some reason the fn key activates some
shortcuts combined with some other keys. For example, fn+a
activates the "dock" and fn+n activates a "control center" of
sorts. I use H-a for org-agenda and H-n for reading novels. Both
are frequently used key-bindings. The most unfortunate is that I
cannot find a way to deactivate these shortcuts. So I am forced to
find other key-bindings. It turns out that I didn't use the
capslock for any useful bindings yet, thus I guess this is a perfect
fit.
|
|
|
|
META is more important than CONTROL, since, for example, M-x is most
conveniently input using META-x. With M-x, one can literally input
any command we want, so it is per chance the most important modifier,
after all.
|
|
* basic.el (global-map): Bind to "s-;".
* common.el (durand-copy-line-dwim): This meets my needs to copy or
duplicate lines.
|
|
The separation of Gnus into a tab means I can better handle the mails
and deal with them without interrupting my other activities.
* basic.el (display-buffer-alist): This creates the tab to display
* GNUS.
* gnus-conf.el (durand-display-gnus, gnus): This buries the original
buffer and calls the previous function. And gnus is after-adviced by
this function. This is needed since gnus calls `switch-to-buffer'
instead of `display-buffer' internally.
(durand-gnus-kill-tab): The kill-tab function kills the tab, if it is
present.
(durand-gnus-quit, gnus-group-mode-map): Bury the buffer and kills the
tab. Bind to the original "q" key.
(gnus-exit-gnus-hook): Call the kill-tab function in this hook.
|
|
* basic.el (sentence-end-double-space): I used to erroneously set this
to nil.
|
|
* basic.el (bookmark-fontify): This Emacs-28-specific option is
annoying to me, as it causes an overlay to appear which is not so
easy to dismiss immediately.
|
|
* basic.el (global-map): The old binding "C-c v e" is too
troublesome.
|
|
* basic.el (global-map): The key (vector ?\s-v) was bound to
`durand-focus-completion-or-minibuffer', but I found that I seldom
use that functionality, so I bind it to the more frequently used
`view-mode' instead.
|
|
* basic.el (global-map): "H-q" is a better binding since "C-s-b" takes
too many keystrokes in my opinion.
|
|
* basic.el (global-map): Bind C-s-b to bury-buffer. I found this
function more and more important.
|
|
* basic.el (sentence-end-double-space): Two spaces after the end of
sentences can distinguish between the end of a sentence and words that
end with a period, such as abbreviations. So I prefer to put two
spaces after the end of sentences now.
|
|
|
|
* basic.el (global-map): Bind repeat to s-z.
It is wonderful to be able to repeat a command occasionally.
|
|
Adding some hyper key-bindings.
* basic.el (ns-right-alternate-modifier):
(ns-function-modifier):
(ns-pop-up-frames):
(ns-use-native-fullscreen):
(ns-use-proxy-icon):
(global-map):
* org-conf.el (global-map):
* view-conf.el (durand-view-map):
|
|
It is annoying to press that key-binding by accident, as that will
minimize Emacs.
|
|
* basic.el (global-map): Bind it.
* common.el (yank-complete-rotated-kill-ring): Rotating the kill ring
so that the last kill is at the top.
(yank-complete-history): History variable.
(yank-complete): Use `completing-read' for choosing some text that was
killed before.
|
|
* basic.el (global-map): Bind zap-up-to-char.
* elfeed-conf.el (elfeed-search-mode-map):
(elfeed-search-exit): Bind a key to conveniently exit elfeed.
|
|
* basic.el (bidi-paragraph-direction):
(bidi-inhibit-bpa): Setting the direction of the text to speed
redisplay up.
(global-map): Use bitwise or with (ash 1 23) to have the effect of
super.
* init.el ("rlist"): List all the contents of the registers.
|
|
Now TeX and elfeed are roughly configured.
|
|
A lot of improvements.
|
|
Now I don't have to use a special command to launch Emacs. And the
configuration files are placed in the normal position now.
|
|
* basic.el (eval-expression-print-length):
(eval-expression-print-level): Now echo are will print without limits.
(winner): Enable winner-mode at start up.
(input-decode-map):
(key-translation-map): Translate ESC to make the following key
modified by control.
(bookmark-completing-read):
(durand-bookmark-completing-read): Now it won't ask me for
confirmation about my choices.
* init.el ("durand-chercher-pdf"): Further enhance the convenience of
viewing PDFs.
("embark-conf.el"): Now I don't use embark anymore.
* view-conf.el (durand-view-map): Add my own way of viewing things.
(durand-open-targets): These are the things I can open.
(durand-open-object): Open things quickly.
|
|
* 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.
|
|
In the course of configuring Emacs there are numerous changes to make.
This is one regular step.
|
|
* basic.el (auto-fill-function): Hide auto-fill-function from the mode line.
(auto-revert-mode): Hide auto-revert-mode from the mode line.
* common.el (durand-hide-minor-mode): Use a simple macro to facilitate
hiding.
* elisp.el (eldoc-mode): Use a macro to hide instead.
* eww-conf.el (eww-bookmarks-directory): Start Configuring EWW.
* init.el ("durand-simple"): My simple utilities.
("search-conf.el"): Configuring searching.
* search-conf.el (search-whitespace-regexp): White space as wild cards
(isearch-lax-whitespace): as above
(isearch-lazy-count): Count the matches
(isearch-allow-scroll): Scrolling while searching
(durand-search-replace-symbol): For quick refactoring
* text-conf.el (assq): Hide using the macro instead.
|
|
* basic.el
(recenter-positions): In effect nothing changed.
(prot-pulse-line): Puling the line.
(pulse): Useful built-in library.
(durand-pulse-pulse-line): My own tweak.
(durand-pulse-recenter-top): Recenter and pulse.
* init.el (prepare-in-hook-once): Make it interactive.
(global-map): Add Org-mode bindings.
("durand-chercher-pdf"): Search PDFs quickly.
* modeline.el (modeline-format-left): Remove the vertical bar.
* org-conf.el (org-adapt-indentation)
(org-modules)
(org-hide-emphasis-markers)
(org-hide-macro-markers)
(org-hide-leading-stars): Steal some configurations from Protesilaos.
(global-map)
(org-mode-map): Add Org-mode bindings.
(durand-pulse-pulse-line):
(org-follow-link-hook): Pulse and recenter when following the link.
|
|
* basic.el (set-mark-command-repeat-pop): Repeat poping
* tab-conf.el (durand-switch-tab-dwim): Show the default tab to close
in the prompt.
|
|
This can facilitate killing both the buffer and its window, when there
are multiple windows. It is bound to s-k now, which was bound to
`kill-current-buffer' by default.
|
|
There are more bugs unfortunately.
|
|
Now I got almost every functionality that we need, including pdf,
mu4e, magit, et cetera.
|
|
|
|
|
|
|