summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-18eww-retrieve-command can be fasterJSDurand
* eww-conf.el : It is faster to download pages using wget. But emacs-28 is still unusable for me at this moment.
2021-04-18Repeat is wonderfulJSDurand
* basic.el (global-map): Bind repeat to s-z. It is wonderful to be able to repeat a command occasionally.
2021-04-11Scroll to left and rightJSDurand
This comes in handy when one enlarges the PDF image. * pdf.el (pdf-view-mode-map):
2021-04-11Hyper experimentJSDurand
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):
2021-04-03Moving by paragraphs.JSDurand
* view-conf.el (durand-scroll-next-paragraph): (durand-scroll-prev-paragraph): These functions were born while I wrote my little novel-reading package. And I grew used to this convenient functionality, so I want to add that here. (durand-focus-map): Bind in the focus map.
2021-04-03Fix Info directory having wrong value at startupJSDurand
* bongo.el: I used to set Info-directory-list to the directory of bongo at startup. This causes Info to not initialize that variable, and as a consequence, the Info will not be started correctly, before I fix the value of that variable. Now this problem is fixed.
2021-03-26Bind novel and require autoinsert.JSDurand
Two small edits: * skeleton-conf.el (autoinsert): Make this useful function available * by default. * view-conf.el (durand-view-map): Bind novel to a key.
2021-03-26Require clock and elementJSDurand
In order to avoid some errors while loading Org-mode.
2021-03-26Poor man's live update of completion candidatesJSDurand
* completion-conf.el (minibuffer-local-completion-map): (durand-completion-display-after-change): (durand-completion-toggle-display): This will toggle between live updating and not live updating.
2021-03-18Don't hide emphasis markersJSDurand
2021-03-16Byte-compiling two functionsJSDurand
* common.el (durand-display-in-one-window): (durand-completion-scroll-up-or-go-to-minibuffer): (intentionally-disabled-bind): Byte-compiling these functions.
2021-03-15Stylistic changesJSDurand
* tex-conf.el ("/usr/local/share/emacs/site-lisp/auctex/tex.el"): ("/usr/local/share/emacs/site-lisp/auctex/latex.el"): Load the files explicitly.
2021-03-15Add an option to override the dashboard buffer.JSDurand
Sometimes the dashboard is renderred weirdly, so I want to have a convenient way to reset the dashboard buffer.
2021-03-08Modify the template for LaTeXJSDurand
* skeleton-conf.el (insert-tex): The format of the dates should use "en-dashes" instead of "hyphens".
2021-03-08More settings with LaTeXJSDurand
* tex-conf.el (TeX-after-compilation-finished-functions): Revert the PDF after compilation. (pdf-sync-forward-display-action): (pdf-sync-backward-display-action): Display the PDF in the same window. (TeX-source-correlate-start-server): Start syncronization between the TeX buffer and the PDF buffer. (font-latex-fontify-sectioning): Make sections bigger. (LaTeX-mode-hook): Add my own preparation function. (open-paren): Insert a pair of parentheses and put the cursor in between. (open-curly): Insert a pair of curly braces and put the cursor in between. (open-bracket): Insert a pair of square brackets and put the cursor in between. (durand-delete-pair): When the character before point is an open bracket, delete the corresponding closing bracket as well. (end-exit-paren): When the character after point is a closing bracket, exit out of it instead of inserting a closing bracket. (open-back-paren): If the character before point is a closing bracket, go back one character into the brackets. (parens-require-spaces): Don't require spaces around parentheses. (durand-prepare-latex): Treat the escape character as a symbol, turn on auto-fill, and don't require spaces around parentheses. (durand-latex-delete-newline): Delete a newline before point, if any. (LaTeX-section-hook): Delete the newline between the section and the label, so that chktex doesn't complain about that space.
2021-03-06Disable C-zJSDurand
It is annoying to press that key-binding by accident, as that will minimize Emacs.
2021-03-06Encryption configurations and aliasesJSDurand
* gnus-conf.el (mml-secure-openpgp-encrypt-to-self): So that I can see my own encrypted mails. (gnus-buttonized-mime-types): To see signature verification results. (mm-decrypt-option): Automatic decryption. (mm-verify-option): Automatic verification. (message-mail-alias-type): Use abbreviations for message headers.
2021-03-06Use searx as the default search engine.JSDurand
This seems to be both faster and to produce more results.
2021-03-06Update the dashboard image.JSDurand
* dashboard.el (dashboard): Use a new image of a cute cat.
2021-03-03Use duckduckgo lite.JSDurand
This is supposed to be faster.
2021-03-03TeX, skeleton, and eww.JSDurand
Configure TeX and add some skeletons, and bind a key to eww.
2021-03-03Don't store bookmark when capturing.JSDurand
2021-03-03Add org-journal.JSDurand
* org-journal-conf.el: ("org-journal"): This might be an ideal way of recording diaries which is integrated with Emacs. (org-journal-dir): Directory. (org-journal-file-type): Use a monthly journal.
2021-03-03Adjust summary line format.JSDurand
* gnus-conf.el (gnus-summary-line-format): Don't show line numbers, and highlight some parts of the summary line when the mouse is over it.
2021-03-03Add some feeds and a filter for downloading.JSDurand
* elfeed-conf.el (elfeed-feeds): More feeds. (durand-eshell-download-filter): Replace the previous string before inserting new strings. (durand-elfeed-download-video): Reminds of the start of the download, and uses the filter.
2021-03-03Completion for yankJSDurand
* 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.
2021-03-03Add two abbrevsJSDurand
* abbrev_defs: dk => define-key and df => defun
2021-03-01Refine durand-view-processJSDurand
The function list-processes is really useful.
2021-03-01Add the first skeletonJSDurand
* init.el (prepare-skeletons): Lazy load this. * skeleton-conf.el (skeleton-conf): (insert-define-key): This is only a primitive skeleton. I will add more in the future.
2021-03-01Refine the focus commandJSDurand
2021-02-28Bind durand-mu4e and lazy load eww.JSDurand
* init.el (global-map): Bind durand-mu4e. (eww): ("eww-conf.el"): Lazy load eww.
2021-02-28(search-conf.el) fix the function to replace symbol at pointJSDurand
* search-conf.el (durand-search-replace-symbol): Now this will also account for the symbol at point, while previously that will be skipped.
2021-02-27Further adjustments to eshell and elfeed.JSDurand
* elfeed-conf.el (durand-eshell-download-sentinel): (durand-elfeed-download-video): (elfeed-search-mode-map): (elfeed-show-mode-map): Add the ability to conveniently download videos. * eshell-conf.el (eshell/mark): Quote the shell argument properly.
2021-02-26Eshell and elfeed improvementsJSDurand
* elfeed-conf.el (elfeed-feeds): Add some more feeds. * eshell-conf.el (eshell-j): (eshell-mark-directory): Use a dedicated variable for better maintainability. (eshell/mark): Conveniently add marks. (eshell/marks): List the marks.
2021-02-26Bind zap-up-to-char and a key to conveniently exit elfeed.JSDurand
* 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.
2021-02-25bidi, super, and rlist-verbose.JSDurand
* 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.
2021-02-24QoL changes and fix rime sending messageJSDurand
* elfeed-conf.el (elfeed-feeds): Apply more tags automatically. * init.el (prepare-rime, global-map): Load rime automatically. * rime-conf.el ("emacs-rime"): Don't send a message when sending special letters to rime.
2021-02-22Focus and elfeed bindingJSDurand
Bind elfeed in global-map. Combine some convenient features to a function that focuses the text.
2021-02-22More configurationsJSDurand
Now TeX and elfeed are roughly configured.
2021-02-11Change some font-lock behaviours.JSDurand
* elisp.el (emacs-lisp-mode): (emacs-lisp-highlight-vars-and-faces): Change some highlighting.
2021-02-08Constantly growingJSDurand
A lot of improvements.
2021-01-29Change the directory to .emacs.d now.JSDurand
Now I don't have to use a special command to launch Emacs. And the configuration files are placed in the normal position now.
2021-01-27Further configurationsJSDurand
* 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.
2021-01-24Adding transposing frame capabilityJSDurand
* init.el ("transpose-frame"): Use the package.
2021-01-24More custom functions and adjust for custom completion frameworkJSDurand
* 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.
2021-01-22Regular updatesJSDurand
In the course of configuring Emacs there are numerous changes to make. This is one regular step.
2021-01-20More QoL changesJSDurand
* 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.
2021-01-19QoL changes.JSDurand
* bongo.el: Use header-line now. Try to improve the tick. * dired-conf.el: Require dired-x. * elisp.el: Hide Eldoc on the mode line. * text-conf.el (assq): Hide auto-fill-mode on the mode line. * modeline.el (modeline-format-left): Display minor modes information. (modeline-minor-modes-name-len-max): Max length of displayed minor modes. (modeline-format-minor-modes): Display minor modes information. (durand-mouse-minor-mode-menu): Make the default minor mode menu work with my custom mode line. * rime-conf.el ("emacs-rime"): Bind a key to set the input method to rime in the minibuffer, so that I can use this input method to search the buffer, for example.
2021-01-17Tweak more things.JSDurand
* 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.
2021-01-16Some QoL changesJSDurand
* 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.