How do I get vim to place the cursor within the braces starting on a new line, ie with | denoting the cursor position :
class { | }
right now
At bottom of the file, I'm using:
# vim: ts=2 sw=2 sts=2 sr noet st ai si
For example Dockerfile:
Dockerfile
FROM centos-7 RUN ... CMD ... # vim: ts=2 sw=2 sts=2 sr noet st ai si
If you want keep the indentation only, use # vim: st ai si
# vim: st ai si