0

I've installed clang for my vim. Now when I'm typing for example #include , i see "" or <> headers, but when I hit enter on it, it's just typing new line instead of picking that preset.

I don't want to get a new line after pressing enter when I have variants to choose.

moon3fire
  • 1
  • 3
  • Said new line means you're in Insert mode. You know `vim` is a modal editor, don't you? First you need to switch to Normal mode. Also see https://stackoverflow.com/search?q=%5Bvim%5D+open+header – phd Nov 08 '22 at 13:26

0 Answers0