Skip to main content
replaced http://vi.stackexchange.com/ with https://vi.stackexchange.com/
Source Link

Some people prefer not toSome people prefer not to end a file with a new line.

I'm not one of them. In fact, I want to see that it's there!

How can I keep this 'force new line at end' behaviour, but show it in the editor? I often leave a double new line accidentally, because I've added one myself too.

Some people prefer not to end a file with a new line.

I'm not one of them. In fact, I want to see that it's there!

How can I keep this 'force new line at end' behaviour, but show it in the editor? I often leave a double new line accidentally, because I've added one myself too.

Some people prefer not to end a file with a new line.

I'm not one of them. In fact, I want to see that it's there!

How can I keep this 'force new line at end' behaviour, but show it in the editor? I often leave a double new line accidentally, because I've added one myself too.

Source Link
OJFord
  • 435
  • 2
  • 13

Still force new line at end, but show it too?

Some people prefer not to end a file with a new line.

I'm not one of them. In fact, I want to see that it's there!

How can I keep this 'force new line at end' behaviour, but show it in the editor? I often leave a double new line accidentally, because I've added one myself too.