Commits

yagnesh raghava yakkala  committed 70312f3

* init-w3m.el: w3m keybindings

  • Participants
  • Parent commits c24e834

Comments (0)

Files changed (1)

 
 (require 'w3m-load)
 
-                                        ;(setq w3m-key-binding 'info) ; info-like
+;;; caching on
+(setq url-automatic-caching t)
+
+;; (setq w3m-key-binding 'info) ; info-like
 (setq w3m-key-binding 'nil) ; lynx-like
-'
+
 ;;(add-to-list 'load-path "~/emacs/emacs-w3m")
 ;;(autoload 'w3m "w3m" "Interface for w3m on Emacs." t)
 (setq w3m-coding-system 'utf-8
       w3m-input-coding-system 'utf-8
       w3m-output-coding-system 'utf-8
       w3m-terminal-coding-system 'utf-8
-      w3m-use-cookies t
-      )
+      w3m-use-cookies t)
 
 ;; (add-hook 'w3m-display-hook
 ;;           (lambda (url)
   (browse-url-firefox (or (w3m-anchor)
                           (w3m-image))))
 
-(add-hook 'w3m-mode-hook (lambda ()
-                           (local-set-key (kbd "<f5> o")
-                                          'w3m-open-link-or-image-in-firefox)))
-
-
-
-;; (eval-after-load 'w3m
-;;   (progn
-;;     (define-key w3m-mode-map "f" 'w3m-open-current-page-in-firefox)
-;;     (define-key w3m-mode-map "F" 'w3m-open-link-or-image-in-firefox)))
+(add-hook 'w3m-mode-hook
+          (lambda ()
+            (local-set-key (kbd "<f5> o") 'w3m-open-link-or-image-in-firefox)
+            (define-key w3m-mode-map "f" 'w3m-open-current-page-in-firefox)
+            (define-key w3m-mode-map "F" 'w3m-open-link-or-image-in-firefox)))