Questions tagged [wsl]

WSL is the Windows Subsystem for Linux; a compatibility layer which allows running Linux binaries in Microsoft Windows

Filter by
Sorted by
Tagged with
0 votes
1 answer
110 views

Nvim on WSL: escaping space in g:clipboard.paste['*']?

According to :h clipboard-wsl in neovim, For Windows WSL, try this g:clipboard definition: let g:clipboard = { \ 'name': 'WslClipboard', \ 'copy': { \ '+': 'clip.exe', \ ...
2 votes
1 answer
43 views

Why is my Vim build failing on WSL?

I'm running Ubuntu 20.04.4 under WSL2 on Windows 11. I've cloned https://github.com/vim/vim.git in the environment. (The latest commit is tagged as v9.0.0260.) When I go to the directory and do this .....
  • 41
0 votes
0 answers
245 views

Building gvim inside WSL 2 Ubuntu

Details of what already exists inside WSL 2 Ubuntu 20.04 inside Microsot Windows 11: $ vi --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32) Included patches: 1-2269, 3612, ...
0 votes
0 answers
32 views

Cursor get stuck at the statusline bar when saving a .tex file (probably due to vimtex)

To preface this, I'm relatively new to vim, and I'm using Windows Subsytsem for Linux, and the Windows Terminal if this makes any difference. So whenever I'm editing a .tex file and want to save, ...
0 votes
0 answers
29 views

Creating vimrc kills my plugin

I have the following ~/.vim/filetype.vim: augroup filetypedetect au BufRead,BufNewFile *?Script.sml let maplocalleader = "h" | source /home/gergely/HOL/tools/vim/hol.vim " recognise ...
  • 231
0 votes
1 answer
63 views

VIM + VDebug in WSL2 while having WAMP and XDebug on Windows

Whenever I need to write something I use VIM. However most of my work requires that I use Windows OS. I have WAMP server running and I used to edit PHP files just in VIM in WSL2. I then thought why ...
  • 141
2 votes
0 answers
119 views

Windows Vim overwrites WSL file mode

I'm using gVim on Windows to edit files in WSL2 Ubuntu via the \\wsl$ mapping. When I :write in Vim, it overwrites the linux file mode/permissions with 644/-rw-r--r--, no matter what the mode was to ...
  • 813
0 votes
0 answers
362 views

Neovim freezes when opening a folder in WSL2

When I open neovim with to show a folder it completely freezes. When opening a folder from the command line: nvim . I see a completely black screen When having a file open, navigating to parent ...
  • 113
2 votes
0 answers
332 views

<ESC> does not exit command-line mode. Neovim on tmux on WSL

nvim is not exiting command-line mode when the ESC key is hit. E.g., the key sequence :ff<ESC>ff gives :ffff at the command-line prompt. The expected behavior is that the first :ff be discarded ...
  • 129