Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-23-2005, 07:32 PM   #1
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:
set autowrite
noremap <Left> :prev<CR>
noremap <Right> :next<CR>
noremap <Down> :args<CR>
and run Vim by 'vim *.html'.

Last time I tried
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)?

Old 11-26-2005, 11:44 AM   #2
Registered: Nov 2005
Location: Central America
Distribution: Mepis, Android
Posts: 398
Blog Entries: 4

Rep: Reputation: 181Reputation: 181

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:52 AM
Suppressing the output from tar marri Programming 2 05-03-2005 04:19 AM
Display current refresh rate (XFree) McCloud Debian 2 11-11-2004 06:34 AM
How to force my display refresh rate to 85 @ 1024x768 which Dell CRT can? AnnoD04 Linux - Software 2 02-08-2002 08:07 PM
suppressing boot output to terminal aethereal Linux - Newbie 2 12-23-2001 09:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 PM.

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