|
|
#26 |
|
The tiny ESC key on the MBA 11 keyboard is just a bit harder to hit than might be desired for a vi user.
|
|
|
|
0
|
|
|
#27 |
|
the professor uses Ubuntu and he uses XEmacs.. but cant seem to find any way of getting that install on OSX, will try port in a bit
Last edited by SuperMiguel; Jan 13, 2012 at 12:47 PM. |
|
|
|
0
|
|
|
#28 | |
|
Quote:
You can't install ubuntu on OSX. Ubuntu is an operating system. You can install ubuntu on a Mac though, or you can run a virtual machine inside OSX (virtualbox, vmware, parallels) and install Ubuntu on that virtual machine. |
||
|
|
0
|
|
|
#29 |
|
|
0
|
|
|
#30 | ||
|
Quote:
Quote:
|
|||
|
|
0
|
|
|
#31 | |
|
Quote:
but still not sure which one should i learn... i mean i dont even know why i should learn one or the other... people just tell me to but dont tell me why... i been using nano for a while and it works fine.. so not sure why to switch |
||
|
|
0
|
|
|
#32 |
|
Learn both.
vi is useful as you never know when you end up on a Unix system that doesn't support curses and you just have to edit some file. emacs is better at IDE-like language support, but if you're on a Mac or Windows box there are better native solutions. (e.g. if I need to compare a couple of files and merge them, nothing beats emacs + ediff)! Then, continue to use what makes you productive. B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme |
|
|
|
0
|
|
|
#33 |
|
This is the important point. For some, emacs is better because they're more productive in emacs. For some, vi is better because they're more productive in vi.
If there was a definitive answer that one is better than the other, then one would have faded off into history. |
|
|
|
0
|
|
|
#34 | |
|
Quote:
![]() B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme |
||
|
|
0
|
|
|
#35 | |
|
Quote:
There's no reason to solve problems that don't exist. If you were having some problem with nano, such as you ended up on a Unix system that didn't have ncurses, then learning to use vi would be worthwhile. Or as an exercise in broadening your perspective, learning vi might be worthwhile. But as a problem that needs a solution, for you, there isn't a problem, so you already have the solution. The most efficient software design possible is none at all. The fastest and most bug-free code is the code you don't write. The shortest learning curve is the one you don't have to go through. |
||
|
|
0
|
|
|
#36 | |
|
Quote:
Of course i would love a car... But i know to know what they are, and why they are faster?? |
||
|
|
1
|
|
|
#37 |
|
You can do a lot of neat things with vim
http://www.youtube.com/watch?v=BPDoI...35DDC3477A316E There are lots of plugins available to do all kinds of stuff: http://www.youtube.com/watch?v=_galF...eature=related Those two videos only scratch the surface. |
|
|
|
0
|
|
|
#38 |
|
I have to say, I'm quite surprised/pleased to see how civilized this thread has been. Kudos everyone!
__________________
Free iOS App that turns your music library into an info graphic.
Phonographic |
|
|
|
0
|
|
|
#39 |
|
If your a professional, learn vi(m) as it is installed on just about every flavor of *nix out there. Nothing worse than being asked to check out a problem and not being able to edit a file. Doubly true if you use a hosting agent like Savvis where you can't get X Windows through the firewall.
If you just talking about your personal Mac, it really doesn't matter. Get a visual tool like TextMate or TextWrangler. Vi and emacs are both handy if your living life in the terminal. If your a Sadist, use Ed the line editor. |
|
|
|
0
|
|
|
#40 |
|
Vi and Emacs are both extremely powerful text editors that can make editing things a whole lot easier. If you're just changing a config file once in a while, nano is fine. If you're editing longer documents, or are programming, or need to process larger amounts of text, vi and Emacs both give you more powerful tools to do that.
Here's an example of something I did last week with Emacs. I sync my home directory between multiple computers, and some files keep conflicting because they're modified on both computers. To fix that, I loaded the log file into Emacs, used M-x keep-lines to keep only the lines of the log file that had the conflict filenames, and used a keyboard macro that I recorded on the spot to delete the extra log message text around the filename, and then convert the filename into the appropriate syntax to put into a plist to exclude a file. Elapsed time, about 5 minutes. Vi and vim can both do very similar things. If you're programming, I'd really recommend learning a more powerful editor than nano. You could go for one of the mac-specific ones, which are certainly friendlier. I like the fact that both Emacs and vi are cross platform and I can use them on Unix, Windows, or Mac. I'm a very experienced Emacs user (18 years) and a middling vi user, so I use vi for any minor quick edits to files, and Emacs for anything bigger. One bonus of both of these tools is that they've been around a long time and will continue to be around a long time. Time spent invested learning them will last you for years. Even with new IDEs coming out, most offer some level of Emacs or vi keybinding. |
|
|
|
0
|
|
|
#41 |
|
which one is easier to learn?
|
|
|
|
-1
|
|
|
#42 |
|
How would we know which one is easier for you to learn?
That's a serious question. Think about how you'd answer it. What have you told us about yourself and your experience that would let us know enough about you to answer the question? In my experience, I think they're roughly the same in ease of learning. I reached about the same level of proficiency after a couple weeks of each. This doesn't mean everyone else will find the same thing. What this really means is they both take dedication and practice in order to become proficient. And you will almost certainly need to become proficient in order to benefit greatly. Or you'll have to find recipes (macros) written by others, and I don't think there are vastly more macros for one editor or the other out there on the internetz. At the moderate to advanced levels, they share similar principles, which is they're both languages dedicated to editing. In the same way, Forth and Lisp are both languages dedicated to programming, but I wouldn't say either one is easier to learn than the other. They have different strengths and weaknesses, different goals, and different logical syntax. They're also both perceived as quirky for casual reading and writing, but with very different quirks. In the long run, I wouldn't pick a tool just because it's easier to learn. TextEdit is easy to learn, but there are more powerful programming editors with more powerful search & replace capabilities (to pick just one example feature). For example, Xcode's editor has regex, multi-file search, etc. TextWrangler also has a powerful search-and-replace. BBEdit is another. Yet they all are GUI-oriented editors using windows and mouse clicks for basic editing, the same as TextEdit. So in a sense, they are all just as easy to learn as TextEdit. It's only in the advanced capabilities that differences appear. If you're trying to pick only one to learn, then flip a coin. Study the winner for one week. Work with it. Make it do things. Then switch to the other one and study it for a week. Make it do the same things you made the other do. Then decide for yourself which one you want to continue learning. Or switch back to the other for another week, and repeat. Last edited by chown33; Jan 14, 2012 at 01:25 PM. |
|
|
|
1
|
|
|
#43 |
|
Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3)
Mac Write
__________________
And now what is NeXT? |
|
|
|
0
|
|
|
#44 |
|
Forgive me for my ignorance, but when I saw the title of this thread, I assumed that it may be about Apple's eMac desktop computers.
|
|
|
|
0
|
|
|
#45 |
|
Do the following:
- Open terminal - Type vimtutor - Go through the whole tutorial (couple of hours?) - Type emacs - Type C-h t (hold ctrl, press h, release both, then type t) - Go through the tutorial That will give you a feel for the basics of each one, and I think at that point, you will probably form your own opinion about which you prefer to use. |
|
|
|
2
|
|
|
#46 | |
|
Quote:
But then I junked my PC for an iMac with an Apple wireless keyboard last year, and I'll never go back! I do agree with you that having the Ctrl key next to the 'A' is the sensible location. (It was one of IBM's several redesigns of their keyboards that forced everybody to follow suit.) But on the Mac, the Cmd key is essential. Where do you map that on your Omnikey? |
||
|
|
0
|
|
|
#47 | |
|
Quote:
Last edited by SuperMiguel; Jan 16, 2012 at 03:38 PM. |
||
|
|
0
|
|
|
#48 | |
|
Quote:
I'll use my wireless Apple keyboard when I'm not doing heavy typing, but switch in the Omnikey for heavy work. I know I'm faster with the Omnikey. I've got a second Omnikey on my Window PC at work, and several more "spares" in the closet, although I've never needed one.
__________________
27" i7 iMac, 15" MacBook Pro, Mac mini with SL Server, 4 other Macs and an Apple TV. |
||
|
|
0
|
|
|
#49 |
|
And, IMHO, those both suck.
That is why I download/compile/install the original vi code and/or nvi. If you like the built in editors, thats great. I don't, so I look to other options. That is what makes Unix great IMHO, choices. |
|
|
|
1
|
|
|
#50 |
|
Don't you feel that you over exagerate a tad now? New vi, vi improved and the original vi is similar enough to be dealt with in the same vi editor reference I have here. The purpose of my post was intended for the OP who may not know better and download and compile from source just to try the editor. The original vi could apparently only deal with one open file at a time.
Last edited by subsonix; Feb 18, 2012 at 03:59 AM. |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| G4 imac vs. emac vs. g5 imac? | pablodo | PowerPC Macs | 17 | Jan 9, 2006 04:09 AM |
| PC user with Mac questions, eMac vs PowerMac | dubbz | Buying Tips, Advice and Discussion (archive) | 2 | Sep 3, 2003 05:09 PM |
| eMac vs. iBook | realityisterror | Buying Tips, Advice and Discussion (archive) | 22 | Aug 31, 2003 04:20 PM |
| emac Vs emac? HELP! | omegagirl | Macintosh Computers | 5 | May 13, 2003 03:17 PM |
| lol another emac vs imac question... | SilvorX | Mac Help/Tips | 0 | Oct 6, 2002 12:49 PM |
All times are GMT -5. The time now is 07:44 AM.









Linear Mode

