Wednesday, October 1, 2014

Re: double the columns in vim on vertical split

Can you explain why you need columns setting? What is your operating system? I see on Windows whole gVim program gets this size (which is little bit useless) and on vim for Linux it gets text truncated at exactly 80 characters.

Maybe you are looking for a setting like:
set textwidth 80

The above command with truncate whole words in new rows if passing 80 characters. It also preserves the 80 characters if you add new window with: vsp command.

If using textwidth command you have to delete "set columns=80" from your ~/.gvimrc file and restart Vim.

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment