Loading

Atom.io设置ctrl+delete

一般常见的text editor,在文本前面的空白处按下ctrl+delete,只是删除空白符到单词前面停下,但是Atom.io的默认设置,把空白符后遇到的第一个单词也删掉了。改配置方法是在keymap.cson加入下面代码。

'.platform-darwin atom-workspace atom-text-editor':
  'ctrl-left': 'editor:move-to-previous-word-boundary'
  'ctrl-right': 'editor:move-to-next-word-boundary'
  'ctrl-shift-left': 'editor:select-to-previous-word-boundary'
  'ctrl-shift-right': 'editor:select-to-next-word-boundary'
  'ctrl-backspace': 'editor:delete-to-previous-word-boundary'
  'ctrl-delete': 'editor:delete-to-next-word-boundary'

 

Ubuntu 16.04 LTS

Atom.io 1.9.2

posted @ 2016-08-11 16:56  gamesun  阅读(478)  评论(0编辑  收藏  举报