gvimrc

What vimrc settings to speed up scrolling?

I use gvim pretty heavily at work, typically logged into a server farm. This works great while I'm directly on the corporate LAN, but when I VPN in from home and resume my sessions, gvim scrolls almost intolerably slow. Every time I page up or down, the scrolling does a lot of unnecessary screen refreshes before it gets to the final ...

Best way to organize filetype settings in .vim and .vimrc?

I'm going through my vim dotfiles to tidy them up. I've noticed that through time I've added various filetype specific settings in various inconsistent ways. Let's suppose I'm customizing for Python: au BufRead,BufNewfFile *.py (do something). I don't like this because some Python files might not have the .py termination. au FileType ...

How can I map a key to execute a program, and show its output in GVim?

On my .gvimrc, I have the following line: map <f4> :!./%< On a source file, I have to press F4 and then enter, but it works correctly, shows the output, and hangs until I press enter again. If I change it for: map <f4> :!./%< <CR> It behaves shows the output, but doesn't wait until I press enter (and so the output becomes imposs...

Is there a not user-hostile tool for making/editing vimrc files?

Implicit in that question is that if you enjoy editing .vimrc files by hand and have posted it on the net to brag about your vim-fu, then you and I don't live on the same planet. Also, I'm furiously resenting your petty sense of superiority and am busy making really unfair generalizations about the number of times you've watched Cowboy ...

Correct pattern for a VIM autocommand?

I have a windows directory (U:\S) that contains files that must not be changed. Their read-only bit cannot be set, so they must remain writeable. As I have to look into some of the file's content rather regurarly with VIM, I want to make sure that I don't accidentally change the file's conent. So, I put the following line into my .vim...

NERDTree open in a new tab, as last tab in gvim?

In NERDTree ShiftT opens file in a new tab, but tab is positioned after the tab in which NERDTree is opened. It is possible to open the new tab at the end of tabs? ...