duplicate end line spacing on next line

2014-01-21 Thread Eric Smith
My vim automatically duplicates certain symbols or indents on the following line when I pres enter. Is there a standard and efficient way to do the same thing but this time duplicating the number of spaces at the end of the line? (I use the number of spaces on line end to give different

Re: netrw opens file in wrong directory

2014-01-21 Thread gideon . go
Hello DrChip, Thank you for fixing this bug! The new version works beautifully on the test case. However, I pushed the test a bit further as follows: 1) Set up the initial state again with the treeview in mode 3. 2) Open fileA in a new window at the left using netrw-v. 3) Now, split the new

How can I close a Netrw :Explore buffer and return to the buffer I was last in?

2014-01-21 Thread Ivan
I'm trying to write a function that will let me toggle a Netrw Explore window open/closed in the current window. Opening is easy, but closing (without killing the window/split) is a problem. Using C-6 doesn't work if there's no alternate buffer, and my current implementation yields

vim: how to leave vim in insert mode after execute a command

2014-01-21 Thread ping song
it looks, after any command executed, vim will be left normal mode. how to make vim stay in insert mode after any ex command ? example: :normal iabc -- after this, I have abc in my buffer , but in normal mode. -- -- You received this message from the vim_use maillist. Do not top-post! Type