Programmer’s VIM setup for Finnish/Swedish or other non-US keyboard layout

I just keep the keyboard with US layout when coding and only switch to local layout (italian) when writing text that requires accented letters or other language specific characters. After all it’s just a keypress to switch and nothing beats US layout for programming. I tried a bit but found that specifying lots of mappings …

Read more

How to avoid constant switching to and from English keyboard layout to type Vim commands when writing in non-Latin language (e.g., Greek)?

This problem can be solved with the help of the keymap option. It allows to define an alternate keyboard mapping to use in modes requiring text input. To switch between the default and alternate keymaps while in Insert, Replace, or Command-line mode (but not Normal mode), use Ctrl+^ (Ctrl+6). Changing the keymap affects text input …

Read more

Import IntelliJ key bindings to Xcode

I just created a repository with part of IntelliJ bindings migrated to an xCode template(including the custom duplicate line). Feel free to give it a look, try it and keep improving it. Sadly the only way we can achieve this is doing it manually. https://github.com/FrangSierra/Xcode-IntelliJ-Keybinds There is also another repository with the color theme of …

Read more

What is the IntelliJ IDEA’s Keymap’s abbreviation feature useful for?

According to Andrey Dernov from JetBrains Support: You use abbreviation added in keymap for quick search an action when “Search everywhere” (double Shift). After adding “foobar” abbreviation to Git annotation command. I can find the abbreviation and invoke the command with double Shift. Unfortunately, the functionality does not support partial entry. I personally find Shift-⌘-A …

Read more

Does IntelliJ have a `Ctrl` + `K`,`Ctrl` + `D` Sublime equivalent? How do I skip a match when using Alt+J for multiple selections in Android Studio?

Check http://blog.jetbrains.com/idea/2014/03/intellij-idea-13-1-rc-introduces-sublime-text-style-multiple-selections/ Select next occurrence: Alt + J (Ctrl + G for Mac OS X) Unselect next occurrence: Shift + Alt + J (Shift + Ctrl + G for Mac OS X) Select all occurrences: Shift + Ctrl + Alt + J (Ctrl + Cmd + G for Mac OS X) Remove all selections: Esc …

Read more

vim backspace leaves ^?

^? is the delete character; the backspace character is ^H. Only one of these is recognized by your terminal as “erase”, and this is determined by the terminal settings, stty. (bash and other shells understand this as a problem and do special things to recognize both) If your terminal emulator (ssh, putty, xterm, whatever) disagrees …

Read more