|
|
|
|
|
by shikck200
458 days ago
|
|
I have aliases for these kinds of general things (in vim) for most languages i use. Eg. if im inside a typescript file i have a mapping produces if ($obj) { $ } and i tab to enter the next "$" to insert the correct things. The same goes fo Go. I have a mapping for if err != nil { ... } and the cursor is places inside the block. I dont understand why people dont use this kind of thing for the most common programming constructs. |
|