Atom.io設置ctrl+delete

通常常見的text editor,在文本前面的空白處按下ctrl+delete,只是刪除空白符到單詞前面停下,可是Atom.io的默認設置,把空白符後遇到的第一個單詞也刪掉了。改配置方法是在keymap.cson加入下面代碼。atom

'.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 LTSspa

Atom.io 1.9.2code

相關文章
相關標籤/搜索