Re: vi question
From: Stefaan A Eeckels (tengo_at_DELETEMEecc.lu)
Date: 08/11/04
- Next message: Jeffrey Silverman: "Re: vi question"
- Previous message: Ayaz Ahmed Khan: "Re: Fedora Q..about installation"
- In reply to: Eric: "Re: vi question"
- Next in thread: Eric: "Re: vi question"
- Reply: Eric: "Re: vi question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 11 Aug 2004 12:31:10 +0200
On Wed, 11 Aug 2004 05:37:14 GMT
Eric <notValid@comcast.net> wrote:
> Eric wrote:
>
> > I use vi to edit html pages, i notice that in insert mode if i hit
> > <BackSpace> the whole line jumps to the right about 4 to 6 cols (it
> > removes the unwanted char ok too)
> > Why is that?
That depends on the vi clone and the environment
(console, terminal emulator, vi settings, etc).
If I had to guess, I'd say you're using the wrong
TERM variable, and the vi clone is issuing codes
the terminal emulator doesn't handle properly.
Alternatively, if you're using syntax colouring
(on vim, for example), there might be a buglet in
the HTML syntax script - this would explain it
only happening when editing HTML. If this is the
case, try issuing :syntax off.
> > How do i prevent that from happening?
> >
> It always happens, nowrap has no effect.
> try it yourself, edit an html file, find
> a line that starts with a few spaces,move
> to the middle of a line, switch to insert
> mode and hit backspace and watch the line jump
> to the right (thats "right" not left). Very weird!
I cannot reproduce this behaviour using vim, nvi or
Solaris vi. Please specify the vi clone (nvi, vim,
vile, ...), terminal emulator (xterm, gnome-terminal,
kterm) or console, whether you use syntax colouring,
etc.
-- Stefaan -- "What is stated clearly conceives easily." -- Inspired sales droid
- Next message: Jeffrey Silverman: "Re: vi question"
- Previous message: Ayaz Ahmed Khan: "Re: Fedora Q..about installation"
- In reply to: Eric: "Re: vi question"
- Next in thread: Eric: "Re: vi question"
- Reply: Eric: "Re: vi question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|