Greetings all, I've recently switched from Linux to OpenBSD. I use the vim editor and I can only 'undo' one time. Undolevels is set to 1000. Anyone have any idea how I can get multiple undos back?
Also, when you want to type ":e somefile.txt" to edit other files there is no tab completion to cycle through files with similar names. Anyone have any ideas?
Also, when you want to type ":e somefile.txt" to edit other files there is no tab completion to cycle through files with similar names. Anyone have any ideas?
posted by:
|
|
Unsubscribed |
-
Re: vi and OpenBSD
Fri, October 24, 2003 - 6:24 PMYes, install vim if you want those features. -
-
-
Re: vi and OpenBSD
Thu, October 30, 2003 - 8:12 AMI was of the understanding (and experience thus far) w/ Vim and Vim-lite (small=good) that if one were to indicate a number of under levels say 77 and then press U the previous 77 operations/commands/whatever would be undone. Generally if I'm using more than 2 or 3 undo, it's probably easier to start over... as the cyclic levels of undo and undoing an undo and the action before the undo can become a real brain twister... -
-
Unsu...
Re: vi and OpenBSD
Thu, October 30, 2003 - 11:17 AMHmm, okay this is odd. When I'm in a user shell I can do multiple undos. When I'm in a root shell I only have one undo. I'm sure this is an OpenBSDism. -
-
Re: vi and OpenBSD
Mon, November 3, 2003 - 1:31 AMAre you sure it's not a $PATH-ism? -
-
Unsu...
Re: vi and OpenBSD
Tue, November 4, 2003 - 6:53 AM$PATHs are the same in both shells. 'which vi' produces same result of '/usr/bin/vi' -
-
Re: vi and OpenBSD
Sun, November 27, 2005 - 12:44 AMroot maybe doesn't have a ~/.vimrc - without it, vim defaults to vi-compat. mode. -
-
Re: vi and OpenBSD
Sat, December 31, 2005 - 7:31 AMI second alex,
Sounds like a missing /root/.vimrc
Copy it from the homedir of the user that does work to this location.
Peace,
Jopa
~~~~`
-
-
Re: vi and OpenBSD
Sat, December 3, 2005 - 7:38 PMIf you were using vim, it would be in /usr/local/bin, not /usr/bin. In any event, if you're getting stuck in nvi or vim in compat mode, you have multiple levels of undo, but not the way vim does it. To undo in nvi, type 'u' and then '.' for each additional undo. -
-
Re: vi and OpenBSD
Fri, December 30, 2005 - 4:56 PMif your path works and roots doesnt, just take your shell settings with you when you su
# su -m
cause I know your not loggin in as root -
-
This is the maximum depth. Additional responses will not be threaded.
Re: vi and OpenBSD
Sat, December 31, 2005 - 6:47 AMNice to see some life here.
I just found this group. I have some experiance with Free BSD and Net BSD but I fell away from it for a few years. I now have Linux Slackware 10.2 on my desktop at work and lots of goodies are coming back to me.
I thought I would say hi.
Brian Rodgers
www.outfitnm.com
-
-
-
-
-
-
-
-
Re: vi and OpenBSD
Wed, January 11, 2006 - 9:31 PMI had a similar problem. Creating an empty ~/.vimrc file fixed it. -
-
Re: vi and OpenBSD
Wed, January 11, 2006 - 9:34 PMOops. I didn't notice Alex said the same thing.
-
