hehejo
blöder Purist
Wie muss ich denn meine ~/.vimrc anpassen, dass mit der vim beim Einfügen von Code den nicht total wegtabbt?
aus
wird nämlich leider immer sowas:
Das hier ist meine ~/.vimrc
aus
Code:
def zahler(start = 0, max = 50):
cnt = start
while True:
yield cnt
cnt += 1
if cnt == max:
raise StopIteration
Code:
def zahler(start = 0, max = 50):
cnt = start
while True:
yield cnt
cnt += 1
if cnt == max:
raise StopIteration
Das hier ist meine ~/.vimrc
Code:
colors elflord
syntax on
set autoindent
set tabstop=2