Nano. Copy (Alt+6) Doesn't work - nano

I am using nano version 2.2.6 and I have no idea why copying isn't working.
What I do now is cut and then paste it two times, but before, I was using Alt + 6 without problem, what happens¿? Thank you in advance

After marking your desired text, copy it by entering (alt+shift+6) or (alt+^).

In my graphical desktop environment (i3 window manager), which "hosts" applications such as nano, nano's copy keyboard shortcut Alt+6 didn't work because I had previously set up i3 to use Alt as its own modifier key. With this configuration, pressing Alt+6 is interpreted and swallowed by i3 ("select i3 workspace/desktop 6") and never reaches nano.
The workaround of adding Shift to "escape" i3's keyboard interpretation also didn't work, as Shift+Alt+6 was also explicitly bound by i3 ("move current window/application to i3 workspace/desktop 6").
I solved this issue by changing i3's modifier key to Windows.
Since then, nano's copy keyboard shortcut Alt+6 works again and doesn't collide with i3's Windows+6.

Related

IntelliJ IDEA terminal exiting process command (control + c) doesn't work

When working with the built in terminal in IntelliJ IDEA 2016.2.3 on OSX El Capitan the process exiting command (control-c) doesn't work. It only writes c in the console and nothing happens.
Control+C and then ENTER works in 2018.3 (in Windows).
According to your settings it should be Meta + C. Normally it is the same key combination used to 'copy' purpose.
Anyway you can check and use as follows,
Go to Settings -> Keymap
On the top-right corner type 'copy' and press Enter.
The first key pair (here Meta + C ) should be the one you needed.
You can also change the keymap you are using from the 'keymap' drop down menu appearing here, and switch to a different one, if you are not comfortable with your settings. 'Mac OS X 10.5 + would be a good one for you.
Problem solved automatically with installing a newer version of IntelliJ IDEA.
You can close the terminal session by clicking the red X on the left of the the terminal tool window, and this should also kill any processes created by the terminal. If you want to run another command, just open the terminal back up.
Keymapping works if one got a few dime of time in their hands. For me, just pressing "q" and hitting enter comes out of existing command in the terminal.
Note: you wont see anything that you may type, so just go with the flow!!!
For me is ctrl+F2 to terminate the process.
For me it was ctrl shift w. But it closes terminal window.
Just right click to see context menu, you'll see.

Idea shortcut 'Go To Implementation(s)' doesn't work

I faced a very strange problem: in someday(I don't really know when) the shortcut
Ctrl+Alt+B stoped working. This shortcut is just Go To Implementation(s). I still can do it by Ctrl+Alt+Mouse1.
I opened settings, to check how is this shortcut configured - all looks fine for me. So I tried to remove Ctrl+Alt+B and add the same combination again.
In Enter Keyboard Shortcut window I have to press key's so the IDEA would be able to set this shortcut. But I cannot record these combination, I still can record Ctrl+B, Ctrl+Alt+Shift+B, Alt+B, but not the right combination.
I looked at idea log file, but there was nothing criminal.
I wonder if some other application catches this combination, but I doesn't know how to find this application.
PS. I run my Idea on win7
By the way you're describing it, I strongly believe that the problem is not related to the IDE itself but probably some other program listening for that same key combo in a global level.
Its common to lose some keybinding after installing new applications or drivers. For example, I've lost some key bindings in my IDE after installing drivers for Intel Integrated Graphics. The driver was "stealing" hotkeys like Ctrl + Alt + < arrow > used to rotate the screen.
Double check for newly installed or updated programs/drivers, and make sure that they don't have any shortcut that may be conflicting with your IDE.
Also, you might use Hotkey Commander to verify which program is handling your Ctrl+Alt+B.

Why has the 'to lowercase' shortcut been removed from VS2015?

In previous versions of Visual Studio, you could make all selected text lowercase with CTRL+U, and all uppercase using CTRL+SHIFT+U.
The uppercase shortcut remains in the 2015 version of VS, the lowercase shortcut, however, has been removed.
Does anybody have any info regarding this?
I thought it may have been because it conflicted with a shortcut for newly introduced functionality which had to take priority, but the only CTRL+U shortcut relies on a previous combination of keys too.
I had the same issue because I have resharper installed which overwrites VS shortcut Ctrl+U
Instead of using the shortcut keys you can do it though menu (Edit -> Advanced -> Make Uppercase; Edit -> Advanced -> Make Lowercase) as you can see from the screenshot below that make upper has a shortcut while make lower doesn't!
to fix this issue you can go to Tools -> Options -> Environment -> Keyboard -> Type "makelowercase" in show commands containing: to filter commands -> Edit.MakeLowercase -> Press shortcut keys -> Ctrl+U. did you notice the lowest most filed "Shortcut currently used by:" that's how I knew that resharper is what overwriting this vs shortcut.
https://msdn.microsoft.com/en-us/library/ms165341.aspx
check the reference from the above link, you can see they are still using this shortcut for VS2015
I just ran into an issue that might shed light on why this was removed.
The keystroke for uncommenting is ctrl + k + u, which I managed to screw up without noticing the effects until it was too late to ctrl + z it away.
I had to do a whole bunch of find/replace to repair the damage that ctrl + u allowed me to inflict on my code.

how to return run default content for intellij

I used one of the best shortcuts for Intellij:
Ctrl+Shift+F10
And it runs default content, which will be open.
I don't know how, but now it really do nothing.
All other short cuts are ok. And this one is dead (doesn't work anymore).
How to return to this useful short cut (or general set to Intellij default)?
Well since you have a psvm method, and your focus is in the code for that class when you press the shortcut, and given your caps key isn't on, then you should see IntelliJ try to make before running your code.
Do you see it Making ?
If not, it's likely another plugin or action has stolen the key shortcut.
Go to Settings -> Ide Settings / Keymap, and type RunClass in the search box.
You should see this: Run context configuration -> Ctrl + Shift + F10
If the key shortcut is missing, assign it.
Hope this helps.
P.S. I was recently using the Haskell IntelliJ plugin which conflicted with this shortcut. Disabling it did the trick to restore it.

How to fix IntelliJ Idea not closing tabs by Ctrl+F4?

I happen to use IntelliJ Idea 10.5.2 with Scala and SBT plugins to code in Scala on an XUbuntu 11.10 system with Oracle JDK 7.
And I can't close editor tabs with Ctrl+F4 (while right-clicking on a tab shows this shortcut for closing).
Any ideas about the reason probable and a way to fix?
Looks like xfce uses Ctrl+F4 as global shortcut that gets captured before it's propagated to IntelliJ. See this page for how to change shortcuts.
Alternatively you can also change the keybindings in IntelliJ. Use 'File|Settings' and got to 'Keymap' in the settings window. The 'close' action is bound to Ctrl+F4
Adding a new answer to this old question as duckduckgo brought me here. This shortcut can be edited quite easily on any version of Xfce (4) which has the Settings Editor app (tested on XUbuntu 18.04).
Launch Settings editor, and on the left column (channel) select xfce4-keyboard-shortcuts. Now on the right find any entry with the value <Primary>F? (primary means ctrl). Some entries can be deleted by pressing the reset button (the ones under xfwm4->custom). While you are at it, you might want to remove all the <Alt>F? bindings too (except Alt+F4).
The entries under xfwm4->default cannot be deleted, but the trick here is to edit the entry and remove any value.
I've read that this was editable in previous versions, but the value was in a text file somewhere (just sharing this in case anyone is using an older version of Xfce).
If you are using a Dell laptop where the F4 keys is used to 'mute' the sound. Muting the sound with the F4 key will disable the F4 key.
Try to unmute, function key 'fn'+F4 to unmute (lamp is not lit on key).
Then you can use CTRL+F4.