LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 05-22-2018, 12:14 PM   #16
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 422
Blog Entries: 16

Rep: Reputation: Disabled

I've been using vim for about 2 years now, for my editing needs which are just taking care of my linux systems, writing little programs, and taking notes. I'm not sure if I'm 'used to it', but I can generally get it to do what I want done. I still press 'u' (undo) a lot, and I take frequent trips to the help menu ":help help". There's still features of Vim that I haven't learned to use so well yet (registers, macros, ex commands, vimscript). I think you can grasp the basics in minutes to hours, and depending on how deep you want to go: your time's the limit.
 
Old 05-22-2018, 01:23 PM   #17
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by frankbell View Post
These should be enough to get you going: x, dd, dw (to delete text); cw (change a word); yy ("yank" or copy a line); p and P (to paste text); u (undo); w ("write") or save text; q (quit vim). You can learn additional commands as you need them.
I can second this. That how I started. The biggest problem is to memorize the commands. So a cheat sheet is a nice addition.
I can recommend, in addition to above, to learn one extra command at a time, and then use it whenever it is appropriate. There are many ways to do something in vi, only one way is the most efficient. So when you are used to the new command you automatically use it, introduce the next new command.
I would place the tabbed editing (:tabe filename, gT, gt high on my list of extras.

And if you end your post in LQ with :wq you know you are tired.

jlinkels
 
Old 05-22-2018, 07:09 PM   #18
RPI3dv
LQ Newbie
 
Registered: May 2018
Posts: 9

Rep: Reputation: Disabled
vi was the first text editor i used when I came to linux, so I am pretty much used to it.
 
Old 05-25-2018, 09:55 PM   #19
ArazelEternal
Member
 
Registered: Apr 2018
Location: South Central Wisconsin, USA
Distribution: Fedora 28 Workstation - Cinnamon Desktop Spin
Posts: 48

Rep: Reputation: Disabled
I myself had some trouble with it at first, but now Im just fine with it if using it as a quick way to edit text, conf, and other files in a terminal. Other than that, I use IDEs and real text editors like LibreOffice Writer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora shows 'man vim' but when execute 'vim' got "bash: vim: command not found..." ? flash_os Linux - Newbie 19 01-03-2015 11:56 PM
LXer: Look, no client! Not quite: the long road to a webbified Vim LXer Syndicated Linux News 0 08-20-2014 06:12 PM
Long time to search in 6 GB file using vim editor RHCE_ran Linux - Enterprise 1 08-01-2014 04:58 AM
vim takes long time to start throughthegreens Linux - Newbie 9 03-03-2010 01:46 PM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration