Cant use alt gr + b to write left curly bracket - keyboard

So ,I am from Croatia and I use Redragod Kumara K552 keyboard and its croatian keyboard setting.On croatian keyboard, combination of keys to write left curly bracket is alt gr + b.It worked but suddendly it stoped working, but its weird because both keys are functioning normally except for that.i can still write right curly bracket using alt gr + n.It is a big problem because its slowing me down because i have to copy paste left bracket any time i want to use it.It bothers me most how long it takes to write CSS.Does anyone know how to fix this???
I just want to use my keyboard normally.

Related

Why does various functions on sublime text 3 disappeared suddenly?

I was coding on sublime text 3 and I wanted to copy and paste a section of my code somewhere else.
So I did ctrl + arrow keys. But it didn't copy and paste like usual. It only moved the thing. So I tried again, but in vain. Also, I wanted to make a doc string. So I typed double quote two times and then moved the cursor in between the quotes to wright. But when I began to wright, it replaced the last double quote with my text. I tried again and it had the same result. I tried reinstalling it, but it didn't work. I searched on stack overflow and they didn't have my question. How can I fix it?
You accidentally pressed the Insert key or otherwise got your system into overwrite mode, instead of the standard insert mode. By pressing Insert again, this is reverted, and things will be back to working as normal.

Android Studio - jump back and forth between matching braces using a single key sequence

I had to move from Eclipse to Android Studio for Android development. Many features are better, several are worse. In particular I miss the jump between matching braces (opening -> closing brace and v.v.) by means of a single key sequence.
I managed to find that CTRL ] takes you from the opening brace to the closing one, CTRL [ takes you from closing to opening brace. If the wrong [ or ] symbol is used when you ara already at an opening or closing brace, then the editor jumps to the next brace of that type.
Is there any key sequence which jumps between matching braces, like Eclipse does?
I think you want
Ctrl+}
Ctrl+{
these move to the open and close brackets.
You want a single combination to do both?
Use Ctrl
+ shift
+ M
Reference
If this helps anyone using Android Studio on a Mac OS X machine, to jump back and forth between matching braces or parentheses, use
control + m
or possibly
control + shift + m
I am using Android Studio 4.2.1 and now it seems like need to use cmd + shift + m to move to matching bracket.
Also, this one conflicts with one of the MacOS short cut and can be modified to ctrl + shift + m
Single key solution
You can do it as
Go to setting->keymap find Move Caret To Matched Brace add a shortcut to it.
That shortcut will take you to the end If you are at the opening brace And at the start if you are at the ending brace.
Additional :
1. For the Windows:
- Use <kbd>Ctrl</kbd>+<kbd>]</kbd> to move to the closing bracket.
- Use <kbd>Ctrl</kbd>+<kbd>[</kbd> to move to the opening bracket.
For the Mac:
- Use <kbd>cmd</kbd> instead of <kbd>Ctrl</kbd>.
2. For the Windows:
- Use <kbd>Ctrl</kbd>+<kbd>}</kbd> to move to the closing bracket with the code selection.
- Use <kbd>Ctrl</kbd>+<kbd>{</kbd> to move to the opening bracket with the code selection.
For the Mac:
- Use <kbd>cmd</kbd> instead of <kbd>Ctrl</kbd>.

vim move position of the closing bracket

Editing in Vim I often find myself in a situation where I want to move the position of a closing bracket.
e.g.
First i type
if a == 1 then
Then I realize I really wanted to have brackets around the 'a == 1' part so I go back and put a bracket in and end up with
if ()a == 1 then
I'm using auto-pairs plugin so the paired bracket is correctly generated.
My question is, what is the quickest way to get this to look like:
if (a == 1) then
For example currently I might
escape
use x to delete the second character
f1 to move to the 1
a to append and type ')'
It seems like there should be a way to
escape
move the second bracket a word forward.
With lh--brackets, you would simply have to select a == 1 and press (.
The surround plugin have similar mappings (they require several keys pressed, but they follow more the vim spirit).
If you really want to stay in insert mode, you can press CTRL-V twice, once before pressing (, then before ).
You can also select a == 1, and type s(^R"). (^R is for CTRL-R)

Intellij's auto insertion conflicting with vim mode

So Intellij/Eclipse have this nice functionality where typing a ' or ( automatically inserts the closing ' or ).
While this is great in normal operation, using the Vim mode/vim keybindings makes this more of a pain.
So for example I am typing a function which takes 2 strings as an argument:
new MyObject('arg1','arg2');
when I type the opening ', Intellij will automatically insert the closing '. Now when I have to type the second argument, I will have to:
Press Esc to leave insert mode
Use l to move caret after the closing '
Enter back into insert mode.
Not to mention this issue occurs when you have to type the semi colon at the end of the function call (to skip the closing )).
This seems like too many operations. Moving your hand to press escape breaks the flow of typing and the auto completion of intellj here causes more hassle than productivity.
Is there a better way around this or am I stuck with just disabling this particular auto insertion stuff?
Please check if turning Settings/Editor/Smart keys/Insert pair quote off helps

How to jump out from string value when using Resharper

I want to jump out from quotes. When I was not using ReSharper 'Tap' key helped to jump out from double quotes, but it is not working when using ReSharper.
Of course I do not want to use right arrow key.
Help please.
If you're looking to jump out of the method arguments altogether, use Ctrl+Shift+Enter (Complete Statement).
If your intention is to quit the current string value to start entering the next argument, then I'm not sure anything apart from the right arrow or Ctrl + right arrow will work.
What's the 'Tap' key btw?
As a workaround you can also use Ctrl+W which is 'Expand selection'. Pressing it around three times will select the entire string literal. Then you can press → to go to the right side of selection.
I'm not sure whether there is such a command in Resharper, but if you're saying that this command there was in VS before Resharper then you can find this command in Options->Environment->Keyboard

Resources