On Friday, May 17, 2019 at 12:53:27 PM UTC-5, Adrian Keister wrote:
> I'm having difficulty with vim on Mac OS. It's indenting incorrectly. The attached txt file is the test file, and the two screenshots show how different they look on Mac versus Windows. The Windows gVim is the look I want. I've tried everything from brew install vim to re-installing MacVim, no joy. It does not appear to be a vimrc issue, because I've tried the troubleshotting page here, with no joy:
>
> https://github.com/macvim-dev/macvim/wiki/Troubleshooting
>
> Any ideas? Thanks for your time!
Many thanks to Jürgen and Christian for your help! The .gvimrc file was overriding the .vimrc file for the tabstop setting, so that was one problem. Then I actually had tabs in the file, as noted by others. I don't actually want those tabs in there, so the :1,$s/\t/ /g command replaced all tabs by four spaces like I want. Now MacVim looks just like Windows.
Cheers.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/e615027d-7d36-4bfb-a273-d7f45d9b6861%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tuesday, May 28, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment