Configuration¶
Configuration options for asrch.el
Users can configure asrch.el by setting the following variables in their init.el file:
attention These do not work as of 0.2.0beta1
Toggle History¶
Controls whether browsing history is stored.
(setq asrch-store-history t) ; Enable history (set to nil to disable)
Set Homepage¶
Sets the default homepage URL. This page will open if no other URL is provided.
(setq asrch-home-page "https://www.python.org") ; Default homepage
Set Default Start Point¶
Sets the default position of the cursor when loading a page.
(setq asrch-default-start-point "top") ; Options: "top" or "bottom"
Define History File Path¶
Specifies the file path where browsing history is saved.
(setq asrch-history-file "history") ; Set path for history file
Limit History Entries¶
Defines the maximum number of entries stored in browsing history.
(setq asrch-history-max-entries 100) ; Maximum entries in history
Choose Buffer Display Method¶
Defines how new content buffers are displayed (either horizontal or vertical split).
(setq asrch-buffer-display-method 'split-window-horizontally) ; Or 'split-window-vertically
Enable URL Preview¶
Shows a URL preview in the minibuffer when hovering over links.
(setq asrch-enable-url-preview t) ; Set to nil to disable URL previews
Set Page Refresh Interval¶
Sets an interval (in seconds) for auto-refreshing the current page. A value of 0 disables auto-refresh.
(setq asrch-refresh-interval 0) ; Auto-refresh interval in seconds