Monday, January 13, 2014

Re: Do developers use vim exclusively or alternate with an IDE?




On Mon, Jan 13, 2014 at 2:36 PM, Sam Bituser <bituser12@gmail.com> wrote:

Thanks to everyone for their replies. I will try to answer your questions and clarify some things.

I have been able to touch type with eight fingers at 100wpm for a long time now so I am fine in that respect. Once I understand how a certain command works I find it quite easy to commit to muscle memory.

I'm quite happy to learn and use vimscript if you believe that is the way to go. By "when I know what I am doing" I am in fact referring to my understanding of certain commands in particular situations e.g. using v or V when selecting text. If I already know the command it is much faster and I am happier in vim.

Some of the things that frustrate me the most in vim are:

Copying and pasting text from outside of the editor. E.g. modifying an HTML page by swapping odd bits of text from another document. It just feels clunky to me and I often find myself using eclipse instead.

If I have an class that I want to call a method of I generally like to know what the overloads are and the order of the parameters. I've got used to using intellisense in VS. I don't know if it just laziness that I would like it or if people normally require it or not.

"Peeking" at files real quick seems like a lot of work. Normally I do vsplit :o file.ext them Ctrl w w to change to the split, take a quick look and :q. This problem normally arises when browsing an unfamiliar repo. I have NERDtree but I don't think I'm using it enough. This is where the mouse and eclipse come in. I tend to move through a tree of files faster with a mouse.

(I do apologise if I replied incorrectly. I've read the rules, but I am new to mailing lists!)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I can only address the first two.  First, for pasting into vim* from outside, I have found CTRL-r in insert mode really improves my flow.  (I used to just use the standard "+gp constantly to get text into vim, and, honestly, it was a long-time sticking point for me in getting at all productive.)
:h i_CTRL-R

Actually, CTRL-R has also made my pasting within vim much faster and more fluid, since I tend to use registers a lot.  (Where others would use macros, abbreviations, etc.)

As for selecting in vim, I am starting to use text objects more and more.  
:h text-objects

But most of the time just entering visual mode and searching to what I want, with /foo, does the trick.

HTH

*gVIM throughout, on Windows at work, on Linux at home.

--
-Collision

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: