Vim's configuration file.

learn more… | top users | synonyms

0
votes
2answers
543 views

Vim reduce delay after issuing a command

I have mappings within my .vimrc to open or switch to commonly used applications. Use Case: I have 10 open applications and I'm in MacVim. It's faster to issue <Leader>sc which is mapped to map ...
0
votes
1answer
139 views

Change menu/ui language of vim to english

I search on google and I read several answers but I am unable to change the menu/ui language of vim to english. Im my .vimrc I have set langmenu=en_US.UTF-8 language messages en_US.UTF-8 but it ...
0
votes
1answer
135 views

Mapping a leader key combination to Shift-Insert in putty while editing in VIM

I use putty (windows) to connect to a remote machine and my daily work revolves around coding in vim. I have to copy paste from the windows clipboard a lot, and for that I use the Shift+Insert key ...
0
votes
1answer
90 views

How do I get vim to input the bar/pipe character in my vimrc?

I've tried the following, but it doesn't work. inoremap <C-\> <Esc>$a<Space>do<Space><Bar><Bar><CR>end<Esc>k$i I'm trying to map a shortcut for ruby ...
0
votes
1answer
87 views

Can I make the font size in my NERDTree window smaller than in all other windows of Vim?

Can I make the font size in my NERDTree window smaller than in all other windows of gvim? I like large font size of 15 but I'd like the folder tree window of NERDTree to be 12 - is this possible to ...
0
votes
1answer
453 views

Why do vim's StatusLine and StatusLineNC do not have the same background color?

With the same StatusLine and StatusLineNC highlight colors, when I open multiple windows, the active window's status line always has a lighter color text. I'm using PuTTY, the TERM is set to ...
0
votes
1answer
574 views

~/.vim folder has gone after vim reinstall (Ubuntu 10.10)

I had a problem with an arrow keys in Ubuntu (known as the A B C D problem). All advices I have found does not help me to resolve this bug. So, I deside to reinstall vim totaly. After I install it ...
1
vote
0answers
72 views

Vim will not stop creating backup files (Windows 8)

I'm using Gvim on Windows 8.1 and even after setting nobackup and nowritebackup in _vimrc, Vim insists on creating those pesky backup files (the .ext~ ones). I'd like to disable this behavior ...
1
vote
0answers
52 views

Vimrc for different gnome-terminal profile?

I want to load different VIM color schemes for different gnome-terminal profiles. It's indeed two questions: How to know the active profile name in a gnome-terminal session? How to test with environ ...
0
votes
0answers
49 views

“Open with… Vim” does not load _vimrc settings

I use Vim (gVim to be precise) to write and edit files. When executing the editor directly, everything works fine. But if I open a file using the "Open with..." command on Windows, the _vimrc settings ...
0
votes
0answers
67 views

gvim how to open different FileTypes in different color schemes

okay so I want gvim to open all my files using the 'slate' color scheme except for .html and .css files. I want it to open .html and .css files using the 'ron' color scheme. I tried doing colo slate ...
0
votes
0answers
84 views

vim colo directive ignored in console

I have the following in my .vimrc: if has("gui_running") colo desert " ... else colo distinguished " ... endif gvim works fine. When I open vim in gnome-terminal in tmux, the colo ...
0
votes
0answers
129 views

Vim format python using formatexpr/prg (gq) gives incorrect result

I am having trouble with Python's interaction with comments. These can be divided into two issues. I expect they're related, so I'll post them both here. Issue 1. When using gq to automatically wrap ...