keyboard-shortcuts

Certain key mappings not working in MacVim

放肆的年华 提交于 2019-12-01 02:29:57
问题 I've recently switched to using a Mac at work from previously using Linux. I found out about MacVim (from http://code.google.com/p/macvim/) and have been trying to port over my previous keymappings. The mappings I used to have are as follows: Ctrl-T : New tab Ctrl-W : Close tab/window Ctrl-1 ... Ctrl-0 : Switch to numbered tab Alt-Up : New tab (same as Ctrl-T ) Alt-Left / Alt-Right : Switch to the previous/next tab Ctrl-Alt-E : Open FuzzyFinder in file mode Ctrl-Alt-B : Open FuzzyFinder in

Shortcut to change a line of words to a vertical list in Sublime Text 2

▼魔方 西西 提交于 2019-12-01 01:15:22
Is it possible to make this title on line 1 a list of items from each word or symbol seperated by a space with a keyboard shortcut. So that I can select the title and then hit a shortcut and it will make the title a list of items like below: Tried saving the Key Binding file. skuroda Nothing built in, but you can do it with a plugin. import sublime import sublime_plugin import re class SplitLineCommand(sublime_plugin.TextCommand): def run(self, edit, split_pattern=" "): view = self.view cursors = view.sel() if len(cursors) == 1: cursor = cursors[0] begin_offset = 0 end_offset = 0 if cursor

Notepad++: Adding a new shortcut for an existing command

隐身守侯 提交于 2019-12-01 00:53:19
I want to make "Ctrl+G" to open the find dialogue, just as Ctrl+F" (so both shortcuts open the same "find dialogue"). I know I can modify the existing shortcuts of commands through "macro > modify shortcut", but it allows changing the shortcut only, not the "Name" of the command (shaded). Here is how you can add a second keybinding to the find dialog. Notepad++ does not offers this out of the box. We can only assign one keybinding. We need a way to add a second find dialog . One way I can think of is by the very useful npp_exec plugin. It offers to create small automation-scripts and we can

Correct way to create a menu with shortcuts in WPF

倾然丶 夕夏残阳落幕 提交于 2019-12-01 00:09:48
What is the correct/best way to create a menu with hotkey shortcuts? I simply want a File menu like Visual Studio's that has New, Open, Save, Save All, Exit, and a few other standard shortcuts. It seems that InputGestureText displays the appropriate text, but since it's called "Text" and doesn't seem to trigger events, I'm going to assume that isn't the right way to do it. The Command architecture also seems fairly bulky, so I don't want to head down that path if there is a better way. Update: For clarity, let's say I'm using the following menu: <Menu> <MenuItem Header="_File"> <MenuItem

Can Windows key be mapped in Vim?

Deadly 提交于 2019-11-30 23:03:48
问题 Using Windows key as Meta is very useful in Emacs, is there the way to do it in Vim? 回答1: You definitely can, even in terminal, although you have to use it as a meta key (I found no way to use it on its own). Edit your .vimrc file with vim. Say you want to remap Win+q in normal mode to quit vim. Simply add your mapping and, when trying to indicate your shortcut, press Ctrl+V , then Win+q . This will add something similar to ^X@sq to your file (but do not type it directly , the ^X is a special

Remove all Key Shortcuts from Visual Studio

痞子三分冷 提交于 2019-11-30 22:20:00
Is it possible to remove all Key-Shortcuts from Visual Studio, so I can assign them from scratch? I don't mean to reset them to their default value, but to nothing. I wanted to do the exact same thing with my installation of Visual Studio - to remove all shortcuts and assign my own. I managed to remove all shortcuts with a hacky AutoHotKey script. If you select a command that is bound to a shortcut, within the 'Keyboard' section of the Visual Studio Options dialog, the 'Remove' button should activate, of which you'll notice that the 'R' is underlined (which, if isn't, hold the Alt key down).

IPython Notebook keyboard shortcut search for text

一笑奈何 提交于 2019-11-30 22:09:56
问题 Is there a keyboard shortcut to search for text in an IPython Notebook? I looked under Help | Keyboard shortcuts and there are lots of cool shortcuts but none for searching for text? The notebook is running in FireFox on Ubuntu. 回答1: There is a find-and-replace command in Jupyter. It's key binding is F (command mode): Of course you can find text with the browser's functionality, (I find it sometimes better), but the command in Jupyter is also very useful. I use a lot that function Replace in

Changing window faster in Emacs (or repeating last shortcut with a single strike)

若如初见. 提交于 2019-11-30 20:44:06
if I want to change windows in emacs I do C-x o and that's fine with me...but when I want to change window lots of times in a row C-x o is not so convenient...is there a way to change window with just one strike after first C-x o ? and in general...is there a (single) strike that would repeat my last shortcut? Check out windmove ; it lets you just hold down a modifier key and press an arrow key to move to the window in that direction. I've been using it for years with the default modifier (shift) and strangely enough it doesn't interfere with my impulses to use shift-arrow text selection in

Eclipse : Link with editor keyboard shortcut?

拥有回忆 提交于 2019-11-30 17:36:15
Is there a keyboard shortcut for "Link with editor" feature in Eclipse? if not, is there any way, where i can map ui elements on eclipse with keyboard shortcuts? (custom plugins/RCP code etc?) There is not by default, but you can define this yourself. Go into Preferences -> General -> Keys, and then type "link" into the search box. You want the "Toggle Link with Editor" command. You can then define the key binding by filling in the "Binding" box below. 来源: https://stackoverflow.com/questions/10415661/eclipse-link-with-editor-keyboard-shortcut

What's the default intellisense shortcut in vs2008?

≯℡__Kan透↙ 提交于 2019-11-30 17:28:43
I'd like to open the intelligence window without typing a character and then backspacing it. I can't seem to remember the shortcut for this. What is it? 1800 INFORMATION Ctrl + Space ? Also, go to Tools -> Options -> Environment -> Keyboard or Default Keyboard Shortcuts in Visual Studio , you can then search for commands and see what is assigned to that (and remap). Jon Skeet Ctrl + Space for normal Intellisense, and Ctrl + Shift + Space for parameter Intellisense (e.g. to see what overloads are available in a method call which you've actually already filled in). I find the latter very handy :