[Tutor] Enable Python feature in vim editor
Mats Wichmann
mats at wichmann.us
Tue Nov 23 09:39:05 EST 2021
On 11/22/21 12:06, Leam Hall wrote:
> Hey Kaushal,
>
> Here's part of my ~/.vimrc. You can do a lot with it, and there are
> likely Python specific plugins.
>
> ###
> set shiftwidth=2
> set shiftround
> set tabstop=4
> set softtabstop=4
> set noexpandtab
> set number
> set ruler
> set noautoindent
> set nosmartindent
> set noincsearch
>
> syntax enable
> ###
those are some pretty odd settings... for Python autoindent would seem
more natural than noautoindent, and noexpandtab means tabs have the
unfortunate opportunity to live in your edited content - you're pretty
much agreeing to not use the tab key in Python coding in that case.
Curious how you came to these?
More information about the Tutor
mailing list