Treat '$' as word syntax for JS mode to simplify C-Left/Right movement for jQuery.
--- a/.emacs-my Mon Nov 26 23:32:33 2012 +0200
+++ b/.emacs-my Mon Dec 03 09:04:29 2012 +0200
@@ -2327,6 +2327,11 @@
(add-to-list 'auto-mode-alist '("\\.js$" . javascript-generic-mode))
)
+(eval-after-load 'js-mode
+ '(progn
+ (modify-syntax-entry ?$ "w" js-mode-syntax-table)
+ ))
+
;; BUG: all single char comments do not stop highlighting on end of line but
;; go to end of buffer. To fix use code:
;; (setq auto-mode-alist (rassq-delete-all 'js-mode auto-mode-alist))