In gedit, Ctrl+D deletes a line.

Is there a shortcut for inserting/adding a line?

  • There is a plugin called snippets that allows you to insert common text like code syntax using tab completion, if you are looking for something like that. – Munir Mar 19 '16 at 22:07
  • I have no idea what geany does. Maybe you should update your post as requested and include what the newline should consist off. Either you insert an empty line as in my answer, or you insert something specific from the cut buffer with Ctrl+V. If you want the latter you should write that in your question. – Anthon Mar 20 '16 at 7:18
  • @Anthon Actually, to be honest, this whole question is bit stupid, had a little/huge brain freeze. So I flagged it for moderator attention to have it removed. I do appreciate your reply though :) – henry Mar 20 '16 at 7:21

End+Enter will insert a line after the current one. You can use Home+Enter to insert before the current line


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.