On 4/4/07, Waters, Bill <[EMAIL PROTECTED]> wrote:
Can someone provide an example of how to enable this for a certain language? I assume that it is a condition around the "remap" in your vimrc??
The easiest way to do language-specific customizations is to create <language>.vim in your ~/.vim/after/ftplugin/ directory. This file is sourced after everything else so the settings in this file override previously set values. e.g. cat 'set expandtab' >> ~/.vim/after/ftplugin/python.vim ensures that spaces are inserted in your python files rather than tabs.