Skip to content
Browse files

Added doc about changes

  • Loading branch information...
1 parent 7b1b300 commit f63dd36fb016c72bce4e50fd81a2b008b248c983 @gabrielelanaro committed
Showing with 11 additions and 3 deletions.
  1. +10 −2 README.org
  2. BIN doc/highlight_line_ind.png
  3. +1 −1 epy-editing.el
View
12 README.org
@@ -106,11 +106,19 @@ instead of a python one. To enable the feature put this line in your .emacs:
: (epy-setup-ipython)
*** line highlighting
-You may wanto to disable this feature or to set another color, to do
+You may wanto to enable this feature with the color you prefer, to do
so, drop one of the following lines in your .emacs
-: (global-hl-line-mode nil) ;; To disable
+: (global-hl-line-mode t) ;; To enable
: (set-face-background 'hl-line "black") ;; change with the color that you like
: ;; for a list of colors: http://raebear.net/comp/emacscolors.html
+*** Highlight Indentation
+Interesting way to have a visual clue on how the code is indented:
+
+.. image:: https://github.com/gabrielelanaro/emacs-for-python/raw/master/doc/highlight_line_ind.png
+
+: (require 'highlight-indentation)
+: (add-hook 'python-mode-hook 'highlight-indentation)
+
*** disabling the auto-pairing of parenthesis
To disable the auto-pairing, drop the following line:
View
BIN doc/highlight_line_ind.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2 epy-editing.el
@@ -148,7 +148,7 @@ original" (interactive)
; delete seleted text when typing
(delete-selection-mode 1)
-; highlight current line
+;; highlight current line
;;(global-hl-line-mode 1)
;;(set-face-background 'hl-line "seashell2") ;; Nice color

0 comments on commit f63dd36

Please sign in to comment.
Something went wrong with that request. Please try again.