Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I installed vim on Windows 10 with chocolatey. Copy and Paste don't work when I invoke vim in powershell. I expect them to work as long as I'm in insert mode. How can I make copy and paste work?
https://n3wjack.net/2014/08/25/setting-up-vim-on-windows/ has the answers.
Open vim and type the following:
:edit $MYVIMRC
This will edit your .vimrc file wherever it might live. (On my system, it was in c:\Users\<my_username>\.vimrc, but you might have weird configuration issues, so just let vim find the file for you.
Then, copy+paste the following into the file:
source $VIMRUNTIME/mswin.vim
behave mswin
Then save the file.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I installed vim on windows 10 using chocolatey. When I edit a foo file in powershell, vim leaves behind .foo.un~ or .foo~ files. What are these and how do I stop vim from leaving them around?
These files are backup and undo files. vim also creates swap files if it crashes while editing.
From https://coderwall.com/p/sdhfug/vim-swap-backup-and-undo-files
In powershell, create the following directories:
~/.vim
~/.vim/.undo
~/.vim/.backup
~/.vim/.swp
Edit your .vimrc file by opening vim and typing:
:edit $MYVIMRC
Then, add the following lines, and save:
set undodir=~/.vim/.undo//
set backupdir=~/.vim/.backup//
set directory=~/.vim/.swp//
vim will now put your undo, backup, and swap files in the ~/.vim/.undo, ~/.vim/.backup, and ~/.vim/.swp directories, respectively.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Can't even open ps1 files in vscode from File Explorer. With both (json and ps1) I get a tone with no message that I can find. Everything opens fine if I open directly from the "open file" menu item in vscode. I don't think it was like this before installing PowerShell.
It sounds like a permission error or a bad installation of vscode.
I recommend you reinstall vscode & make sure to check all these 4 boxes in this image below, we will see how it goes after.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a problem probably totaly beginners level but anyway it drives me crazy so please help.
I can´t edit any code in the program when i try it looks like i´m in "insert" mode with like a block cursor.
I can´t delete anything or write anything. What could it be? and how do i fix it?
I am on a macbook pro.
I believe the reason is that you installed vim extension in vscode by mistake as it puts you in the insert mode by default until you press (i) to edit text. uninstall vim extension and things should go back to normal. or refer to this vim cheatsheet for more information about using vim as a text editor.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
How to install a extension on visual studio code using cli or cmd and also how to change the default terminal to any other like by default it uses cmd and i want to change it to cmder so please somebody help with this problem
Currently vscode doesn't support installing extensions through cli.https://github.com/Microsoft/vscode/issues/691
You can specify the path to shell by editing terminal.integrated.shell.windows of your preference
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am running ftp in windows command line and the operating system in windows 7.
Where do files get downloaded to locally when i do a get operation?
The command line ftp client uses the current working directory (which can be changed with the lcd command)