Atom Editor Toss Kee _ (16) Advanced Tutorials _ Deep Custom shortcuts

Source: Internet
Author: User

Off Topic

Time used to be very fast, the official version has been out long. The latest version is V1.0.8;
From the initial variety of inexplicable bugs, to now slowly improve,,, use process can obviously feel!
This project is still very active on GitHub, and the plugin library is becoming more and more plentiful.

As the beginning of the advanced, and then take the official version;
There are currently two places on GitHub and domestic cnpm can be under
1. Github
2. Cnpmjs
-the difference between the two is that the former is placed on Amazon S3, often downloaded to half no resources (tangled!);
-Cnpmjs is a domestic npm, very friendly to domestic users, the speed of the duly completed!

Deep shortcut keys

Basic: Atom Editor Toss-Up _ (4) Key binding Keymap

unset!

As the name implies, cancel the setting; This is one of the highlights of atom, example:

Before the imitation of vim, found how to overlay the goods or the effective ... Let me have to change for shortcut keys
Then go to check the official documents, found the unset function ... Very simple and very practical. The command to cancel the shortcut key directly;

‘atom-text-editor‘:    ‘alt-h‘:‘unset!‘

Such a simple command. It is canceled directly, because the setting inside the Keymap is the highest weight;

Combination of shortcut key support (Official Document Map)

    • In addition to the Word special function keys, the other must have modifier keys (the second line, one or more mixed)
Support for binding of DOM events


-An official document that shows an insert date listener event
-Analysis: Atom.commands is a global constant, add is a function

Support snippet and style selection

This function will be written snippet later when said together (now still in the toss ~ ~)

Comes with a personal split screen custom shortcut key
#设置候选全局上下移动及打开分割窗口' body ':' Shift-alt-k ':' core:move-up '  #光标向上移动    ' Shift-alt-j ':' Core:move-down ' #光标向下移动    ' Shift-alt-h ':' Core:move-left ' #光标向左移动    ' Shift-alt-l ':' Core:move-right ' #光标向右移动    ' ctrl-h ctrl-h ':' Pane:split-left '      #分割窗口    ' ctrl-j ctrl-j ':' Pane:split-down '      #分割窗口    ' ctrl-k ctrl-k ':' pane:split-up '         #分割窗口    ' ctrl-l ctrl-l ':' Pane:split-right '     #分割窗口    ' alt-h alt-h ':' Window:focus-pane-on-left '      #移动左窗口    ' alt-j alt-j ':' Window:focus-pane-below '      #移动下窗口    ' alt-k alt-k ':' Window:focus-pane-above '         #移动上窗口    ' alt-l alt-l ':' Window:focus-pane-on-right '     #移动右窗口    ' ctrl-d ctrl-d ':' Pane:close '  #关闭面板

These keys have conflicting basic wood!!!,,,-like vim accelerator settings. The familiar with VIM will feel relatives

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Atom Editor Toss Kee _ (16) Advanced Tutorials _ Deep Custom shortcuts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.