How to delete a line using a shortcut in Gedit?
Is there any shortcut for it?
If not is it possible to set a key for this operation?
I am using Ubuntu 14.04 LTS.
gedit
add a comment |
Is there any shortcut for it?
If not is it possible to set a key for this operation?
I am using Ubuntu 14.04 LTS.
gedit
add a comment |
Is there any shortcut for it?
If not is it possible to set a key for this operation?
I am using Ubuntu 14.04 LTS.
gedit
Is there any shortcut for it?
If not is it possible to set a key for this operation?
I am using Ubuntu 14.04 LTS.
gedit
gedit
edited Mar 14 '16 at 17:52
kos
25.6k870121
25.6k870121
asked Mar 14 '16 at 17:29
alhelalalhelal
71121232
71121232
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
yes you can using Ctrl + D as you can see in this page under the Shortcut keys for editing files: Gedit shortcut keys
add a comment |
Yes. Position the cursor anywhere on the line you wish to delete and hit CTRL+D.
Apparently the shortcut is simply built-in into Gedit. I can't find an easy way to change it; apparently that's technically not possible [anymore], or at least not easily.
add a comment |
Have a look here
It is Delete the current line: CTRL+D.
add a comment |
For anything related to text in general:
Use Home to put the cursor at the beginning of the line then Shift+End+backspace
Similarly you can set the cursor at the end using End then Shift+Home+backspace
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f745912%2fhow-to-delete-a-line-using-a-shortcut-in-gedit%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
yes you can using Ctrl + D as you can see in this page under the Shortcut keys for editing files: Gedit shortcut keys
add a comment |
yes you can using Ctrl + D as you can see in this page under the Shortcut keys for editing files: Gedit shortcut keys
add a comment |
yes you can using Ctrl + D as you can see in this page under the Shortcut keys for editing files: Gedit shortcut keys
yes you can using Ctrl + D as you can see in this page under the Shortcut keys for editing files: Gedit shortcut keys
edited Jan 19 at 20:46
answered Mar 14 '16 at 17:41
Antonios LamprosAntonios Lampros
5818
5818
add a comment |
add a comment |
Yes. Position the cursor anywhere on the line you wish to delete and hit CTRL+D.
Apparently the shortcut is simply built-in into Gedit. I can't find an easy way to change it; apparently that's technically not possible [anymore], or at least not easily.
add a comment |
Yes. Position the cursor anywhere on the line you wish to delete and hit CTRL+D.
Apparently the shortcut is simply built-in into Gedit. I can't find an easy way to change it; apparently that's technically not possible [anymore], or at least not easily.
add a comment |
Yes. Position the cursor anywhere on the line you wish to delete and hit CTRL+D.
Apparently the shortcut is simply built-in into Gedit. I can't find an easy way to change it; apparently that's technically not possible [anymore], or at least not easily.
Yes. Position the cursor anywhere on the line you wish to delete and hit CTRL+D.
Apparently the shortcut is simply built-in into Gedit. I can't find an easy way to change it; apparently that's technically not possible [anymore], or at least not easily.
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Mar 14 '16 at 17:39
koskos
25.6k870121
25.6k870121
add a comment |
add a comment |
Have a look here
It is Delete the current line: CTRL+D.
add a comment |
Have a look here
It is Delete the current line: CTRL+D.
add a comment |
Have a look here
It is Delete the current line: CTRL+D.
Have a look here
It is Delete the current line: CTRL+D.
answered Mar 14 '16 at 17:40
cmkscmks
1,5591616
1,5591616
add a comment |
add a comment |
For anything related to text in general:
Use Home to put the cursor at the beginning of the line then Shift+End+backspace
Similarly you can set the cursor at the end using End then Shift+Home+backspace
add a comment |
For anything related to text in general:
Use Home to put the cursor at the beginning of the line then Shift+End+backspace
Similarly you can set the cursor at the end using End then Shift+Home+backspace
add a comment |
For anything related to text in general:
Use Home to put the cursor at the beginning of the line then Shift+End+backspace
Similarly you can set the cursor at the end using End then Shift+Home+backspace
For anything related to text in general:
Use Home to put the cursor at the beginning of the line then Shift+End+backspace
Similarly you can set the cursor at the end using End then Shift+Home+backspace
edited Mar 15 '16 at 13:05
techraf
2,77092035
2,77092035
answered Mar 14 '16 at 19:43
mohamedyixmohamedyix
194
194
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f745912%2fhow-to-delete-a-line-using-a-shortcut-in-gedit%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown