-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Describe the bug
I want to use the remaps I've specified in my .vimrc file but the extension won't recognize it.
To Reproduce
- in settings.json insert these lines of code:
"vim.vimrc.enable:" true,
"vim.vimrc.path": "\\\\wsl.localhost\\Ubuntu\\home\\scjmorris\\.vimrc"
- Save the file
- See that there is a snack message that says "No .vimrc found at..." the location.
Expected behavior
I expect to have the file save and read in my .vimrc file.
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.30.1
- VSCode version: 1.96.4
- OS: Windows 11 24H2 (OS Build 26100.4946) using WSL version 2.2.4.0
Additional context
You'll see in the screenshots that I first expected to be able to use "~/.vimrc" because that's the path that I use in WSL where I typically use Vim. Then I noticed based on the snack message that it was clearly expecting a windows file. The following alternatives for the .vimrc path also did not work (note that I also attempted each of these also without the .vimrc:
\\\\wsl.localhost\\Ubuntu\\home\\scjmorris\\.vimrc
\\\\wsl$\\Ubuntu\\home\\scjmorris\\.vimrc
C:\\Users\\scjmorris\\.vimrc