LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-11-2012, 04:50 PM   #1
Hoff123
LQ Newbie
 
Registered: Jan 2010
Posts: 13

Rep: Reputation: 0
Vim not recognizing zz zommand?


Hi!

I am learning Vim in Ubuntu using a tutorial I found and they mention the zz command, but when I try it nothing happens at all. I have tried both in the terminal and gui(gvim). Nothing happens at all. I think what is supposed to happen is that the window(and file) exists. And I have pressed esc and I am sure I am in normal mode.
 
Old 01-11-2012, 05:58 PM   #2
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Lubuntu, Slackware
Posts: 575

Rep: Reputation: 64
Although I am very far from being an expert in Vim, I have been using it for a couple of years and I am not familiar with any 'zz' command. Perhaps you mean 'ZZ' (with both capital Zs)? That one is supposed to write the buffer to the active file and close Vim. Is that what you want?
 
1 members found this post helpful.
Old 01-12-2012, 07:39 AM   #3
Hoff123
LQ Newbie
 
Registered: Jan 2010
Posts: 13

Original Poster
Rep: Reputation: 0
OK! Thank you so much! Funny that that was the problem. Needed to be capital Zs. Lol.
 
  


Reply

Tags
not working, ubuntu, vim


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
LXer: Personalize and Optimize Vim editor using Packtís new Vim 7.2 book LXer Syndicated Linux News 0 05-20-2010 10:20 PM
Switching from vim to vim -g from inside vim iDragoon Linux - Software 4 05-15-2009 11:46 AM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM
LXer: Vim tips: Using Vim mappings and abbreviations LXer Syndicated Linux News 0 06-18-2006 01:54 PM
LXer: Cream for Vim - Making Vim more user friendly LXer Syndicated Linux News 0 06-17-2006 11:54 PM


All times are GMT -5. The time now is 09:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration