On Mon, Sep 07, 2009 at 01:44:11PM -0400, Patrick Gen-Paul wrote:
>
> 1. Patch the code obviously - cumbersome and a bit disappointing since
> one of vim's strong points is flexibility. Also, not very flexible since
> I would not be able to ever visualize the tildes without recompiling.
> Besides, I wouldn't know where in the code to start looking.
All those caveats apply, but if you want to try it,
here's a patch to change the tilde to a space:
diff --git a/src/screen.c b/src/screen.c
index 28fe238..f508988 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1904,8 +1904,8 @@ win_update(wp)
wp->w_botline = lnum;
/* make sure the rest of the screen is blank */
- /* put '~'s on rows that aren't part of the file. */
- win_draw_end(wp, '~', ' ', row, wp->w_height, HLF_AT);
+ /* put ' 's on rows that aren't part of the file. */
+ win_draw_end(wp, ' ', ' ', row, wp->w_height, HLF_AT);
}
/* Reset the type of redrawing required, the window has been updated. */
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Gregory H. Margo
gmargo at yahoo/com, gmail/com, pacbell/net; greg at margofamily/org
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---