On Thursday 10 of February 2011 17:59:26 Pierre Schmitz wrote:
On Thu, 10 Feb 2011 17:52:16 +0100, Jan de Groot wrote:
On Thu, 2011-02-10 at 17:24 +0200, Ionuț Bîru wrote:
we did had vi being a stripped vim package in the past. We got rid of it because upstream vim started to not helping arch users because "it was broken". That impression was given by our users who didn't understand that python and other crap that vim support is in vim package and not in vi.
now the same situation is now. Some users don't understand that vi is nvi and what they want is in vim.
I don't think we should go back to a fucked vim package with /etc/virc like we had it in the past. We switched from that to nvi, which fucked up files if they contained unicode stuff (it would just segfault in the middle of a save operation, leaving you with a broken file). After that, we decided to go for busybox, which works fairly well as vi, is maintained, but doesn't do anything that looks like vim.
IMHO vi is totally useless on most systems. I prefer to uninstall it and do ln -s vim /usr/bin/vi instead. Users who complain about vi being too limited should do that too.
I wonder the same. I cannot imagine why anybody would want to use vi. Personally I would not mind if nano was the only interactive editor in [core]. But keeping the current busybox vi is also fine. Hello, first, I apologize for off-topic, but i seek help on vim. Reading this thread I decided I want to learn how to get more from vim, so I started with vimtutor. So far I ran into two issues that were incompatible with the vimtutor, *) 7G moves you to line 7, I had to do 7gg instead *) " Lesson 5.3: SELECTING TEXT TO WRITE
** To save part of the file, type v motion :w FILENAME ** 1. Move the cursor to this line. 2. Press v and move the cursor to the fifth item below. Notice that the text is highlighted. 3. Press the : character. At the bottom of the screen :'<,'> will appear. 4. Type w TEST , where TEST is a filename that does not exist yet. Verify that you see :'<,'>w TEST before you press <ENTER>. 5. Vim will write the selected lines to the file TEST. Use :!dir or !ls to see it. Do not remove it yet! We will use it in the next lesson. "...this doesn't work for me, I switch to visual mode, after : the '<,'> doesn't appear though. Can somebody enlighten me, is this behavior -some config in vim -- where and how can I set it? -mistakes in the tutorial (could be updated) -mistakes in vim Many thanks, mark the vimmer :) -- Marek Otahal :o)