yagnesh raghava yakkala avatar yagnesh raghava yakkala committed 70312f3

* init-w3m.el: w3m keybindings

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)))
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.