summaryrefslogtreecommitdiff
path: root/view-conf.el
AgeCommit message (Collapse)Author
2024-02-22view: Update documentation of durand-view-timers-or-tempsJSDurand
* view-conf.el (durand-view-timers-or-temps): The function was updated without updating its documentation. Now the documentation is updated as well.
2024-02-22view: minor refactoringJSDurand
2023-06-03view: Bind 'J' to `jump-to-register`JSDurand
It is quite convenient.
2023-02-21view: repeat, lower-case open target, and conversion.JSDurand
* view-conf.el (durand-view-timers-or-temps): Make it repeating. (durand-open-targets): Use lower-case names so that the completion works better. (durand-convert-youtube-video-to-url): Return the converted YouTube address.
2023-01-03ibuffer and view: bind imenu and add filtersJSDurand
* ibuffer.el (durand-bongo-set-filter): Add filters for Eshell and Org buffers. * view-conf.el (durand-view-map): Bind imenu to "i" in the view-map.
2022-11-06view: require auth-source automaticallyJSDurand
* view-conf.el (durand-view-timers-or-temps): This fixes an error encountered when I call this function before auth-source is loaded.
2022-06-26csharp and v in view-mode-mapJSDurand
* csharp.el: ("csharp-mode"): Syntax-highlighting for C-sharp files. * view-conf.el: Bind 'v' to `View-scroll-page-forward' in `view-mode-map'.
2022-02-18view: add a binding to `durand-open-object'JSDurand
Eglot-mode binds C-c o for some reason (I thought bindings like C-c X, where X is a letter are reserved for the users). Instead of asking the authors of eglot why they did that or fighting eglot by re-binding, I am too lazy and just add a new binding to my own function.
2022-01-10view-conf: fix the function to convert youtube video to URL.JSDurand
This change is necessary as yt-dlp uses a different format for the output files than youtube-dl.
2021-12-06view-conf: fix cursor when moving paragraphs.JSDurand
* view-conf.el (durand-scroll-next-paragraph): Fix cursor when moving paragraphs, so that the cursor stays at the top of the window.
2021-11-06add NTU cool bookmarkJSDurand
* bookmark-conf.el: add a bookmark to open NTU cool. * view-conf.el (durand-open-targets): Add a link to an online Tibetan dictionary.
2021-09-20* view-conf.el (durand-focus): New define-minor-mode syntax.JSDurand
2021-09-09* view-conf.el (durand-open-targets): setq + defvarJSDurand
This combination is more convenient if I want to change the value of the variable.
2021-08-12new: add outline configurationsJSDurand
Configuring outline-minor-mode, which provides an easy interface to navigate around codes. I mainly use this in Emacs Lisp buffers now. * outline-conf.el (durand-outline-regexp-alist): Each major mode could have a unique outline heading. (durand-outline-blocklist, durand-maybe-enable-outline): Don't enable outline minor mode for derived modes of the major modes in the block list. (outline-minor-mode-highlight): I want to highlight the headings. (outline-minor-mode-cycle): I like the cycling behaviour. (outline-minor-mode-map): Bind my custom key-bindings. * view-conf.el (durand-view-map): Bind to my custom map.
2021-08-09new: view pagesJSDurand
* view-conf.el (view-mode-map): Bind M-n/p to forward/backward-page commands.
2021-08-04change: adjust the default olivetti body widthJSDurand
* view-conf.el (durand-focus): Use a default olivetti body width of 80 instead of 65.
2021-07-20change: durand-focusJSDurand
* view-conf.el (durand-focus-focus): Toggle font-size and/or variable-pitch-mode, depending on the argument. (durand-focus): Now focus mode won't increase font-size and variable-pitch-mode by default. Instead use the following binding to toggle these settings if desired. (durand-focus-map): Bind to "M-s-f".
2021-07-19change: view-confJSDurand
* view-conf.el (durand-focus-map): (view-mode-map): Bind paragraph-moving functions to 'view-mode-map' instead of 'durand-focus-map'.
2021-05-20Refactor wifi and bluetooth settings to a separate fileJSDurand
* view-conf.el (durand-wifi-on-p): (durand-bluetooth-on-p): (durand-wifi-filter): (durand-bluetooth-filter): (durand-wifi-or-bluetooth): (global-map): These are moved to wifi-bluetooth-conf.el now. * wifi-bluetooth-conf.el (durand-wifi-on-p): (durand-bluetooth-on-p): (durand-wifi-filter): (durand-bluetooth-filter): (durand-wifi-toggle): (durand-bluetooth-toggle): These are old functions. (durand-wifi-executable): The name of an executable to manage wifis. (durand-wifi-bluetooth-buffer): A shared buffer for wifi-related commands. (durand-wifi-list-ports): List all available WIFI ports or the currently connected one, if the optional argument is non-nil. (durand-wifi-join-port): Join a port. This is still buggy. (durand-wifi-list-sentinel): The sentinel for the list-port function. (durand-wifi-join-filter): The filter to inform the user of the output of the command. This is important since currently the command will only error out for some reason. (global-map): Bind the functions to appropriate key sequences.
2021-04-20Adaptation of prot-ewwJSDurand
* eww-conf.el (eww): (eww-search-prefix): (global-map): (durand-eww-map): (eww-link-keymap): (eww-mode-map): (dired-mode-map): (eww-buffers-mode-map): (eww-bookmark-mode-map): (shr-use-colors): (shr-use-fonts): (shr-max-image-proportion): (shr-image-animate): (shr-width): (shr-discard-aria-hidden): (shr-cookie-policy): (eww-name-separator): (eww-rename-buffer): (eww-after-render-hook): (eww-back-url): (eww-forward-url): (eww-visited-history): (eww-record-history): (eww-dwim): (eww-visit-bookmark): (eww-visit-url-on-page): (eww-jump-to-url-on-page): (eww-occur-feed-regexp): (eww-find-feed): * view-conf.el (durand-view-map): (durand-open-targets):
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-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-03TeX, skeleton, and eww.JSDurand
Configure TeX and add some skeletons, and bind a key to eww.
2021-03-01Refine durand-view-processJSDurand
The function list-processes is really useful.
2021-03-01Refine the focus commandJSDurand
2021-02-22Focus and elfeed bindingJSDurand
Bind elfeed in global-map. Combine some convenient features to a function that focuses the text.
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-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-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-16The first stable versionJSDurand
Fixes: Avoid adding suffix-link repeatedly * embark-conf.el ("embark"): Use view-mode instead of view-file * init.el (load-after-function): Modify the macro so that it no longer redefines built-in functions. (global-map): ("view-conf.el"): Rename view-functions.el to view-conf.el * suffix tree/generalized-suffix-tree.el (gst-edge-length): (gst-add-suffix-link): (gst-canonize): (gst-extend-tree): (gst-build-for-strs): Fixed the bug. * suffix tree/gst debugging platform.txt (strs): Add a new debugging file * suffix tree/gst test ground (2).txt (strs): Do more debugging * tab-conf.el (durand-switch-tab-dwim): Add my own dwim tab function. (global-map): Bind it to the global map. * theme.el Update the modus-themes. * view-conf.el Rename view-functions.el to view-conf.el.