/proxy-mode

A minor mode to toggle proxy for Emacs. Supports HTTP proxy and socks v4, v5 proxy with Emacs built-in functions.

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

Intro

A minor mode to toggle proxy for Emacs. Supports HTTP proxy and socks v4, v5 proxy with Emacs built-in functions.

Features

  • Support HTTP proxy
  • Support Socks v4, v5 proxy

Installation

use-package

(use-package proxy-mode
  :ensure t)

Config

specify local host regexp

(setq url-gateway-local-host-regexp
      (concat "\\`" (regexp-opt '("localhost" "127.0.0.1")) "\\'"))

Usage

Toggle proxy-mode minor mode with {{{kbd(M-x proxy-mode RET)}}} .