Commits

alex koval committed 9d84347

remove py-shift-region-* because there is some conflict with newer version of emacs

Comments (0)

Files changed (1)

configs/cfg_python.el

   (interactive)
   (setq ac-sources (append ac-sources '(ac-source-ropemacs))))
 
+
 (add-hook 'python-mode-hook
-               '(lambda ()
-		  (local-set-key [(s menu)] 'rope-code-assist)
-		  (local-set-key [(s up)] 'python-move-to-start-of-class)
-		  (local-set-key [(s down)] 'python-move-to-end-of-class)
-		  (local-set-key [(meta down)] 'py-end-of-def-or-class)
-		  (local-set-key [(meta up)] 'py-beginning-of-def-or-class)
-		  (local-set-key (kbd "C-c C-a") 'py-to-start-of-class)
-		  (local-set-key (kbd "C-c C-e") 'py-to-end-of-class)
-		  (local-set-key (kbd "s-q") 'py-shift-region-left)
-		  (local-set-key (kbd "s-w") 'py-shift-region-right)
-		  (linum-on)
-;		  (add-rope-to-ac-sources)
-		  )
-	       )
-
+	  '(lambda ()
+	     (local-set-key [(s menu)] 'rope-code-assist)
+	     (local-set-key [(s up)] 'python-move-to-start-of-class)
+	     (local-set-key [(s down)] 'python-move-to-end-of-class)
+	     (local-set-key [(meta down)] 'py-end-of-def-or-class)
+	     (local-set-key [(meta up)] 'py-beginning-of-def-or-class)
+	     (local-set-key (kbd "C-c C-a") 'py-to-start-of-class)
+	     (local-set-key (kbd "C-c C-e") 'py-to-end-of-class)
+	     (linum-on)
+	     )
+	  )