14

I think tuxproject.de is the way to go and I think, it will pick up Python dll, if they are in your path and are also 64bit. The easy way is to copy them to your .vim directory, to make sure vim will find them when trying to load them. There is another alternative (and I really hope this will become official). We are trying to build binary Vims as part of ...


14

When I have to work on Windows (which is more often than I would like), I use Cygwin to get a terminal a little less crappy than the original Windows command line. Cygwin provides an environment which tries to be close to a Bash console with standard Linux commands, and of course it is far from being flawless. See the project page of Cygwin. During the ...


12

The function you are looking for is fnameescape(). It will escape all special characters in a given string containing a path to a file to match the standard of the current operating system. For more on this see :help fnameescape()


12

This happens because when vertical splitting the window, vim needs to add a vertical scrollbar, which causes vim to recalculate the visual size and eventually makes vim jump to a different screen location. The current workaround is to :set guioptions-=r guioptions-=L Update As of patch 8.0.1278, you can also use :set guioptions+=k to prevent Vim from ...


11

Testing the value of the win64 feature should tell you: :echo has("win64") If the output is 1, then your Vim installation is 64-bit. See: :help has() :help feature-list and search for 64.


11

Since 7.4, all your configuration files (even your vimrc) are expected to be in this directory: %userprofile%\vimfiles\ But the name and location of that directory only matter to Vim. From Git's point of view, that directory could as well be /etc/foo/bar/ without any impact whatsoever. So... put your vimrc and all your third-party scripts in %...


11

Say hello to knowledge fragmentation: https://stackoverflow.com/q/6932702/520162 This question was already asked and answered on StackOverflow. The key is to press CTRL and the key that is located where the ] lives on the US keyboard. I had the issue with a QUERTZ German keyboard and have to press CTRL-+ Compare: US keyboard: German keyboard: Another ...


11

As on other vi/vim versions, you can use :w! to force the write, as long as you have permissions to override the read-only property. For example, if you have set the file as read-only, the above will work. If Windows itself or an administrator has set it read-only, you will need another option. As @dash-tom-bang commented, one good example is within ...


11

As of Windows 10 Anniversary Update, you can use the Bash on Ubuntu terminal to run a Linux subsystem where you can apt install anything you're used to inside Ubuntu. Your Windows file system is mounted so you can use Vim inside the shell to edit your files.


10

PuTTY, like other high-color terminals, only supports a fixed color palette of 256 colors. GVIM can use the full 24-bit RGB color space; that's why you see "finer" nuances there. As for attributes, GVIM offers undercurl, which is not present in any terminal, and free mixture of bold (depending on configuration shown with lighter color instead) and italic (...


10

As stated on neovim wiki: Windows support is (currently) experimental. To try it out, you need nvim.exe and a front-end such as Neovim-Qt. However there isn't a list of all features that are missing or unstable. The best way to discover is actually installing and trying.


8

I'm aware this is a very old question but I recently found a good solution. After much frustration, I came across these ways to access the windows system clipboard by copying and pasting. By copying, with vim version >= 8.0.1394, as noted in another answer https://vi.stackexchange.com/a/15190 let s:clip = '/mnt/c/Windows/System32/clip.exe' if executable(s:...


7

You can set the 'lines' and 'columns' options from within Vim to resize the window. For example: :set lines=55 :set columns=120 You can add this to your vimrc file to do it automatically. This will work on gVim on any platform, and in most terminal emulators. Related question: How do I get gvim to start maximised in Windows?


7

You're seeing the effects of the Windows File System Redirector. When you edit files in %ProgramFiles% without administrative rights / user account elevation (which isn't allowed in modern version of Windows), Windows redirects the file access to another location inside your user's home directory (to support legacy applications that were written to persist ...


7

In alternative to the maximized window, why do not gain more space for a full vim multiwindows editing experience with an autostart FULL SCREEN mode? ;-) FULL SCREEN screenshot of the final result (= ALL THE VIDEO pixels capacity): In my opinion that's better than a windows maximize: a complete FULL SCREEN (as I used to do with puTTY with ALT-Enter when ...


7

I was just looking this information up and I only found one x64 version not mentioned by Christian. Here's a summary of the interfaces each version supports today to give you an idea of how well they stay up to date: Nearly Official Vim 7.4.1832 and x64 Interfaces: ActivePerl 5.22, ActiveTcl 8.6, LuaBinaries 5.3, Python 2.7, Python 3.4, Racket 6.4, ...


7

All right, apparently the state is this: VIM on Windows supports python 2.7.9, not 2.7.11. It might work with 2.7.10, I did not test it. Even though I compiled VIM on Windows with a reference to the 2.7.11 DLL, it suddenly worked when I tried swapping out 2.7.11 for 2.7.9 I'm not sure if I did something wrong with 2.7.11, and it actually does work, but I ...


7

It is distributed with Vim (as xxd.exe), along with diff.exe. So it exists and should work on Windows. You don't need to install anything separately, as it is already bundled with Vim (at least in the versions available from vim.org).


7

You need to install Python yourself on Windows. If you type :version, you should see +python/dyn and +python3/dyn. On Windows, this means that Vim is compiled to dynamically load the Python DLL. You can read about this in :h python-dyanmic. Depending on the versions you install, you may want to look at :h pythondll and :h pythonthreedll If you install ...


6

First, lets view the steps listed in the README for installing the plugin in Linux. the steps are: Download the zip. run cd ~/.vim run unzip emmet-vim.zip I'm assuming you know how to do the first step. The second step requires you to change directory into the ~/.vim folder - the folder where (also) the plugins are saved on Linux systems. This folder on ...


6

You can capture a full log of a Vim session with gvim -V20vimlog. After quitting Vim, examine the vimlog log file for suspect commands. Also, it may be something in your configuration, so try launching with gvim -N -u NONE (which ignores plugins and your .vimrc).


6

1'st method Run vimtutor (from command line) with 2 letter language code like: vimtutor en (for English) vimtutor pt (for Portuguese) etc... 2'nd method Open tutor with different language with: vim /usr/share/vim/vim74/tutor/tutor (for English) vim /usr/share/vim/vim74/tutor/tutor.pt (for Portuguese) etc... (The same default path applies to Cygwin ...


6

If you have a recent Vim, you may try to enable DirectX rendering. It should improve "wide" font rendering, among other things. Here's an example vimrc snip: if has("gui_running") set guioptions=icpM if has('win32') || has('win64') if (v:version == 704 && has("patch393")) || v:version > 704 set renderoptions=type:...


6

The user's runtime directory is $XDG_CONFIG_HOME/nvim. When $XDG_CONFIG_HOME isn't set (which is the typical case), then the default directory is ~/AppData/Local on Windows and ~/.config elsewhere. OS | Vim | nvim -----------|------------|--------------------- Windows | ~/vimfiles | ~/AppData/Local/nvim *nix/macOS | ~/.vim | ~/.config/...


6

set mouse= is the fix for the problem, with set t_BE= substituted in an xterm environment. The 'bug' these fixes solve was actually intended as a 'feature': creating an obstacle to pasting vi commands would be good if malicious code were somehow inserted onto user's clipboard. Kudos to a guy named Elijah, on another message-board, who researched and solved ...


5

You should be able to drag the corner of the window with your mouse. I can resize gVim on Windows 7 this way. The Vim shortcut opens a console window that cannot be resized larger by dragging it with the mouse, so make sure you're running gVim and not Vim. Alternatively, you can use the keyboard to resize gVim. The exact key sequence to access the Size ...


5

For Windows, the home directory is set in %USERPROFILE%. I believe vim will use this as $HOME. In my case, the _viminfo is located in the C:\Users\<username>, which is the home directory, while the %HOME% is not set as well.


5

Not sure why this happens. What works is to use :call system('start /b '.l:pdf_file) I guess you want the '/b' parameter anyhow, since this will prevent popping up a cmd windows. Also you probably want to use :sil! to prevent an error message, because vim tries to read back the result of this call. Perhaps it is easier to use :! start /b foobar.pdf


5

The default encoding seems to be latin1: :set encoding? encoding=latin1 When entering characters, Vim tries to convert them from the incoming character set (probably unicode) to latin-1. This fails since latin-1 doesn't have these characters. Hence the question marks. Opening an existing file (Saved with notepad or some other program) should result in ...


Only top voted, non community-wiki answers of a minimum length are eligible