pastelog icon indicating copy to clipboard operation
pastelog copied to clipboard

Keyboard Shortcuts

Open maheshj01 opened this issue 1 year ago • 1 comments

Pastelog supports basic keyboard shortcuts for editing, It would be nice to have below shortcuts for ease of writing

  • [x] Shift + Tab in a code block for selected text should remove tabs
  • [X] Return Key check if previous non empty line has ordered/unordered list if yes then add ol or ul
  • [X] Toggle Sidebar ctrl + m
  • [X] Add Keyboard Shortcuts Guide in Sidebar
  • [X] cmd + d toggle dark mode
  • [X] cmd + n New note
  • [ ] cmd + k format the code
  • [ ] cmd + / within a Codeblock should add comment
  • [ ] Shift + Option + down/up duplicate current line
  • [ ] Option + up/down move current line up/down`
  • [x] Cmd/ctrl + shift+ d duplicate current line
  • [ ] Cmd/ctrl + d delete current line (conflicts with dark mode)
  • [x] Enclose selected text in opening/closing bracket on pressing shift + any of the paranthesis key { ( [ or ], ), } See behavior in vscode editor
  • [x] Select a text and paste a link should Link it, if not link then replace the text (as usual)

maheshj01 avatar Jul 10 '24 13:07 maheshj01