keymapping

multiple “commands” in a single Sublime Text 2 user keymap shortcut

℡╲_俬逩灬. 提交于 2019-11-30 06:39:42
Is there a way to have multiple "commands" associated with one shortcut? I have these two shortcuts. First shortcut makes the window on the left larger than the right one (in a 2 column view) and the next shortcut puts the focus on the first window. I tend to forget one or the other shortcut when coding quickly. { "keys": ["super+alt+left"], "command": "set_layout", "args": { "cols": [0.0, 0.66, 1.0], "rows": [0.0, 1.0], "cells": [[0, 0, 1, 1], [1, 0, 2, 1]] } }, { "keys": ["ctrl+alt+left"], "command": "focus_group", "args": { "group": 0 } } This question makes me sound like i'm lazy but i'd

Strange key mapping in Android Studio

允我心安 提交于 2019-11-30 00:35:14
I am new to Android studio, it seems to be great IDE. But I have found that it has really strange key and shortcut mapping. I am using Czech keyboard. When I try to type ">" by pressing Right ALT + . the symbol is not appearing, and I got message box that says "Go to custom Region. There are no custom foldings regions in the current file." It is really strange behaviour, I have problem with writing many more characters like brackets,..... I tried to set keymap profiles to Visual Studio and more. But nothing seems to work. I didn't have any of these problems in any other IDE (Netbeans, Eclipse,

Visual Studio ReSharper Keymap for IntelliJ IDEA

▼魔方 西西 提交于 2019-11-29 19:56:23
I primarily use Visual Studio and ReSharper (R#) for development and have excellent working knowledge of R#. I want to leverage that knowledge in IntelliJ IDEA (with my personal Java adventures) without having to learn the IDEA keymap scheme. IDEA has a Visual Studio keymap but that mainly updates such key bindings as Find (Ctrl + F) and Replace (Ctrl + H) etc. Because Visual Studio doesn't have built-in capabilities like "Inspect This..." etc. (the kinda stuff provided by R#), those IntelliJ keybinding in Visual Studio keymap are merely a dump of IDEA's. In VS.NET, ReSharper comes with two

Strange key mapping in Android Studio

烈酒焚心 提交于 2019-11-28 21:31:21
问题 I am new to Android studio, it seems to be great IDE. But I have found that it has really strange key and shortcut mapping. I am using Czech keyboard. When I try to type ">" by pressing Right ALT + . the symbol is not appearing, and I got message box that says "Go to custom Region. There are no custom foldings regions in the current file." It is really strange behaviour, I have problem with writing many more characters like brackets,..... I tried to set keymap profiles to Visual Studio and

Add key bindings to JButtons that get their actions from action commands?

北城余情 提交于 2019-11-28 11:03:18
问题 I found a cool way in another question to create a JButton whose actions are written and viewed in an easy way: public JButton makeToolbarButton(String title, String actionCommand) { JButton button = new JButton(title); button.setActionCommand(actionCommand); button.addActionListener(this); return button; } The class this method is in implements ActionListener, and the buttons commands are assigned by: public void actionPerformed(ActionEvent e) { int action = Integer.parseInt(e

Mapping <C-Tab> in my vimrc fails in Ubuntu

£可爱£侵袭症+ 提交于 2019-11-28 05:23:53
I want to map ctrl-tab to :tabn, and ctrl-shift-tab to :tabp. I had it working for gVim in Windows XP, but moved it to my .vimrc in Ubuntu 9.10 and it doesn't work (vim 7.2). Here's the relevant section of my .vimrc: nmap <C-Tab> :tabn<CR> nmap <C-S-Tab> :tabp<CR> nmap <C-t> :tabnew<CR> <C-t> works fine, so mapping the ctrl key doesn't seem to be a problem. I really have no idea where to start! What could be going wrong here, considering it worked fine under Windows? More info: I'm running Ubuntu 9.10 server, with xorg and fluxbox installed on top. I'm using xterm as my terminal. Ctrl-tab

Using Vim with the Greek language

拥有回忆 提交于 2019-11-28 05:21:50
So I am giving Vim a serious try for coding my Python apps. However Vim is proving so flexible, I was thinking to use it as my main editor at work (lawyer/legal documents). The problem is that my mother tongue is not English but Greek. So I have mapped Alt + Shift to change between English and Greek keyboard layout. The issue I am experiencing is that I have to press Alt + Shift each time I want to enter a Vim command (to return back to English). So its Alt + Shift when I type my document, then Alt + Shift again to enter Vim commands. This defeats the purpose of using Vim, speed of use. So my

vim backspace leaves ^?

无人久伴 提交于 2019-11-28 03:19:05
In Vim, when I hit the backspace key in the insert mode, it leaves ^? character and does not delete the character it is suppose to delete. I have the following in my .vimrc syntax on set number set expandtab set incsearch set nocompatible set backspace=indent,eol,start fixdel This happens in the command mode too. When I wrongly type W instead of w to save, I press backspace key and it gives me the following: :W^? Any idea on whats wrong and how to fix it?! UPDATE: before posting this question to SO, I have done a basic google search and tried all the suggestion from the first page of search

Mapping <C-Tab> in my vimrc fails in Ubuntu

↘锁芯ラ 提交于 2019-11-27 00:55:38
问题 I want to map ctrl-tab to :tabn, and ctrl-shift-tab to :tabp. I had it working for gVim in Windows XP, but moved it to my .vimrc in Ubuntu 9.10 and it doesn't work (vim 7.2). Here's the relevant section of my .vimrc: nmap <C-Tab> :tabn<CR> nmap <C-S-Tab> :tabp<CR> nmap <C-t> :tabnew<CR> <C-t> works fine, so mapping the ctrl key doesn't seem to be a problem. I really have no idea where to start! What could be going wrong here, considering it worked fine under Windows? More info: I'm running

Using Vim with the Greek language

99封情书 提交于 2019-11-27 00:54:43
问题 So I am giving Vim a serious try for coding my Python apps. However Vim is proving so flexible, I was thinking to use it as my main editor at work (lawyer/legal documents). The problem is that my mother tongue is not English but Greek. So I have mapped Alt + Shift to change between English and Greek keyboard layout. The issue I am experiencing is that I have to press Alt + Shift each time I want to enter a Vim command (to return back to English). So its Alt + Shift when I type my document,