¡@

Home 

python Programming Glossary: smartindent

.vimrc configuration for Python

http://stackoverflow.com/questions/1523482/vimrc-configuration-for-python

set listchars tab trail ~ set list autocmd BufRead .py set smartindent cinwords if elif else for while try except finally def class.. 4 set shiftwidth 4 set expandtab set autoindent set smartindent syntax on set listchars tab set listchars trail . set ignorecase.. file. Try this instead au BufEnter BufRead .py setlocal smartindent cinwords if elif else for while try except finally def class..

Vim automatically removes indentation on Python comments

http://stackoverflow.com/questions/2360249/vim-automatically-removes-indentation-on-python-comments

anyone know why this is happening set tabstop 4 set smartindent set shiftwidth 4 set expandtab set backspace indent eol start.. vim indentation share improve this question Setting smartindent on makes Vim behave like you describe for me whereas with nosmartindent.. makes Vim behave like you describe for me whereas with nosmartindent which is what I tend to use it behaves like you'd prefer it..

How to configure vim to not put comments at the beginning of lines while editing python files

http://stackoverflow.com/questions/354097/how-to-configure-vim-to-not-put-comments-at-the-beginning-of-lines-while-editing

Restoring_indent_after_typing_hash It seems that the vim smartindent option is the cause of the problem. The referenced page above.. describes work a rounds but after reading the help in smartindent in vim itself help smartindent I decided to try cindent instead.. after reading the help in smartindent in vim itself help smartindent I decided to try cindent instead of smartindent. I replaced..