Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!motsrd!motcid!mostek From: mostek@motcid.UUCP (Frank B. Mostek) Newsgroups: comp.editors Subject: line moving while in insert mode Summary: line moving while in insert mode Keywords: line moving while in insert mode Message-ID: <6219@beryl12.UUCP> Date: 17 Apr 91 19:08:49 GMT Distribution: comp Organization: Motorola Inc., Cellular Infrastructure Div., Arlington Heights, IL Lines: 35 In vi: Can the cursor be moved up/down lines while in insert mode? If I make a mistake and don't realize it before I hit CR, I always hit to move up/down. Is there an easier way? I can always map a key, but I was wondering if there was a natural vi feature. My apologies if this is a faq, I don't read this very often. Also, '0' doesn't work for me all the time. (get to start of line.) Its not working for me now (while I'm in nn). What could be causing this? It also does not work when I edit files in my home directory. It works any other time I use vi. Any ideas? I am on: SunOS Release 4.0.3 (SDW403.STD3X.V1.1) #1: Sun Nov 12 19:52:18 CST 1989 My .exrc: map 0 mz map - "wy`z map = "wP map @V1@ 1G!Gvspell :map V @V2@ map @V2@ 1Gd/---- spell check complete ---/+0 :map V @V1@ map V @V1@ map v {!}fmt -80 set ai set bf set sm -- ************************************************************ Frank Mostek uunet!motcid!amethyst!mostek Software Consultant (708)632-7191 ************************************************************