On Thu, Jun 11, 2009 at 00:30, Jason Axelson<[email protected]> wrote: > > On Tue, Jun 9, 2009 at 10:36 PM, Florian > Breitwieser<[email protected]> wrote: >> I actually found a solution which involves less vim hacking and more command >> line magic: >> vim test.sql && echo :q | vim test.sql > test.sql.tmp 2> /dev/null &&head -n >> -1 test.sql.tmp | tail -n +2 && rm test.sql.tmp > > The unix server I have access to does what you want (except it > includes the tildes) with both vi and vim 6.2.149 so I would assume > there is some non-hackish way to do what you want to do. I think it > would involve messing with the terminal settings, although that may > mess up other shell programs you use. > > Jason > > > >
Hey guys, It is possible to set t_ti=^[[?1049h and t_te=^[[?1049l in .vimrc to solve this problem. But if $TERM==linux, it seems it doesn't work. Is there a way to fix this? Thanks, Neville --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
