건프의 소소한 개발이야기

[Python - Jupyter - Notebook] 이용하는데 유용한 단축키(Shortcuts) 본문

개발 이야기/Machine Learning 이야기

[Python - Jupyter - Notebook] 이용하는데 유용한 단축키(Shortcuts)

건강한프로그래머 2016. 8. 9. 10:09

안녕하세요, 건프입니다.


데이터 처리를 하다보면 사용하기에 편리한 jupyter notebook 이라는 어플리케이션이 있습니다.


이를 사용하는데 여러가지 단축키(shortcut)들이 있는데요, 이를 잘 알아두면 마우스에 손을 올리지 않아도 노트북에서 작업이 가능하므로 엄청나게 효율적이랍니다.


Command Mode (press Esc to enable)

  • Enter : enter edit mode
  • Shift-Enter : run cell, select below
  • Ctrl-Enter : run cell
  • Alt-Enter : run cell, insert below
  • Y : to code
  • M : to markdown
  • R : to raw
  • 1 : to heading 1
  • 2 : to heading 2
  • 3 : to heading 3
  • 4 : to heading 4
  • 5 : to heading 5
  • 6 : to heading 6
  • Up : select cell above
  • K : select cell above
  • Down : select cell below
  • J : select cell below
  • A : insert cell above
  • B : insert cell below
  • X : cut selected cell
  • C : copy selected cell
  • Shift-V : paste cell above
  • V : paste cell below
  • Z : undo last cell deletion
  • D,D : delete selected cell
  • Shift-M : merge cell below
  • S : Save and Checkpoint
  • Ctrl-S : Save and Checkpoint
  • L : toggle line numbers
  • O : toggle output
  • Shift-O : toggle output scrolling
  • Esc : close pager
  • Q : close pager
  • H : show keyboard shortcut help dialog
  • I,I : interrupt kernel
  • 0,0 : restart kernel
  • Space : scroll down
  • Shift-Space : scroll up
  • Shift : ignore

Edit Mode (press Enter to enable)

  • Tab : code completion or indent
  • Shift-Tab : tooltip
  • Ctrl-] : indent
  • Ctrl-[ : dedent
  • Ctrl-A : select all
  • Ctrl-Z : undo
  • Ctrl-Shift-Z : redo
  • Ctrl-Y : redo
  • Ctrl-Home : go to cell start
  • Ctrl-Up : go to cell start
  • Ctrl-End : go to cell end
  • Ctrl-Down : go to cell end
  • Ctrl-Left : go one word left
  • Ctrl-Right : go one word right
  • Ctrl-Backspace : delete word before
  • Ctrl-Delete : delete word after
  • Esc : command mode
  • Ctrl-M : command mode
  • Shift-Enter : run cell, select below
  • Ctrl-Enter : run cell
  • Alt-Enter : run cell, insert below
  • Ctrl-Shift-Subtract : split cell
  • Ctrl-Shift-- : split cell
  • Ctrl-S : Save and Checkpoint
  • Up : move cursor up or previous cell
  • Down : move cursor down or next cell
  • Shift : ignore



이 내용은 아래 링크안의 내용입니다. 

참조 : 

https://sowingseasons.com/blog/reference/2016/01/jupyter-keyboard-shortcuts/23298516


Comments