Live data from Hacker News

Am I the Only One Who Uses a Text Editor to Edit Files?

blog.peepcode.com

111–120 of 165 posts

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#112
post #104

Vim has this nice feature where you can edit directories as well as files. Just say: vi dir Now you're looking at a directory listing, and you can move down to an entry and press Enter to go there. When you're inside a file, you can go back up with: :e .. You can also use wildcards and tab completion. I suppose for finding routines you can use ctags, though I haven't bothered with that in quite a while.

That's for browsing directories (to edit the contents of the files), and it's a vim feature not a vi one.

If you want to edit directories, as in edit the file metadata they contain, try out vidir from the moreutils project.

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#113

Did anyone ever think that maybe the problem is the FILES? Let me ask that one more time. Would people be ranting like this if there were NO FILES? I still believe the "future of programming" is where your code objects are not arbitrarily mapped onto files in the file system, you just manipulate them directly! A few Smalltalks and Lisps out there do this using image-based development. This is where it's at. If you ca…

" If you can't use a image-based Smalltalk or Lisp to get your work done, then use a JetBrains/Eclipse IDE. They're generally modeled off of the Smalltalk IDE and are the next best thing if you're forced to use a broken file-based language." I've worked in smalltalk, and yes it is an interesting way to work but images had almost as many problems as hey solved. primarily version controlling and syncing code were terri…

That's just the thing, git doesn't give a shit about files internally, it tracks the content instead and uses heuristics to figure out the file metadata.

Files and their artifacts do show up everywhere in git's UIs, because noone's found a better model yet of exposing the content to the user.

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#115
post #22

Earlier quoted context omitted.

If you happen to be on a mac, control-option-command-8 is your friend. Also, the readability bookmarklet does wonders for the appearance of sites like these. (And thanks to the people on HN who originally introduced me to these)

control-option-command-8 is your friend Ditto for if you go to Best Buy or any other non Apple store that sells Macs. They never know about this delightful key combo.

Glad I'm not the only one to sometimes be a bit childish and do this :-)

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#116
For file finding, I use FuzzyFinder with a shortcut to the recursive search. So far that and ctags been good enough that I haven't wrestled with fuzzy file finder textmate. The Command-T plugin looks neat though.

    " vim-fuzzyfinder plugin
    map t :FufFile
    " start recursive search with a comma. see help for 'fuf-abbreviation'
    let g:fuf_abbrevMap = {
            \   "^," : [
            \     "**/",
            \   ],
            \ }

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#117
post #54

Sounds like some people still haven't learned NetBeans or Eclipse. Takes some time getting used to, -just like vim or emacs, but once you get used to the keyboard shortcuts you get everything the author asked for. No mouse needed: check, fuzzy search: check, paths: check, metadata: check, beautiful: check

It's interesting that Eclipse isn't even on the radar for a lot of developers (especially for Mac users, Textmate being the holy grail of IDEs). It's a solid, platform-independent IDE, completely open source, with thousands of man-hours behind it and lots of language-specific plugins.

Regarding file navigation, http://rayfd.wordpress.com/2007/05/20/10-eclipse-navigation-... covers a lot of the lesser known but powerful features (not Java-specific).

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#118
post #62
post #3

Am I the only one that found staring at orange hard on the eyes? I guess I should give the author credit for all the work that they put into this rant, seems like a blog post could have done just the same without all the fancy graphics and what not.

Everyone wants to be Dustin Curtis. Still, the author calling HN posters Neanderthals was a nice touch.

Well actually, it's common in the printing business to have each article to be of a unique style. Take National Geographic for instance.

One article has a different theme: http://www.valeriedaysings.com/wp-content/uploads/2008/08/na...

from another: http://www.simongarnier.com/images/wordpress/ft_hdr.5.jpg

Well actually, those are title pages, but I've read those articles and I can attest that the different designs set a suitable mood for the topic at hand.

I applaud web publishers for taking up this paradigm and applying what publishing graphic designers have been doing for some time. Of course with most methods of design, it depends if the occasion is suitable. Some online publications can do well with a consistent design: http://www.alistapart.com/

While others do well with differing designs, almost as if each posting of their articles is a treat for their readers: http://trentwalton.com/articles/

just like D.Curtis does, so good on him if he has inspired others to do the same.

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#119
post #62
post #3

Am I the only one that found staring at orange hard on the eyes? I guess I should give the author credit for all the work that they put into this rant, seems like a blog post could have done just the same without all the fancy graphics and what not.

Everyone wants to be Dustin Curtis. Still, the author calling HN posters Neanderthals was a nice touch.

“Still, the author calling HN posters Neanderthals was a nice touch.”

In this case quite appropriate, though. Having to scroll down one third of the page before you get to anything resembling a meaningful discussion about the actual content of the article cannot possibly be a good thing. Neither can the sneer and arrogance displayed in this thread.

(I’m kind of aware of the irony of me participating in this thread. Resisting the temptation to be self-righteous on the web is hard.)

Re: Am I the Only One Who Uses a Text Editor to Edit Files?

#120
post #21

Am I the only one who almost didn't scroll down, thinking that the keyboard graphic was the thing to see?

I thought the "I'll tell you what I want, what I really really want" graphic divider and the icons below it was signaling the bottom of the page.

I'm pretty relieved to discover I'm not the only one who misread that heading as a Spice Girls lyric.
Post reply on HN