Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [microsoft-windows]

For questions specific to Vim implementations on the Microsoft Windows operating system.

2
votes
1answer
11k views

Where is xxd in Windows gvim?

Does it exist? Is it Linux only? Do I have to install it? According to this, it's :!xxd to convert the file to hex, and it's :!xxd -r to convert it back again.
1
vote
0answers
103 views

Is Vim's filename completion broken in Windows when using uppercase u umlaute (Ü)?

In a vim buffer, I want to insert the path to a file named blablabla\barbar-Überbar\bazbazbaz.txt which exists under the current working directory - and I am running gvim in a MS-Windows environment. ...
0
votes
1answer
487 views

How to enter and display German Umlauts on a Windows 10 machine with Russian locale?

I want to be able to write German texts using my Vim 7.4 installed on a Windows 10 machine with Russian locale and German keyboard layout. My .vimrc file looks like this: set encoding=utf-8 set ...
1
vote
0answers
199 views

Vimrun.exe keeps opening and closing when statusline is updated

I am working on a plugin and as part of that plugin I am trying to update the statusline with setlocal statusline=%!GetMPCStatusline(). But this causes vimrun.exe to open and close very fast. This ...
3
votes
1answer
465 views

Using the same plugin folders for gvim and with vim in cygwin

I have a cygwin shell in my windows computer and it has a Vim installation of its own in it. And, so the plugins I have for Gvim are not available for the Cygwin vim. I tried symlinking the plugins ...
2
votes
0answers
446 views

Vim is taking a really long time to open spelling suggestions

I have recently reinstalled vim and I noticed that the Spell checking is working very slowly. Whenever I do a z= on an incorrectly spelled word, Vim takes a good 4-5 seconds to show the spelling ...
1
vote
1answer
515 views

Changing of disk partition with netrw on Windows

I guess this is not a problem for Linux users, but in Windows disks have drive letters. How can I switch drive letters in netrw on Window?
2
votes
0answers
97 views

The $path used by “:!start cmd” is different from my system $path in windows

So I do a lot of python work in GVim on Windows 7, and I'm running into an annoying roadblock. This might be more of a Windows question, but it's happening in Vim, so ... I have this in my python.vim ...
2
votes
1answer
43 views

Is there a platform independent way to use “${ENVVAR}more_text” in vim?

I just discovered that I am able to use ${ENVVAR}more_text in a vim installation on Unix, but not if installed on Windows. In Unix, I did in a shell: export ABC=/tmp/ echo foo>${ABC}foo gvim ...
2
votes
2answers
689 views

What does vim try to tell me with: 'Sorry, this command is disabled, the Pythons's site module could not be loaded'?

I try to get python support in gvim on windows to work with the help of this binary distribution. First I got the error python27.dll could not be located, what I successfully fixed by copying python27....
13
votes
4answers
28k views

How can I get gVim on Windows to behave as on Linux?

I am a frequent user of the Vim editor on Linux and now I want to use it on Windows. I downloaded Vim for Windows, which happens to be gVim. Several features of Vim doesn't work in gVim 7.4 like ...
2
votes
1answer
698 views

How to use <Alt-Space> to open the window menu on Windows?

When I have to work on Windows I have the habit to reduce my windows with the key combo Alt-Space+u (Alt-Space will pop the window menu and u is the shortcut to minimize the window and may change ...
5
votes
2answers
2k views

Can I use Vim with Visual Studio?

Is there any way I can use Vim with or Neovim to edit my project, and still be able to build it using Visual Studio? Note I am not talking about limited Vim emulators for Visual Studio but proper ...
9
votes
1answer
437 views

Wrong encoding while calling shell

I was experimenting with a DOT diagram and tried to do the following: :! dot -Tpng -oFab.png % I got an error because my filename has a special character ("ó" in "Fabricación"): C:\windows\system32\...
3
votes
0answers
166 views

How to correctly map <tab> for <Plug>Functions() on Windows?

I am using gVim on Windows, and have only recently run into a very problematic situation: my Tab key stops working in insert mode! Pressing the Tab key does not give any output. In order to use the ...
5
votes
1answer
795 views

gvim incorrect font (or encoding) in menu

I use 32bit gvim 7.4 on Win7 64bit CZ. I replaced the gettext and iconv libraries according to the guide on the vim website. I wanted to use utf-8 and have setup the guifont, encoding and fileencoding ...
0
votes
1answer
378 views

I want to change where the Vim folder is located

For example, if my path is: C:\Program Files (x86)\Vim And I want it to be: C:\Users\~\Documents\Vim How do I do that so I will still be able to call "gvim" on CMD, for example?
3
votes
2answers
344 views

Poor syntax highlighting in vimwiki (command prompt)

Is there any way to change the syntax highlighting in vimwiki in windows. I could not properly see the line enclosed between [[some word]]. The same works well in Linux.
3
votes
1answer
4k views

How to resolve “requires Vim compiled with Python 2.x support” when launching Vim?

I have Vim 7.4 installed on Windows 10 as part of a Mingw64 installation. I installed the YouCompleteMe plugin on it through Vundle, then ran the install.py, which completed successfully. Now, every ...
4
votes
1answer
1k views

On Linux, vim would search #include files automatically for auto-completion but on Windows not

I use vim on Linux and Windows. Strangely, on Linux (Ubuntu), when I write C/C++ code, vim would search the included file for auto-completion (Ctrl-P), even if I don't add anything related in my ....
8
votes
6answers
3k views

How do I save a read-only file in Vim for Windows?

I have looked for this a lot already and every answer is about Vim in Linux. Is there a way to save a read-only file right from Vim in Windows?
9
votes
1answer
1k views

Not able to type Unicode with Gvim and VIM on Windows 7

I want to type in different languages using (g)Vim. But when I switch to another language using language bar (Devanagari or Hindi characters), and type anything, (g)vim displays ??? ??. What I tried:...
2
votes
0answers
352 views

gvim on windows - compiled ycm plugin now crashing on start

I installed the YouCompleteMe(YCM) plugin and compiled it using the provided instructions, one after the other for all options excluding rust. Below is a reproduction of the commands I ran, the reason ...
4
votes
0answers
176 views

Vundle won't install plugins due to an error about AppData/Local/Temp

I am on Windows 10. I just installed Vundle and now I am trying to run the PluginInstall command. However, I am getting errors saying it can't open a file in AppData/Local/Temp. This does occur on all ...
4
votes
1answer
1k views

Why do symbols look ugly in gvim?

I'm on Windows 7 with Vim 7.4, and Unicode symbols with the Hack font look awful. Am I missing a setting somewhere? Is there a way to improve this? For reference, this is gvim: and this is atom: I'...
17
votes
3answers
9k views

Neovim on windows 10 - is it ready and how to set it up?

I am stuck on windows 10 and would like to give Neovim a shot. Is it ready, or should I just set up my vim configuration for the moment? I haven't really seen any videos or articles on Neovim under ...
11
votes
1answer
598 views

How do I stop my window from moving when using vsplit?

When using :vsplit my gvim window jumps to a specific screen location. How do I stop this from happening? Same thing happens when the second to last split is closed. I'm using gvim on Windows.
9
votes
2answers
3k views

How do I use Python plugins on Windows?

I have Windows 7 64-bit, with python 2.7.11 and python 3.5.1 (both 32-bit) installed, and I have compiled vim with python/dyn and python3/dyn, but I keep getting the following error: :py print "hello"...
6
votes
1answer
68 views

How can I automate checking for new Vim releases on Windows?

Following up my earlier question (How can I install 64-bit Vim on Windows?), I'd like to automate updating Vim. On Linux, I let the package manager and its frontends take care of checking for updates ...
16
votes
4answers
14k views

How can I install 64-bit Vim on Windows?

Vim's Downloads page says the 64-bit version is discontinued: Win64 The 32-bit version of Vim runs fine on 64-bit windows. There was a 64-bit binary, but it wasn't used much and maintenance ...
3
votes
0answers
79 views

Strange characters appear after leaving insert mode on Windows

I use Vim v7.4 on a Windows laptop. Recently, I copied my .vimrc from a Mac, only to find that every time I leave insert mode, a sequence of strange characters will appear: These characters (right ...
2
votes
2answers
1k views

Vimscript-python support not working in terminal

When starting vim in a mingw64 terminal emulator on windows, the command :py print(1) fails, saying Could not load library msys-python2.7.dll Sorry, this command is disabled, the Python library could ...
6
votes
2answers
3k views

Tag navigation using CTRL+] does not work with Non English keyboard on Windows

When using gVim on Windows 7 I cannot use ^] (CTRL+]) to jump to tags as described in the Vim documentation: <C-LeftMouse> *<C-LeftMouse>* *CTRL-]* CTRL-] Jump to ...
7
votes
2answers
3k views

How to deal with string containing spaces in Vim script?

I have the following command in my vimrc: execute "set path+=".getcwd()."/**" It works well if current working directory is like /home/tamlok/my_work/. However, if the directory contains spaces, ...
0
votes
1answer
280 views

airline in conemu - changing colors on page scroll

I have finally got vim with airline plugin to work on windows with conemu thanks to this topic Almost everything is good right now except some problems with colors in airline when screen is scrolled....
2
votes
1answer
83 views

How do I combine system() and “start” in a Windows environment

I am currently using gvim in an MS-Windows environment. As part of a vim script function, I need to open a pdf file. So I call system like so: call system(l:pdf_file) This opens and displays the ...
2
votes
0answers
614 views

Gvim rendering artifacts?

I'm running Gvim 704 on Windows 7 Ultimate x64. Sometimes for some unapparent reason I get these blue dot artifacts: I'm very minimalist when it comes to plugins, I only use pathogen, ctrlp, ...
0
votes
1answer
743 views

Creating C:\Users\MyUserNameHere\_vimrc on Windows seems to override some other vimrc file

I'm running Windows 7 with gvim 7.4 installed in the default location. I have created a file C:\Users\MyUserNameHere\_vimrc with just a few lines as simple as: set nowrap set tabstop=2 set shiftwidth=...
1
vote
1answer
53 views

async_job patch in Kaoryia's gVim (windows)

Kaoryia's gVim builds for Win32/64 come with a number of extra, non-official patches enabled. Some of them are pretty clear: :set charspace=-1, for example, will tighten the space between characters;...
8
votes
2answers
2k views

Change vimtutor language

My vimtutor is in portuguese. I don't know why, because my Windows OS is in english, so as everything else. I don't remember to have chosen "portuguese" anywhere in the vim installing process. How do ...
5
votes
3answers
582 views

Keeping personal vimrc and syntax files etc in source control?

I am trying to create a (git) repository for my vim files. Now, I am already struggling as to what directory I would store my files under. As far as I can see there is either %HOME% or %VIM%, right? ...
3
votes
0answers
80 views

Is there a source for pre-built patched Win32/Win64 vims?

Turns out my problem with this answer is that I need patch 7.4.143. I can't find any download on vim.org for a Windows patched-vim installer. Is there an official distribution of patched vim 7.4 for ...
4
votes
3answers
1k views

How to resize vim on Windows 7?

I am wondering how to resize the gVim application on Windows 7. For example, I want to grab the corner of the window with my mouse and resize the application so it takes up more space on my screen. ...
5
votes
2answers
819 views

Gvim how to open several files in different buffers from MS Windows explorer

On MS Windows using gVim, is it possible to select several files from the explorer and open them in the same instance of gVim in different buffers? At the moment if I select 3 different files on ...
1
vote
1answer
68 views

Why doesn't :!start work with non-commands?

The real start command on MS Windows uses ShellExecute and can therefore open directories and documents in addition to commands. I therefore have a habit of using start . to open Explorer in the ...
2
votes
1answer
106 views

Avoid junk in the console buffer on win32

When I run vim in a win32 console window, after I exit I end up with a bunch of junk on the screen - old command output, etc, because cmd doesn't clear line contents when scrolling down. I've included ...
5
votes
1answer
1k views

Visual Differences between vim on virtualbox Ubuntu guest (through putty) OR gVim on Windows host

Ok, it's a curiosity more than a real question, I apologize in advance for long post: Usually I code with vim on a ubuntu headless, as a virtualbox guest on my stupid windows 7 host; I access linux ...
2
votes
2answers
403 views

Why won't gvim start after reinstall?

I have just reinstalled gvim 7.4 on my 64 bit Windows 7 system. gvim.exe now does not start, (or appears not to start - it may be exiting immediately) If I start vim.exe then it works fine. This is ...
1
vote
1answer
176 views

How do you open a session in an existing server?

I'm using the server mode in vim and already have an instance open with a couple of files in. I'd like to add the contents of a session file to this. However doing vim --servername vim -S ...
1
vote
1answer
88 views

I am unable to install emmet plugin on windows

My directory structure is as follows Vim/ -vim74/ -autoload/ -emmet-vim-master/ -autoload -emmet/ -plugin -doc -plugin/ -color/ -ftplugin/ -vimfiles/ -...