hi all, after using many many editors i find geany to be the most configurable for hotkeys. although i am very fond of the cli editor nano and am used to the hotkeys there, it wasnt a problem to duplicate them in geany. asside from 1 aspect. when using ctrl-k to cut an entire line of text in nano it will continue adding to the buffer if the cursor hasnt moved and another ctrl-k is pressed. such as selecting and cuting multiple lines of text. in geany you can only cut one line of text in this manner. in nano if the cursor moves. it cancels the multiline scenario and awaits either a paste or a new cut to replace the old. i would love to see a plugin or maybe this a standard option. or if anyone knows of such a plugin already i would love to here about it. we can name it nano mode?
i personally think most linux geeks are familiar with nano. thus this would be a great improvement.
On Sun, 13 Sep 2009 07:15:12 -0700 (PDT) ccss net occssneto@yahoo.com wrote:
hi all, after using many many editors i find geany to be the most configurable for hotkeys. although i am very fond of the cli editor nano and am used to the hotkeys there, it wasnt a problem to duplicate them in geany. asside from 1 aspect. when using ctrl-k to cut an entire line of text in nano it will continue adding to the buffer if the cursor hasnt moved and another ctrl-k is pressed. such as selecting and cuting multiple lines of text. in geany you can only cut one line of text in this manner. in nano if the cursor moves. it cancels the multiline scenario and awaits either a paste or a new cut to replace the old. i would love to see a plugin or maybe this a standard option. or if anyone knows of such a plugin already i would love to here about it. we can name it nano mode?
I don't know a plugin which is already implementing something like that. But this could be a good pat of the addons one I guess. - but of course: somebody have to code it ;)
Regards, Frank
On 13.09.2009 22:19, Frank Lanitz wrote:
On Sun, 13 Sep 2009 07:15:12 -0700 (PDT) ccss netoccssneto@yahoo.com wrote:
hi all, after using many many editors i find geany to be the most configurable for hotkeys. although i am very fond of the cli editor nano and am used to the hotkeys there, it wasnt a problem to duplicate them in geany. asside from 1 aspect. when using ctrl-k to cut an entire line of text in nano it will continue adding to the buffer if the cursor hasnt moved and another ctrl-k is pressed. such as selecting and cuting multiple lines of text. in geany you can only cut one line of text in this manner. in nano if the cursor moves. it cancels the multiline scenario and awaits either a paste or a new cut to replace the old. i would love to see a plugin or maybe this a standard option. or if anyone knows of such a plugin already i would love to here about it. we can name it nano mode?
I don't know a plugin which is already implementing something like that. But this could be a good pat of the addons one I guess. - but of course: somebody have to code it ;)
Regards, Frank
I think that would be better as the default behavior (and hence being in the core).
Best regards.
On Sun, 13 Sep 2009 22:48:30 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
On 13.09.2009 22:19, Frank Lanitz wrote:
On Sun, 13 Sep 2009 07:15:12 -0700 (PDT) ccss netoccssneto@yahoo.com wrote:
hi all, after using many many editors i find geany to be the most configurable for hotkeys. although i am very fond of the cli editor nano and am used to the hotkeys there, it wasnt a problem to duplicate them in geany. asside from 1 aspect. when using ctrl-k to cut an entire line of text in nano it will continue adding to the buffer if the cursor hasnt moved and another ctrl-k is pressed. such as selecting and cuting multiple lines of text. in geany you can only cut one line of text in this manner. in nano if the cursor moves. it cancels the multiline scenario and awaits either a paste or a new cut to replace the old. i would love to see a plugin or maybe this a standard option. or if anyone knows of such a plugin already i would love to here about it. we can name it nano mode?
I don't know a plugin which is already implementing something like that. But this could be a good pat of the addons one I guess. - but of course: somebody have to code it ;)
I think that would be better as the default behavior (and hence being in the core).
No I don't think so. IMHO the default functionality should work analog to the normal cut command.
Thanks, Frank
2009/9/14 Frank Lanitz frank@frank.uvena.de:
On Sun, 13 Sep 2009 22:48:30 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
On 13.09.2009 22:19, Frank Lanitz wrote:
On Sun, 13 Sep 2009 07:15:12 -0700 (PDT) ccss netoccssneto@yahoo.com wrote:
hi all, after using many many editors i find geany to be the most configurable for hotkeys. although i am very fond of the cli editor nano and am used to the hotkeys there, it wasnt a problem to duplicate them in geany. asside from 1 aspect. when using ctrl-k to cut an entire line of text in nano it will continue adding to the buffer if the cursor hasnt moved and another ctrl-k is pressed. such as selecting and cuting multiple lines of text. in geany you can only cut one line of text in this manner. in nano if the cursor moves. it cancels the multiline scenario and awaits either a paste or a new cut to replace the old. i would love to see a plugin or maybe this a standard option. or if anyone knows of such a plugin already i would love to here about it. we can name it nano mode?
I don't know a plugin which is already implementing something like that. But this could be a good pat of the addons one I guess. - but of course: somebody have to code it ;)
I think that would be better as the default behavior (and hence being in the core).
No I don't think so. IMHO the default functionality should work analog to the normal cut command.
I agree the default should match current behaviour, adding the other so I could bind it to a different key and Thomas and the original poster could bind it to Ctrl K would be useful. Then its merely an implementation detail left as an exercise for the reader :-)
Cheers Lex
Thanks, Frank -- http://frank.uvena.de/en/
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On 13.09.2009 23:00, Frank Lanitz wrote:
On Sun, 13 Sep 2009 22:48:30 +0200 Thomas Martitzthomas.martitz@student.HTW-Berlin.de wrote:
I think that would be better as the default behavior (and hence being in the core).
No I don't think so. IMHO the default functionality should work analog to the normal cut command.
Thanks, Frank
Well it would, but you'd move the cursor with the normal cut command, and in that case the text buffer would be cleared in all situations :)
Best regards.
On Mon, 14 Sep 2009 16:04:09 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
I think that would be better as the default behavior (and hence being in the core).
No I don't think so. IMHO the default functionality should work analog to the normal cut command.
Thanks, Frank
Well it would, but you'd move the cursor with the normal cut command, and in that case the text buffer would be cleared in all situations :)
What if you cut something then decide you just want to delete it and cut lines starting at the cursor? Then you'd be confused when pasting with extra lines at the start that you might not see (maybe you're cutting more than a page of lines).
Regards, Nick
On 14.09.2009 16:45, Nick Treleaven wrote:
On Mon, 14 Sep 2009 16:04:09 +0200 Thomas Martitzthomas.martitz@student.HTW-Berlin.de wrote:
I think that would be better as the default behavior (and hence being in the core).
No I don't think so. IMHO the default functionality should work analog to the normal cut command.
Thanks, Frank
Well it would, but you'd move the cursor with the normal cut command, and in that case the text buffer would be cleared in all situations :)
What if you cut something then decide you just want to delete it and cut lines starting at the cursor? Then you'd be confused when pasting with extra lines at the start that you might not see (maybe you're cutting more than a page of lines).
Everything has his pros and cons. I never used that feature anyway, but I think nano's behavior appeals me :) IMO confusion is not the best argument, if it's documented (and you get used to it anyway). I'm getting used to a lot of small pieces in Geany which were slightly confusing when I ran first into them. They aren't a big deal at all.
Best regards.
On Mon, 14 Sep 2009 16:50:29 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
What if you cut something then decide you just want to delete it and cut lines starting at the cursor? Then you'd be confused when pasting with extra lines at the start that you might not see (maybe you're cutting more than a page of lines).
Everything has his pros and cons. I never used that feature anyway, but I think nano's behavior appeals me :) IMO confusion is not the best argument, if it's documented (and you get used to it anyway). I'm getting used to a lot of small pieces in Geany which were slightly confusing when I ran first into them. They aren't a big deal at all.
I think it comes down to whether it's worth the extra risk of not doing what the user wants sometimes for the benefit of the extra feature. In this case I think the benefit doesn't outweigh the possible annoyance.
(The proposed behaviour would be something else to remember, when the programmer should be thinking about their code).
Regards, Nick
i dont really know anyone that uses ctrl-k for anything so not sure how it could be an anoyance.
--- On Tue, 9/15/09, Nick Treleaven nick.treleaven@btinternet.com wrote:
From: Nick Treleaven nick.treleaven@btinternet.com Subject: [Geany-devel] avoiding confusion - Re: Cut line - Re: some features i would love to see optional or standard To: geany-devel@uvena.de Date: Tuesday, September 15, 2009, 8:36 AM
On Mon, 14 Sep 2009 16:50:29 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
What if you cut something then decide you just want to delete it and cut lines starting at the cursor? Then you'd be confused when pasting with extra lines at the start that you might not see (maybe you're cutting more than a page of lines).
Everything has his pros and cons. I never used that feature anyway, but I think nano's behavior appeals me :) IMO confusion is not the best argument, if it's documented (and you get used to it anyway). I'm getting used to a lot of small pieces in Geany which were slightly confusing when I ran first into them. They aren't a big deal at all.
I think it comes down to whether it's worth the extra risk of not doing what the user wants sometimes for the benefit of the extra feature. In this case I think the benefit doesn't outweigh the possible annoyance.
(The proposed behaviour would be something else to remember, when the programmer should be thinking about their code).
Regards, Nick _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Well Ctrl-k is default for delete line in a number of editors as well as being established in this one. No problem with you adding this feature but any new function is added it should just be another function that a user can bind to the key of their choice, rather than having preferences to change behaviour of the existing functionality.
Cheers Lex
2009/9/18 ccss net occssneto@yahoo.com
i dont really know anyone that uses ctrl-k for anything so not sure how it could be an anoyance.
--- On *Tue, 9/15/09, Nick Treleaven nick.treleaven@btinternet.com*wrote:
From: Nick Treleaven nick.treleaven@btinternet.com Subject: [Geany-devel] avoiding confusion - Re: Cut line - Re: some features i would love to see optional or standard To: geany-devel@uvena.de Date: Tuesday, September 15, 2009, 8:36 AM
On Mon, 14 Sep 2009 16:50:29 +0200 Thomas Martitz <thomas.martitz@student.HTW-Berlin.dehttp://mc/compose?to=thomas.martitz@student.HTW-Berlin.de> wrote:
What if you cut something then decide you just want to delete it and cut lines starting at the cursor? Then you'd be confused when pasting with extra lines at the start that you might not see (maybe you're cutting more than a page of lines).
Everything has his pros and cons. I never used that feature anyway, but I think nano's behavior appeals me :) IMO confusion is not the best argument, if it's documented (and you get used to it anyway). I'm getting used to a lot of small pieces in Geany which were slightly confusing when I ran first into them. They aren't a big deal at all.
I think it comes down to whether it's worth the extra risk of not doing what the user wants sometimes for the benefit of the extra feature. In this case I think the benefit doesn't outweigh the possible annoyance.
(The proposed behaviour would be something else to remember, when the programmer should be thinking about their code).
Regards, Nick _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://mc/compose?to=Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Friday 18,September,2009 06:03 AM, ccss net wrote:
i dont really know anyone that uses ctrl-k for anything so not sure how it could be an anoyance.
Ctrl-k is used to delete to the end of line in emacs, and in Bash shells. I'm not sure about other shells, but if you're very familiar with the terminal, chances are you'd like a setting like this to apply in your favourite editor.
hmmm so from the sounds of it this should be a plugin then
--- On Thu, 9/17/09, Chow Loong Jin hyperair@gmail.com wrote:
From: Chow Loong Jin hyperair@gmail.com Subject: Re: [Geany-devel] avoiding confusion - Re: Cut line - Re: some features i would love to see optional or standard To: geany-devel@uvena.de Date: Thursday, September 17, 2009, 7:04 PM
On Friday 18,September,2009 06:03 AM, ccss net wrote:
i dont really know anyone that uses ctrl-k for anything so not sure how it could be an anoyance.
Ctrl-k is used to delete to the end of line in emacs, and in Bash shells. I'm not sure about other shells, but if you're very familiar with the terminal, chances are you'd like a setting like this to apply in your favourite editor.
i think if the normal cut is left along side this ctrl-k cut with the pre-safe toggle for clearing buffer this wouldnt be an issue and at best just a new feature, one im very used to in nano.
--- On Mon, 9/14/09, Nick Treleaven nick.treleaven@btinternet.com wrote:
From: Nick Treleaven nick.treleaven@btinternet.com Subject: [Geany-devel] Cut line - Re: some features i would love to see optional or standard To: geany-devel@uvena.de Date: Monday, September 14, 2009, 7:45 AM
On Mon, 14 Sep 2009 16:04:09 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
I think that would be better as the default behavior (and hence being in the core).
No I don't think so. IMHO the default functionality should work analog to the normal cut command.
Thanks, Frank
Well it would, but you'd move the cursor with the normal cut command, and in that case the text buffer would be cleared in all situations :)
What if you cut something then decide you just want to delete it and cut lines starting at the cursor? Then you'd be confused when pasting with extra lines at the start that you might not see (maybe you're cutting more than a page of lines).
Regards, Nick _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
good point. i see a toggle scenario apealable there only if ctrl-k has been used first :D
--- On Mon, 9/14/09, Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
From: Thomas Martitz thomas.martitz@student.HTW-Berlin.de Subject: Re: [Geany-devel] some features i would love to see optional or standard To: "Geany development list" geany-devel@uvena.de Date: Monday, September 14, 2009, 7:04 AM
On 13.09.2009 23:00, Frank Lanitz wrote:
On Sun, 13 Sep 2009 22:48:30 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
I think that would be better as the default behavior (and hence being in the core).
No I don't think so. IMHO the default functionality should work analog to the normal cut command.
Thanks, Frank
Well it would, but you'd move the cursor with the normal cut command, and in that case the text buffer would be cleared in all situations :)
Best regards.
-----Inline Attachment Follows-----
_______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Sun, 13 Sep 2009 07:15:12 -0700 (PDT) ccss net occssneto@yahoo.com wrote:
when using ctrl-k to cut an entire line of text in nano it will continue adding to the buffer if the cursor hasnt moved and another ctrl-k is pressed. such as selecting and cuting multiple lines of text. in geany you can only cut one line of text in this manner. in nano if the cursor moves. it cancels the multiline scenario and awaits either a paste or a new cut to replace the old. i would love to see a plugin or maybe this a standard option. or if anyone knows of such a plugin already i would love to here about it. we can name it nano mode?
Sorry, I don't understand what you mean, e.g. 'adding to the buffer'. Can you describe how you want Geany to be different using Geany's command names please?
Not sure if it's what you want but there are also Cut/Copy Line(s) keybindings.
Regards, Nick
On Mon, 14 Sep 2009 12:01:57 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
when using ctrl-k to cut an entire line of text in nano it will continue adding to the buffer if the cursor hasnt moved and another ctrl-k is pressed. such as selecting and cuting multiple lines of text. in geany you can only cut one line of text in this manner. in nano if the cursor moves. it cancels the multiline scenario and awaits either a paste or a new cut to replace the old. i would love to see a plugin or maybe this a standard option. or if anyone knows of such a plugin already i would love to here about it. we can name it nano mode?
Sorry, I don't understand what you mean, e.g. 'adding to the buffer'. Can you describe how you want Geany to be different using Geany's command names please?
Not sure if it's what you want but there are also Cut/Copy Line(s) keybindings.
OK, I get it now, that's what you're talking about. The Ctrl-K made me think of Geany's Delete Lines command.
Regards, Nick