Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions specific to Vim implementations on the Microsoft Windows operating system.
1
vote
Accepted
Escape % when using :!echo %HOME% with cmd.exe
I believe it works if you escape % with \
:!echo \%home\%
2
votes
Accepted
How to escape spaces on Windows path in autocmd?
I would do:
au BufNewFile C:/my\ new\ path/*.md :silent 0r !"C:/my new path/template.py"
You need to escape the space in the pattern (and avoid to quote it)
The path could contains spaces but needs t …
0
votes
Why is config files in Windows not in .config
On Windows the usage is to push the programs to store their user configuration in:
~/Local/ (%LocalAppData%) or in
~/Roaming/ (%AppData%)
A fair fraction of the program are doing so.
You can see %Lo …
1
vote
Accepted
Caps-Lock plus Shift for lower case alphabet
It is a problem of gVim 9.0.
It has been resolved in gVim 9.1.
0
votes
How to make <C-CR> not sending 13;5u to the terminal (on Windows)?
If I had the following code to my vimrc file the correct sequence is sent to the console.
tnoremap <expr> <C-Cr> SendToTerm("\<Esc>\<Cr>")
function! SendToTerm(what)
call term_sendkeys('', a:what)
…
1
vote
Accepted
Does gvimfullscreen.dll working with gVim 9.0 on Windows?
If you are using a 64-bit version of Vim you have to adapt the call to use the 64 bit version of the dll:
" Fullscreen with Alt-Enter
function! ToggleFullScreen()
if has('gui_gtk2')
:call system …
3
votes
Accepted
Python not working on Windows
The first things to determines to make Python working are:
Is Python compiled for Python?
What is the Vim architecture (32 Bit or 64 Bit)?
What is the Python version that Vim expects (3.6, 3.10, ...) …
1
vote
Accepted
Lazy.nvim - change plugin install location for Windows 10
You can influence the path of the nvim-data folder by setting the: XDG_DATA_HOME environment variable.
If set, the path of the nvim-data folder is %XDG_DATA_HOME%\nvim-data
Setting XDG_DATA_HOME to C: …
2
votes
Accepted
Why does my Vim/VsCodeVim requires double tapping '^' to go to the first character of the line?
I suspect that in your keyboard layout (like in mine ;-)) the ^ key is an 'dead' key, it produces a character only in combination of the next one ^o gives ô, ^^ gives ^.
The solution I have is to use: …
2
votes
Accepted
The python library could not be loaded
Problems
The problems could be:
Version Mismatch
Depending of the version of Vim it is link against different version of Python:
The standard Vim 8.1 and 8.2 is linked against Python 3.6
The standard …
4
votes
Accepted
How to install LunarVim on Windows?
I believe the instruction you followed are for a Unix shell.
I didn't install it myself but I believe you have to download and run the following powershell script on Windows: install.ps1
In a powershe …
1
vote
LeftMouse focus window without moving cursor
You can set the option mousefocus
:set mousefocus
When you move the cursor on the window the window is activated but the cursor is not changed (not exactly what you ask but close).
You can use the mo …
2
votes
Accepted
How can I debug a nerd font not working on Windows + Neovim?
nvim.exe
If you run the console version of Neovim (nvim.exe) then the font used is the font of the console you are using (e.g. cmd.exe)
To control the font you have to configure it in your console. Ea …
0
votes
How to install VimTex on Neovim (NvChad) on Windows (not WSL)
You need to modify the file: ~/nvim/lua/custom/plugins.lua by adding the following section:
{
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomme …
1
vote
Minimal Neovim setup for C# auto-formatting (Windows)
I would propose to use: Neoformat
Neoformat support all the plugin manager (vim-plug, lazy, packer)
With the following configuration (nvim/init.vim):
augroup fmt
autocmd!
autocmd BufWritePre *.cs, …