delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/11/09:01:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 11 Jul 2008 15:01:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: un-indenting doesn't work with vim
Message-ID: <20080711130135.GO24644@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f68d89470807110553k2bc71311p799af2cc02e99af8 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <f68d89470807110553k2bc71311p799af2cc02e99af8@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul 11 14:53, Robert Latest wrote:
> Hello list,
> 
> When writing stuff in "vim", I can't unindent without first havin to
> leave the Insert mode. In other words, I type a line, hit "enter",
> then "tab", and do the next line. When I hit enter again, the cursor
> goes onto the first position of the indented line, which is what I
> want. But if at some point I wish to un-indent by pressing backspace
> at the beginning of a new line, nothing happens. I first have to exit
> Insert mode, then use "x" to delete one tab, and then go back into
> insert mode.
> 
> This is very annoying. On my Linux box at home, vim behaves as expected.

That's not standard behaviour in vim, rather a special setting on your
machine.  Either in your own .vimrc or in the system-wise vim config files.

The standard way to unindent is to type Ctrl-D.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019