Questions tagged [microsoft-windows]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
404 views

Run command to disable a plugin in modeline

System: gvim 8.1 1-116 / windows10 A file that I'd like to use modeline (enabled): # vim: ft=python but disable ale plugin that will trigger on save - the file contains some python codes. Command ...
0
votes
1answer
799 views

How to change gVim icon on Windows?

When open gvim, there is a small icon Vim in the title plus buffer name. I'd like to be able to hack anything about vim, including being able to change this gvim's icon. Is there a way to do that?
0
votes
2answers
130 views

How do I debug normal/insert/cart mode shortcuts that don't behave as expected? [closed]

I am using exactly the same version of Vim (Gvim 8.0.1123) across all my Windows machines, and only have the following problem on one of them: Problem That I cannot use <c-d> in insert-mode, ...
0
votes
1answer
615 views

Why can I still run "vim" in cmd and powershell without put the directory of vim in the list of environment variables on windows 10?

I installed gvim 8.0 on Windows 10. And I find that there's no item about vim in the list of environment variables. Look at the pictures below. But I can still run "vim" and "gvim" in cmd and ...
0
votes
1answer
713 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 ...
0
votes
1answer
862 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?
0
votes
1answer
310 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....
0
votes
1answer
1k 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=...
0
votes
0answers
35 views

gvim 8.2 on Windows 10 - Right Click Taskbar Icon - Recent Files won't open files with .sql extension

I'm having a problem opening certain files (file extensions .sql, .ora) from gvim Version 8.2 using the Windows taskbar icon recent files list. I have associated the .sql file extension with gvim. No ...
0
votes
0answers
18 views

Use python through pythonthreehome and pythonthreedll?

I install python use msys2 in windows but i don't know how to put the path to vim Here is my vim --version: Here is where i install python3: And python3 dll: Vimrc config: I use python for run ...
0
votes
0answers
83 views

How do I make sure terminal vim has syntax highlighting with 'cursorline' and 'termguicolors'?

I searched this issue on the web to no avail and it's most likely not here too. The issue I'm facing goes like this I am trying to switch to vim since I find it cool. I was writing my vimrc and ...
0
votes
0answers
36 views

Just installed GVim 8.2 but don't see the File, Edit, etc. menu items at the top of the window

Newbie here, sorry. I just installed GVim 8.2 on Windows 10 but I was expecting to see the familiar menu items at the top: File, Edit, etc. when I open GVim or edit a file. I have seen them when ...
0
votes
0answers
29 views

Ex - silent mode won't read commands from a file when stdin is redirected

I'm starting vim in Ex mode, silent mode, on Windows 10, in a standard command prompt window. I'm trying to re-direct stdin from a file. I'm using the terminal version of vim 8.2.2824. It doesn't ...
0
votes
0answers
137 views

Suppress warning pop-up

I'm on Windows using gVim, Vim version: 8.2.2003. I get a warning pop-up with the following error message: Some language features are not available. To access all features, enable [strictTemplates](...
0
votes
0answers
23 views

Windows save type breaks vim

So I wanted to use this plugin but if I start it, I'm getting this error message: (I changed that line a bit to hash('nvim') but the ^M still breaks the code because it has a the microsoft line-...
0
votes
1answer
57 views

Can't use the usual !!foo in vim // gvim on Windows 10 - missing tmp files

I'm running vim // gvim 8.2 (fresh off of vim.org, and was before---just re-installed to do so as administrator, per instructions I'd missed before). I've been getting this since getting this Windows ...
0
votes
0answers
24 views

gVim on Windows not distinguishing Numpad Enter

Using gVim on Windows, I'm trying to add a mapping to <kEnter>, but it seems that it's not being treated seperately from <CR>. New to Windows, so I thought this may just be an OS thing, ...
0
votes
0answers
170 views

Remapping the menu key in Neovim-Qt

I would like to map the menu key (aka application key) on my keyboard to various behaviors in Vim, but in Neovim-Qt on Windows 7, Vim does not recognize presses of the menu button. For example, when I ...
0
votes
0answers
138 views

Vim syntax highlighting becomes crazy

Some overview and history. Environment: OS: Windows 8.1 Emulator: cygwin (mintty) Terminal: xterm-256 Vim: v8.0 (Cygwin edition) Vim setup: Plugin manager: VimPlug Enabled plugins: Plug 'scrooloose/...
0
votes
0answers
46 views

Advantages and disadvantages of using 64-bit build over 32-bit build

For MS-Windows, VIM releases 32-bit executable as well as 64-bit executable. The VIM download page mentions that the 64-bit version uses a lot more memory, but is compatible with 64 bit plugins. Are ...
0
votes
1answer
218 views

How to recover unsaved text without a swap file after Vim crashed?

I am using Vim 8 in WSL Ubuntu. While copying text into a file the terminal crashed. I don't believe it is the WSL as Task Manager does not show 'Not Responding'. I have tried using this answer which ...
0
votes
0answers
41 views

Run project specific _vimrc in windows?

I'm attempted to duplicate this functionality in a windows environment running gvim 8.1 but it doesn't appear to pick up my changes. I've updated my $VIMRC\_vimrc with set exrc set secure and my ...
0
votes
1answer
896 views

Auto-Deleting Swaps, Backups and Undos while Quitting vim?

Cluttering Swaps and Backups that I never use are so annoying and takes up unnecessary space. Is there a way to delete them as one quits vim with :q and similar quitting commands?
0
votes
1answer
812 views

How to add "Edit with gVim Easy" context menu item in Windows 10

I originally just wanted to change the context menu item: Edit with Vim to Edit with gVim Easy and adjust the respective command appropriately. But since I found out, some DLL is responsible ...
0
votes
2answers
310 views

Maximizing gVim on Windows 10 while also restoring all open files / tabs

On Windows 10, I installed gVim 8.1, so far I have made the following progress to make it usable for me: I made changes directly to _vimrc file, in spite I know there is also a gVim specific ...
0
votes
0answers
27 views

error output when using commands proxied via WSL (asyncrun plugin)

I have wsl - ubuntu installed under Windows 10. Some ubuntu's commands are proxied to use in cmd by create .bat files and add them to PATH environment of windows10, pattern like following: @echo off ...
0
votes
0answers
1k views

Change runtimepath of Gvim on Windows 10

This's kind of odd question but I can't change the runtimepath of gvim to comply the same manner like under linux (plugins put under .vim) I tried to append .vim at the begin of runtimepath like: set ...
0
votes
1answer
485 views

No python support [duplicate]

I recently started out with gVim 8 for windows and i noticed that the higher end plugins that provide more functionality require python support or something like that. But for some reason i am not ...
0
votes
0answers
41 views

How can I download and easily install 64-bit Vim for Windows? [duplicate]

I'm using Windows 10. I want to view a 3.8 GB log file. I'd rather use Vim, not less(1). I looked at this question, but it really only tells me how to download 64-bit Vim, not how to install it. (...
0
votes
0answers
69 views

Strange glyph when moving commandline cursor

I recently tried vim for the (still in-dev!) Bash for Ubuntu on Windows. I noticed this odd glyph appearing on the commandline in vim - but only when moving across it. It flashes for one screen ...
-1
votes
1answer
163 views

Whitespace Tabs Show Differently in gVim on Windows/Linux versus MacVim on Mac OS

I am having difficulty getting MacVim to behave and look the same as gVim on Windows or Linux. Here's an example: gVim on Windows: MacVim on Mac OS: These are viewing precisely the same file. The ...
-1
votes
1answer
55 views

make appending strange folder to my makeprg on Windows

I recently came to use NeoVim and I was trying to configure my vim to run a single file using :make command (My g++ is from MinGW), I tried to use :let &makeprg = 'g++ -Wall -Wextra -std=c++17 -o %...
-1
votes
1answer
193 views

Black Borders in Neovim when using Windows Terminal

Why are these black borders generated when I open Neovim in Windows Terminal?
-2
votes
1answer
473 views

Windows: disable Vim's start or intro screen

The same as the existing question, but for the Windows console version. I do not see "startify.vim".
-3
votes
1answer
572 views

How to associate gvim with extensionless files on Windows [closed]

I would like to set gvim as the default program for opening files which do not have an extension (e.g. no .txt, .php, .js, .css, .html etc... suffix as part of the file name; for instance the file ...

1 2 3 4
5