The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 23, 2019, 10:22:47 AM

Login with username, password and session length


Pages: [1] 2
  Print  
Author Topic: nano vs vim  (Read 5282 times)
jammaster82
Lifer
*****
Offline Offline

Posts: 666


Thats craigs list for ya


View Profile
« on: April 01, 2009, 06:25:42 PM »

ok... doing lamp stuff through ssh....

lets hear it.... why vim or why nano?
Logged

The watched pot, never boils... But if you walk away from it , the soup burns.  What gives?
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #1 on: April 01, 2009, 06:34:04 PM »

which one do you like?
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
jammaster82
Lifer
*****
Offline Offline

Posts: 666


Thats craigs list for ya


View Profile
« Reply #2 on: April 01, 2009, 07:21:04 PM »

nano
Logged

The watched pot, never boils... But if you walk away from it , the soup burns.  What gives?
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #3 on: April 01, 2009, 08:00:38 PM »

theres your answer. Smiley
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #4 on: April 02, 2009, 06:08:00 AM »

I have no idea which is better, I just use vim because I know how to configure it to my liking as far as syntax highlighting goes, and I'm very very familiar with all the keyboard shortcuts. It's my editor of choice if time is a factor, always.
Logged

hai
jammaster82
Lifer
*****
Offline Offline

Posts: 666


Thats craigs list for ya


View Profile
« Reply #5 on: April 02, 2009, 06:16:41 AM »

How do you have your vim configured for highlighting?
Logged

The watched pot, never boils... But if you walk away from it , the soup burns.  What gives?
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #6 on: April 02, 2009, 06:29:32 AM »

I just mean that I know how to edit .vimrc to turn on highlighting. I buy a lot of servers and hosting, so I'm constantly SSHing into a brand new machine for the first time with nothing setup.
Logged

hai
dirk
Global Moderator
Expert
*****
Offline Offline

Posts: 416


View Profile
« Reply #7 on: April 06, 2009, 04:35:11 PM »

I'm using nano for several years (from pico to nano...).

It's easy to use and it's not necessary to remember lots of command options.
Logged
arms
Expert
****
Offline Offline

Posts: 235



View Profile
« Reply #8 on: April 08, 2009, 12:15:49 PM »

nano here.

i can't do anything in vim, not even quit  Sad

i usually mount the remote server and browse with the file manager then open with a gui editor.
for quick edits i just use nano.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #9 on: April 08, 2009, 09:23:50 PM »

I actually still use VI proper. VS - what's the benefits of vim?
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #10 on: April 09, 2009, 06:15:33 AM »

plugins, I guess.

I don't know, can you do something like:
Code:
vi ssh://myhost/mydir/myfile

?

I know you can in vim. It's nice to edit files in place over SSH without having to reup them or anything.
Logged

hai
jammaster82
Lifer
*****
Offline Offline

Posts: 666


Thats craigs list for ya


View Profile
« Reply #11 on: April 09, 2009, 06:47:59 AM »

Nice.  I like either one bcuz its a single task viewport to what im doing...
all these windows and guis just make me add crazy(er)

 ROFLMAO
Logged

The watched pot, never boils... But if you walk away from it , the soup burns.  What gives?
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #12 on: April 09, 2009, 07:02:58 AM »

Single task? I think not.

You can jump into the command line in vim and have multiple files open, switch back and forth between them. It's a truly multi-tasking editor.
Logged

hai
jammaster82
Lifer
*****
Offline Offline

Posts: 666


Thats craigs list for ya


View Profile
« Reply #13 on: April 09, 2009, 09:23:51 AM »

totally agree.

thats why i chose the word viewport..

i love that i can break out of nano... do a php [thefilenameiwasediting] > results.txt

and then type fg and go back into nano.

my point being  that yes, it is a SUPER POWERFUL MULTITASKER
but the unix people didnt jump the gun and put out win95 before they got
it all working...

i just find it easier to focus with the WAY that anything through ssh works...

all the gui going makes me dizzy and constantly off track... the old school
black and white (if i choose) interface keeps me focused on *exactly* what
im supposed to be doing and not chasing blinking multiple document interfaces
demanding my attention for boner pills or what ever.... lol... definitely agree with
you.. my only point was that when i go into full screen putty, im in a single task
at a time viewport/pointofview.

Logged

The watched pot, never boils... But if you walk away from it , the soup burns.  What gives?
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #14 on: April 09, 2009, 11:55:35 AM »

Pussies

I use Windows7 Beta.
VPNed Samba network to do all my work from my IDE in windows.
None of this bg fg shit.
I just open 20 SSH windows via putty...

LOL
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
Pages: [1] 2
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!