a strange SyntaxError

Samuel newsgroups at debain.org
Sun Dec 9 15:43:01 EST 2007


On Sun, 09 Dec 2007 12:35:46 -0800, CoolGenie wrote:

> OK, sorry, this was about indents. Stupid VIM!

$ mkdir -p $HOME/.vim/ftplugin/

$ echo "setlocal sw=4
setlocal ts=4
noremap <buffer> <LocalLeader>py o/**************<CR><CR>/<Esc>
" >> ~/.vim/ftplugin/python.vim

$ echo "syntax on
set sw=2
set ts=2
set nu
set nuw=3
set autoindent
set expandtab" >> $HOME/.vimrc
--------------- 

Problem solved, never to be found again.

Bye,
-Sam



More information about the Python-list mailing list