I need to enter code into WinSCP terminal.
How can I do that besides typing each symbol?
How can I simply copy and paste the command lines?
I tried "Ctrl+V" - doesnt work.
Does it required some different keyboard combination in order to paste test?
Righ-click on the Window header → Edit → Paste:
UPD: By the way, if you want to paste it without doing this every time, right-click on the Window header, choose "Properties", enable "QuickEdit Mode", and click "OK". Now you can paste strings with a single "right-click".
Additionally to the answer by #Victor, since Windows 10, Ctrl+V (and its companions) can be enabled using the console option Enable Ctrl key shortcuts (I actually believe that the option is enabled by default).
Related
I work on Windows 7. Have the following problem. Want to copy a text from Anaconda prompt to a website.
I marked a given line in Ancaconda prompt, I click 'mark' in the menu, mark the text - but when I click right the marking vanishes. I also tried Ctrl-C and Ctrl-V but it doesn't work either. What is my mistake?
Step 1: Right click on the title bar of the Anaconda Prompt.
Step 2: Select Properties.
Step 3: Under Options section, select all the check boxes of Edit Options and Text Selection, then click OK
Hope this helps.
Ctrl+C to copy anything from anywhere, as usualRIGHT CLIC inside Anaconda Prompt window to paste
Right click on the title bar of the Anaconda Prompt.
Select Default Value instead of Properties.
Check last term of Edit Options.
Restart the Prompt.
It's simple.
USE:
Copy: Enter
Paste: Ctrl +V
I found how to do this.
You select the text you want, then *don't * do Ctrl-c or any other combination. Instead right click the title bar and check in the menu that appears a "Copy" option. (I think it is inside another menu).
Once you do this, the text is copied in the correct way and you can just Ctrl-V in your own application, editor , etc
I am trying to display all possible words after putting the cursor in certain place in the code.
The autocomplete list appears when I start writing/typing:
However, I would like to see all suggested words even before typing.
I tried command + space, however it was a system shortcut for Search in macOS:
Any thoughts?
In case you are a CJK user using Mac, Ctrl+Space will not work, since it is used to switch IMEs.
There is another keyboard shortcut for triggering suggestions:
Option+Esc (Mac)
Alt+Esc (Windows)
Also see this post.
VS code version: 1.41.1
I solved this problem using fn+control+space.
Hope it helps you.
"change input source" keyboard shortcut should be disabled
To disable it->
Go to system preferences -> keyboard -> input sources
add a new input source (choose ABC)
Go to shortcuts tab (inside of keyboard settings)
Click on input sources on the left
disable the "select previous input source" shortcut
restart your vs code and now ctrl+space will show quick suggestions.
You can use the following alternative keyboard shortcuts:
⌘+I (mentioned in the official VS Code documentation for "Trigger suggestion")
⌥+esc
fn+control+space
The shortcut for the "Trigger Suggest" command is ⌃Space (ctrl+space) — as mentioned in the comments.
Most default shortcuts can be found in the documentation, which will automatically show the correct keybindings for the system you're on. In other words, if you visit the page on a Mac, you'll see Mac keybindings.
Additionally, you can:
go to Code > Preferences > Keyboard Shortcuts (on a Mac) and search for keybindings based on the command you want to execute
open up "show all commands" (⇧⌘P on a Mac) and search for the command there, allowing you to either view the keybinding for that command, or simply navigate to it directly from the search
Of course you'd have to have some idea of what the command's name might be. And in this case, a search for "suggest" would suffice.
If you use too many keyboard layouts, maybe the MacOS shortcut might be active. You can disabled ^(Ctrl)+Space shortcuts for MacOS.
System Preferences>Keyboard>Shorcuts>Input Sources> Disable Select the previous input source.
You can use next shortcut for change input sources.Ctrl+Alt+Space
when I was set up 2 keyboards with different layouts, and it turn out it overrides the ^+Space behavior, so this is how fix it:
Go to system preferences -> Keyboard -> Keyboard shortcuts
Click on input sources
and disable the "select previous input source" shortcut
I am running IPython on Windows 7 and can use the %paste magic command to paste from the clipboard. However, I cannot copy from IPython to the clipboard. I want to copy code snippets from IPython and paste them back to a text editor.
Anyone know a fix for this?
Found this gist to add a %copy magic command, my fork adds supports osx/linux/windows platforms.
I have yet to test it on windows, so please tell me if you encounter any issues.
As mentioned by #AdrianRatnapala, you can right-click in the terminal window and select Mark, mark the code snippets you want to copy, and then right-click (the marked content is copied to the clipboard when you right-click).
A more "permanent way" to use this feature is to right-click on the title bar of the terminal window and choose Properties. Under the Options tab, tick the box next to QuickEdit Mode and save this setting.
A third option is to use IPython's Qt Console. You can use this by entering ipython qtconsole in the command prompt.
A real permanent mode is to do what sodd has told, but a little bit different:
Right click in the top of the shell window, but use default instead properties option, also select options and Quick edit mode. Now this setting will survive in the next shell activations.
So it's very easy to copy and paste
Drag and drop to draw a rectangle inside shell screen and press Enter. The content is is in Clipboard. After, if you can paste this in the shell it's just press Right key or outside, use the usual Ctrl+V.
The cool thing is that you can now omit the number of commands in the copy.
I'm trying to write my function's arguments in a text editor and paste them into the console, but the console won't let me.
(My list of arguments is long and the formatting starts to go crazy.)
I'm using ghci running in a cmd.exe window.
What can I do?
As pointed out in the comments, in a windows console you can right-click the title bar and do Edit > Paste.
If you'd rather just right-click in the window to paste immediately, you can turn on QuickEdit Mode:
Right-click the title bar of the window, and choose Properties.
Select the Options tab
In Edit Options, tick QuickEdit Mode
Click OK, and when it asks you, choose
Save properties for future windows with the same title. This means it'll happen every time you run ghci.
Works under XP, and as far as I can tell via Google, the same trick works in Vista and Windows 7.
This also has the effect that you don't need to choose Edit > Mark to select text. (Press enter after selecting to copy, and of course, right-click to paste.)
How can I copy and paste in irb (Interactive Ruby Shell) on Windows?
To avoid having to open the drop-down menu and clicking, you need to change the command window settings. To do this, right-click the title bar, choose Properties, turn on "QuickEdit Mode" under the Properties tab (and keep "Insert Mode" on), then OK.
Now, to copy: drag to select, right-click to copy.
To paste: right-click with no selection.
To copy: Hit alt-space, choose Edit, choose Mark, drag-select the text, hit enter.
To paste: Hit alt-space, choose Edit, choose Paste.
For CLI copy/paste:
Copy : Ctrl+insert
Paste : Shift+insert
You might want to consider using Console, a replacement for Windows' terrible command-line chrome. It offers fully redefinable keyboard shortcuts plus tabs, so it's ideal for IRB.
check out console2--very nice and allows you to paste by using right click or what not.
Update: conemu is even better: http://conemu.github.io/