.vimrc configuration addition is incomplete

Bug #479244 reported by Howie85
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thinkcspy
Fix Committed
Medium
Jeffrey Elkner

Bug Description

In Appendix A of the "How To Think Like A Computer Scientist" python book, you ask the reader to edit a .vimrc file, the text you ask them to put in the file is incorrect:

syntax enable
filetype indent on
set et
set sw=4
set smarttab
map :w\|!python %

it should actually look like this:

syntax enable
filetype indent on
set et
set sw=4
set smarttab
map <f2> :w\|!python %

with the "<f2>" between "map" and ":w\|!python %"
hope this helps a little for those who had problems and couldn't figure out why.

Cheers,
        Howie

Jeffrey Elkner (jelkner)
Changed in thinkcspy:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Jeffrey Elkner (jelkner)
status: Confirmed → Fix Released
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.