Say I'm in foo.py and I want to paste something into the docstr of function f
:
something:
foo
bar
def f():
"""
"""
My current workflow (evil normal mode, in python buffer):
"""
TAB
to move the cursor 4 characters to the rightp
Now two question arise:
TAB
be automated?Result:
def f():
"""
foo
bar
"""
Or should I rethink my workflow and look at CI/CD tools e.g. black
,yapf
formatters etc.?
asked Jul 25, 2024 at 11:35
jjkjjk78855 silver badges2424 bronze badges
2Start asking to get answers
Find the answer to your question by asking.
Ask questionExplore related questions
See similar questions with these tags.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4