LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2005, 06:32 PM   #1
jonathantan86
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Vim: Suppressing display refresh?


Hello, I'm quite new to Vim but I heard it's a good text editor to use so I'm trying it now. I regularly edit more than one file at a time so I have this in my ~/.vimrc:
Code:
set autowrite
noremap <Left> :prev<CR>
noremap <Right> :next<CR>
noremap <Down> :args<CR>
and run Vim by 'vim *.html'.

Last time I tried
Code:
noremap <Left> :prev<CR>:args<CR>
but the status bar flickered "index.html" before showing the result of :args i.e. "[index.html] index2.html". How do I prevent this flicker from happen? I suppose that I should prevent it by suppressing the refresh of the display, much like Ctrl-S and Ctrl-Q do in the xterm. I've tried inserting those control codes into the noremap, but they don't work. So is there any way for me to prevent the flicker?

On a side note, for all the Vim users out there, how do you edit multiple files effectively (what method do you use)?

And another question...what is the Vim code for the Menu key (the key next to the right Windows key)?

Thanks.
 
Old 11-26-2005, 10:44 AM   #2
dogpatch
Member
 
Registered: Nov 2005
Location: Central America
Distribution: Mepis, Android
Posts: 490
Blog Entries: 4

Rep: Reputation: 238Reputation: 238Reputation: 238
Question

Given that no one has yet responded to your VIM questions, i will offer this very unhelpful opinion: VIM sucks. I tried it, and its predecessor, VI, for several weeks before abandoning it. I then used joe (joe's own editor) for awhile, but i don't believe that's included in most distros. So, as an old DOS programmer, i finally wrote my own text editor, which has pretty complete functionality, including multiple file editing. I wrote it for my own use, but if you're interested, reply to this, and i'll be happy to let you try it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
display driver - refresh rate TranceDude Fedora 16 08-16-2005 07:52 AM
Suppressing the output from tar marri Programming 2 05-03-2005 03:19 AM
Display current refresh rate (XFree) McCloud Debian 2 11-11-2004 05:34 AM
How to force my display refresh rate to 85 @ 1024x768 which Dell CRT can? AnnoD04 Linux - Software 2 02-08-2002 07:07 PM
suppressing boot output to terminal aethereal Linux - Newbie 2 12-23-2001 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration