Write python list fast vim tips

What you want to write

classes = ('plane','car','bird','cat','deer','dog','frog','horse','ship','truck')

First of all, hit as follows

classes = ('plane,car,bird,cat,deer,dog,frog,horse,ship')

By replacing vim after

:s/,/','/g

You can do it.

If there is an easier way, please let the vimmers know.

Recommended Posts

Write python list fast vim tips
python tips
python tips
[Python] list
Python Tips
Python tips
Write a simple Vim Plugin in Python 3
Python Conda Tips
Python basics: list
Python debugging tips
Python click tips
Unexpectedly (?) Python tips
Python> Comprehension / Comprehension> List comprehension
Python list manipulation
Python fast fibonacci
Sorted list in Python
Python Exercise 2 --List Comprehension
List of python modules
Python> list> extend () or + =
Python and numpy tips
Python list comprehension speed
Filter List in Python
python unittest assertXXX list
How to write a list / dictionary type of Python3
Write Python in MySQL
Python3 List / dictionary memo
[Memo] Python3 list sort
Python Tips (my memo)
Python error list (Japanese)
List find in Python
Python PyTorch install tips
For those who want to write Python with vim
[Blender x Python] Blender Python tips (11/100)
Python exception class list
Initialize list with python
Python / Numpy np.newaxis thinking tips
Write Pandoc filters in Python
Python list, for statement, dictionary
Summary of Python3 list operations
[Python] Convert list to Pandas [Pandas]
Write beta distribution in Python
[Python] How to use list 1
Write python in Rstudio (reticulate)
Create ToDo List [Python Django]
Specify multiple list indexes (Python)
Python Basic Course (5 List Tuples)
Receiving standard input tips @ python
Python list is not a list
[Tips] Handle Athena with Python
Implement fast RPC in Python
Write to csv with Python
[Python] Copy of multidimensional list
Python list and tuples and commas
Paiza Python Primer 4: List Basics
Python list comprehensions and generators
[Python / PyQ] 4. list, for statement
[Python + Selenium] Tips for scraping
Format json with Vim (with python)
Python #list for super beginners
Google Drive Api Tips (Python)
~ Tips for beginners to Python ③ ~