From ef6cd214785e6af883fe73563bf56508b7c1b758 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 23 Jun 2019 12:37:36 +0200 Subject: [PATCH] Add shortcuts --- .idea/.gitignore | 2 ++ Features.asciidoc | 1 - Shortcuts.asciidoc | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 000000000..5c98b4288 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/Features.asciidoc b/Features.asciidoc index c3ba41062..48957b8c8 100644 --- a/Features.asciidoc +++ b/Features.asciidoc @@ -45,7 +45,6 @@ toc::[] * Custom macros with shortcuts * Spellchecking with custom dictionaries * Soft wraps and wrap on typing -// Include: ctrl+d, alt+shift+arrow, etc. * link:Shortcuts[Many useful shortcuts] * Automatic insertion of `\item` in list environments like itemize and enumerate * Automatic insertion of of `\end` when typing `\begin` for environments diff --git a/Shortcuts.asciidoc b/Shortcuts.asciidoc index ad987c7fb..376e64941 100644 --- a/Shortcuts.asciidoc +++ b/Shortcuts.asciidoc @@ -1,5 +1,8 @@ :experimental: +:arrowup: ↑ +:arrowdown: ↓ + Note that all shortcuts are customizable, you can change them in menu:File[Settings > Keymap]. == General IntelliJ shortcuts @@ -7,6 +10,8 @@ Note that all shortcuts are customizable, you can change them in menu:File[Setti * Double kbd:[Shift]: Search for any IntelliJ command, like Reformat. * kbd:[Alt + Enter]: When your cursor is in a place where an inspection ribbon is shown, view the quick fix, if there is one. Apply the fix with kbd:[Enter]. * kbd:[Ctrl + Alt + L]: Reformat the file. +* kbd:[Ctrl + D]: Duplicate the line or selection. +* kbd:[Alt + Shift + {arrowup}] or kbd:[Alt + Shift + {arrowdown}]: Move the line up or down. * kbd:[Ctrl + K]: Commit and push changes with git. * kbd:[Ctrl + T] Pull changes with git.