Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coc-lists is automatically creating a vimfiles directory for me, even though I already have a .vim directory under Git Bash. #150

Open
markwu opened this issue Nov 5, 2023 · 2 comments

Comments

@markwu
Copy link

markwu commented Nov 5, 2023

coc-lists is automatically creating a vimfiles directory for me, even though I already have a .vim directory under Git Bash. It appears that coc-lists is treating my environment as Windows rather than Linux.

My Vim path is /c/Users/markwu/.vim, but coc-lists is creating c:\Users\markwu\vimfiles for me.

My environment is Windows 10 with Git for Windows (Git Bash).

@markwu markwu changed the title coc-lists create vimfiles for me automatically, even I already have .vim under GIT BASH coc-lists is automatically creating a vimfiles directory for me, even though I already have a .vim directory under Git Bash. Nov 5, 2023
@markwu
Copy link
Author

markwu commented Nov 5, 2023

And it is also creating a session files for me automatically.

@fannheyward
Copy link
Member

coc-lists will save sessions to vimfiles in window

const folder = isWin ? 'vimfiles/sessions' : '.vim/sessions'

You can change the session.directory manually to .vim folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants