Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Josh Rickmar
On Mon, May 17, 2010 at 11:29:24AM -0400, Kurt H Maier wrote: > On Mon, May 17, 2010 at 11:20 AM, anonymous wrote: > > If the only problem is tags, maybe replace them with more common > > "virtual desktops"? ?If you look at screenshots > > [http://dwm.suckless.org/screenshots/], there is only one

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Kurt H Maier
On Mon, May 17, 2010 at 11:20 AM, anonymous wrote: > If the only problem is tags, maybe replace them with more common > "virtual desktops"?  If you look at screenshots > [http://dwm.suckless.org/screenshots/], there is only one tag selected > on each desktop - tags are used as virtual desktops. I

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Mon, May 17, 2010 at 02:40:25PM +, Bjartur Thorlacius wrote: > On 5/17/10, Kurt H Maier wrote: > > On Mon, May 17, 2010 at 9:39 AM, Bjartur Thorlacius > > wrote: > >> I just felt that it was weird that the program that draws borders around > >> my > >> windows is also a keyboard shortcut h

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Bjartur Thorlacius
On 5/17/10, Kurt H Maier wrote: > On Mon, May 17, 2010 at 9:39 AM, Bjartur Thorlacius > wrote: >> I just felt that it was weird that the program that draws borders around >> my >> windows is also a keyboard shortcut handler/dispatcher/whatever. > > Now dwm draws statusbar for you (if you use dwm)

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Kurt H Maier
On Mon, May 17, 2010 at 9:39 AM, Bjartur Thorlacius wrote: > I just felt that it was weird that the program that draws borders around my > windows is also a keyboard shortcut handler/dispatcher/whatever. dwm, as the program that sits between you and other programs, already has to intercept everyt

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Mon, May 17, 2010 at 01:39:38PM +, Bjartur Thorlacius wrote: > On 5/17/10, anonymous wrote: > > What you mean by user shortcuts? To create shortcut you can configure > > your window manager. So user shortcuts start with Alt. User should > > make sure that his shortcuts don't overlap with

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Sun, May 16, 2010 at 04:25:45AM +0400, anonymous wrote: > Also removing Alt keybindings will simplify dmenu code: there will be > only one switch instead of two, one "default" branch instead of two, > less manipulation with masks and everytihing else related. > Patch (-7 loc) attached. BTW ca

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Bjartur Thorlacius
On 5/17/10, anonymous wrote: > What you mean by user shortcuts? To create shortcut you can configure > your window manager. So user shortcuts start with Alt. User should > make sure that his shortcuts don't overlap with default shortcuts of > window manager. Some kind of standard should be cre

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread anonymous
On Mon, May 17, 2010 at 12:22:52PM +, Bjartur Thorlacius wrote: > > 1. Window manager > > 2. Windows. >3. User shortcuts What you mean by user shortcuts? To create shortcut you can configure your window manager. So user shortcuts start with Alt. User should make sure that his shortcuts

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Robert Ransom
On Mon, 17 May 2010 12:22:52 + Bjartur Thorlacius wrote: > Is it possible to have some program seperate from the WM that receives > all keystrokes starting with super (and maybe Alt to)? It is possible to have a program bind specific keystrokes; you probably won't be able to capture all keys

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-17 Thread Bjartur Thorlacius
On 5/15/10, anonymous wrote: > On Fri, May 14, 2010 at 08:02:57PM +, Bjartur Thorlacius wrote: >> > 1. good tools should have a way to define easily keyboard shortcuts. >> True. It's quite irritating that some tools use the arrow keys for >> scrolling, >> others use hjkl (which doesn't make se

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread Bjartur Thorlacius
On 5/16/10, Kurt H Maier wrote: > hjkl for scrolling or cursor movement shouldn't require any metakeys > at all. personally I don't care if they don't work on other key > layouts; something like that is either trivial to repair or the app is > broken. My point was that I do not like having to edi

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread Kurt H Maier
hjkl for scrolling or cursor movement shouldn't require any metakeys at all. personally I don't care if they don't work on other key layouts; something like that is either trivial to repair or the app is broken. -- # Kurt H Maier

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread anonymous
On Sun, May 16, 2010 at 04:22:27AM +0400, anonymous wrote: Also removing Alt keybindings will simplify dmenu code: there will be only one switch instead of two, one "default" branch instead of two, less manipulation with masks and everytihing else related.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread anonymous
On Sat, May 15, 2010 at 11:56:43PM +, Connor Lane Smith wrote: > On 15/05/2010, anonymous wrote: > dmenu uses alt for a couple of bindings. Apparently ctrl binds are > shell-like and alt binds are vim-like, which is a bit weird (also > M-p). I'd prefer to remove the alt ones. That said I do li

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread Connor Lane Smith
Hey, On 15/05/2010, anonymous wrote: > This behaviour is compatible with unix keybindings > (http://unix-kb.cat-v.org/). Most (all?) suckless tools follow these > rules so there are no problems. Maybe they should be documented > somewhere? dmenu uses alt for a couple of bindings. Apparently ct

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread anonymous
On Fri, May 14, 2010 at 08:02:57PM +, Bjartur Thorlacius wrote: > > 1. good tools should have a way to define easily keyboard shortcuts. > True. It's quite irritating that some tools use the arrow keys for scrolling, > others use hjkl (which doesn't make sense on all keyboards) and one > has to

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread Anselm R Garbe
On 14 May 2010 17:01, mobi phil wrote: > 3. I am looking for people who would be interested in writing a vim > clone. I already called it viq (vi quick) I added a comment to mobiphil's blog. Cheers, Anselm

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Samuel Baldwin
2010/5/14 Kurt H Maier : > I don't think he cares about it until he can serve google adsense with it. Every day when I wake up I thank Freyja for my ability to block such things in my browser, didn't even notice. Anyways the one idea of his I did like was promoting a suckless interest in tcc or s

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Kurt H Maier
On Fri, May 14, 2010 at 8:55 PM, Samuel Baldwin wrote: > I wonder what he calls actual dogmatism? I don't think he cares about it until he can serve google adsense with it. -- # Kurt H Maier

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Samuel Baldwin
2010/5/14 Paul Thompson : > He wrote a blog post about how suckless.org scares him, > at http://mobiphil.com you could leave the comment > there for him. According to the post we made him hate unix. That post is truly hilarious. Apparently pointing out flaws in his arguments amounts to dogmatism.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Samuel Baldwin
2010/5/14 mobi phil : > well, do it like that... by time you will understand that there are [ … snip … ] > that there are better ways to do it... But the same ... Just run whatever you're doing in a loop? Simple tools are the best, especially when you can chain them together into something necessa

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Paul Thompson
On Sat, 15 May 2010 00:04:09 +0100 Rob wrote: > You're too late, he ragequit. He wrote a blog post about how suckless.org scares him, at http://mobiphil.com you could leave the comment there for him. According to the post we made him hate unix.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Rob
>> > Yeah, it's easy. Keeping simple is hard. >> Well, how many time do you preach this sentence one day? Why do you >> think that other people would be so idiot, that would not know such an >> obvious think? > > Sorry but you look like an idiot. You're too late, he ragequit.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Dmitry Maluka
On Fri, May 14, 2010 at 10:53:05PM +0200, mobi phil wrote: > > Yeah, it's easy. Keeping simple is hard. > Well, how many time do you preach this sentence one day? Why do you > think that other people would be so idiot, that would not know such an > obvious think? Sorry but you look like an idiot.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Bjartur Thorlacius
On 5/14/10, mobi phil wrote: >> As others have pointed out, some of your ideas are not so suckless, >> but I'll respond to the ones I find the most interesting. > nice to hear that.. > >>> 1. good tools should have a way to define easily keyboard shortcuts. >> True. It's quite irritating that some

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread hiro
Yeah, I know wine, counterstrike is working perfectly. I just don't like the *look* of notepad on that thing. But about gnuwin, thanks for that, these people are working painstakingly. A market gap I have not thought of yet! On 5/15/10, Marvin Vek wrote: > On Fri, May 14, 2010 at 11:49:41PM +0200

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Marvin Vek
On Fri, May 14, 2010 at 11:49:41PM +0200, hiro wrote: > Why don't you port cat to windows? > > On 5/14/10, mobi phil wrote: > >> Btw, for me notepad is one of the greatest windows apps ever built. > >> This is a really stupid thread! > >> But good to know that I'm not the only one wasting my time

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread hiro
Why don't you port cat to windows? On 5/14/10, mobi phil wrote: >> Btw, for me notepad is one of the greatest windows apps ever built. >> This is a really stupid thread! >> But good to know that I'm not the only one wasting my time today. > > why don't you port it to linux? :) > > > > > -- > rgrd

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
> Btw, for me notepad is one of the greatest windows apps ever built. > This is a really stupid thread! > But good to know that I'm not the only one wasting my time today. why don't you port it to linux? :) -- rgrds, mobi phil being mobile, but including technology http://mobiphil.com

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread hiro
Btw, for me notepad is one of the greatest windows apps ever built. This is a really stupid thread! But good to know that I'm not the only one wasting my time today. On 5/14/10, hiro <23h...@googlemail.com> wrote: > too much text, not enough time :P >

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread hiro
too much text, not enough time :P

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
> Óðinn above, you are doing something very wrong if you have source > files that are 400MB. Chop up your files into smaller pieces; you > mentioned log files earlier, you can have: pizza.log.1, pizza.log.2, > pizza.log.3 … And why do you need to edit these aforementioned 4GB log > files anyways? C

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Samuel Baldwin
2010/5/14 mobi phil : > Can it open 400MB of source code in under 1 second? Óðinn above, you are doing something very wrong if you have source files that are 400MB. Chop up your files into smaller pieces; you mentioned log files earlier, you can have: pizza.log.1, pizza.log.2, pizza.log.3 … And wh

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
> As others have pointed out, some of your ideas are not so suckless, > but I'll respond to the ones I find the most interesting. nice to hear that.. >> 1. good tools should have a way to define easily keyboard shortcuts. > True. It's quite irritating that some tools use the arrow keys for scrolli

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
> Yes another sucking bloated program. I hope you did not suck your vodka already.. I think you are so fixed on this suck, that you fail to see the forest from the trees. > On Fri, May 14, 2010 at 07:21:18PM +0200, mobi phil wrote: >> When you are looking some functions or some patters you use gr

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Bjartur Thorlacius
On 5/14/10, mobi phil wrote: > Hello, Hi > as I am already here, and time is short in life, I would like to share > with the community a few suckless.org compatible ideas: As others have pointed out, some of your ideas are not so suckless, but I'll respond to the ones I find the most interesting.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Dmitry Maluka
Yes another sucking bloated program. On Fri, May 14, 2010 at 07:21:18PM +0200, mobi phil wrote: > When you are looking some functions or some patters you use grep, > isn't it? Each time you do grep, the file is loaded into memory, you > do the next grep again, etc. No. It's piped into grep. Pipe

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Preston Mays
every programmer should write their own editor. whether they share it with the world or not is unimportant. i don't understand why this isn't some unspoken rule of programmer culture, like a right of passage. (every programmer should create their own programming language too, but i digress)

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
>> That ZX Spectrum would actually be awesome. >> >> -- >> Marvin Vek > > My C64 beats the crap out of any lame Spectrum any day. Did you install ms notepad on it? -- rgrds, mobi phil being mobile, but including technology http://mobiphil.com

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Anders Andersson
> That ZX Spectrum would actually be awesome. > > -- > Marvin Vek My C64 beats the crap out of any lame Spectrum any day.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Marvin Vek
On Fri, May 14, 2010 at 07:47:32PM +0200, mobi phil wrote: > I think you should stick to your notepad on windows, even better, buy > ZX spectrum, and install your Spartan like tools on it. I think you > make me a clear image about suckles, and you have a well formed > welcoming style. I think you d

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
well, > You're insane. Comments follow: thanks for the welcome, I hope you did not mean it.. > On Fri, May 14, 2010 at 6:01 PM, mobi phil wrote: > >> 1. good tools should have a way to define easily keyboard shortcuts. > > Good tools should have good keyboard shortcuts, change them in the > sour

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
> So traditional-vi, nvi, vim, elvis, vile, and busybox's vi aren't > enough? :) you mentioned 5 of them. All do the same, nothing more. None could open a huge logfile for analysis, or none has created me clear control or monitoring points for the buffer. >> * Should be able to aggregate files in

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
>> 3. I am looking for people who would be interested in writing a vim >> clone. I already called it viq (vi quick) > I'm interested, but some of the ideas you have seem a little too unsuckless > (i'll cover what i think in a mo) > Keep in mind, I'm not trying to be Uriel, this is constructive cri

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Marvin Vek
On Fri, May 14, 2010 at 06:01:54PM +0200, mobi phil wrote: > 3. I am looking for people who would be interested in writing a vim > clone. I already called it viq (vi quick) So traditional-vi, nvi, vim, elvis, vile, and busybox's vi aren't enough? :) > * Should be able to aggregate files in differ

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Anders Andersson
You're insane. Comments follow: On Fri, May 14, 2010 at 6:01 PM, mobi phil wrote: > 1. good tools should have a way to define easily keyboard shortcuts. Good tools should have good keyboard shortcuts, change them in the source if you have to. > 1.1. Preferably good tools should have at least

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Rob
> Hello, hi > 3. I am looking for people who would be interested in writing a vim > clone. I already called it viq (vi quick) I'm interested, but some of the ideas you have seem a little too unsuckless (i'll cover what i think in a mo) Keep in mind, I'm not trying to be Uriel, this is constructi

[dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread mobi phil
Hello, as I am already here, and time is short in life, I would like to share with the community a few suckless.org compatible ideas: 1. good tools should have a way to define easily keyboard shortcuts. 1.1. Preferably good tools should have at least one predefined set of shortcuts that is compat