Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just started really using vim the other day. I'd used it before for simple editing, but got sick of my programming interfaces (Eclipse, Quanta) taking up so much memory (and only running with X/KDE), so I tried it out more thoroughly. It really is a great program.
Anyway, a few questions:
1) Is there another way of getting out of insert mode, other than hitting ESC? It seems a little too much a reach when I'm on the home row. I bet I could map another key for it, but don't know how, or which key would be good.
2) Are there any good vim forums out there that I should know about.
3) What are the "can't live without" plugins that I should get? I've got a file explorer plugin, color plugin, and the Tlist plugin... BTW: I work with PHP, HTML, Perl and SQL files regularly.
4) How long should I continue working with vim before moving on to gvim? To learn linux, I forced myself to use the command line for everything, and then learned X. I feel that's the best way. Is this going to be the same?
Not that I know much about vim/gvim either, but I believe you can start using gvim right away. I don't think there's anything that you need to learn from vim before you switch over. In fact, I much prefer gvim over vim because gvim will let you spawn new windows off of one terminal.
vim reads from ~/.vimrc. gvim reads from that and ~/.gvim.
If you don't like hitting Esc to get into command mode or hitting Insert (or i) to get into Insert mode, you can set mappings in your .vimrc file. Look into the :map and the :map! switches.
:map is for Command mode and :map! is for Insert. So, for example, if:
:map! <F11> Hello, my name is Mr. Burns.
was in your .vimrc file, then if you were typing and hit the F11 key, then the sentence, 'Hello, my name is Mr. Burns.' would be printed.
You can also set commands, like:
:map! <F12> <Esc>:set nu!<Esc>i
This command Escapes to commands mode, enters the command :set nu!, then re-enters insert mode, if you hit the F12 key while typing.
Play around with it, you can do a lot with vim.
Plugins I use:
Vim-Latex for typsetting documents.
Word Complete.
Spellcheck.
Originally posted by jkassemi I mapped it over to the caps lock key and I couldn't be happier. I'm working so much faster than before... Great stuff !!!
^ I know I have no life when swapping the esc and caps lock key makes me want to jump for joy
Hehe... I know what you mean. It's such a great feeling when you tweak an app the way you want it AND get it to work!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.