Re: Any non-programmer users of Vim here?

2011-04-07 Thread David Lam
On Thu, Apr 7, 2011 at 1:15 PM, Eric Weir eew...@bellsouth.net wrote: I've downloaded and installed a copy of MacVim. I've peeked at a few of the help topics. [I'd like to run the tutorial, but haven't figured out how to do that, yet.] I'm not a programmer. Far from it. I'm intrigued for a

Re: Moving between Java methods

2011-07-27 Thread David Lam
On Wed, Jul 27, 2011 at 2:41 PM, Russell Bateman r...@windofkeltia.comwrote: A long-time vi, then Vim user, I was also a long-time C/assembly guy. For the last several years, I've been using Eclipse and Vim to edit Java files. However belatedly I make this request, I would finally want to

Re: What's your favorite color scheme?

2012-01-10 Thread David Lam
On Tue, Jan 10, 2012 at 1:01 AM, ConcreteVitamin concretevita...@gmail.comwrote: Please share your the name of your favorite color scheme, your working environment (gvim under windows 7/ubuntu terminal... etc), and any other specific settings! It would be best if you share a link to snapshots.

way to show the current function name in the status line?

2009-07-31 Thread David Lam
hmm basically, itd be cool if i could continuously show the name of the current function the cursor is within down at the bottom... in emacs, (if it is any help) this is which-function-mode ! --~--~-~--~~~---~--~~ You received this message from the vim_use

Re: NERDTree for each tab

2009-08-05 Thread David Lam
On Wed, Aug 5, 2009 at 3:24 AM, Sirupsen si...@sirupsen.dk wrote: Hello, I started using NerdTree and it's pretty cool, however I'd like to have a Nerdtree to open for each new tab in the same directory as the first one, is this possible? dont think this is what you're exactly looking

on mac, how to get command/apple key to send Meta?

2009-08-11 Thread David Lam
hmm just got a macbook, checkout and built vim ... Huge version with Carbon GUI patches 1-245 anyways, I have a bunch of keys in my .vimrc bound to M-f M-b M-n M-p M-t etc. etc., but it looks like Vim sees D-f D-b D-n D-p etc. is there a setting to make vim automatically translate D- to M-

Re: Function name in status bar

2009-08-28 Thread David Lam
On Fri, Aug 28, 2009 at 6:22 AM, Salvatore Benedetto emit...@gmail.comwrote: Hi, is it possible to have the function name, while editing a C/C++ file in the status bar (or whatever it's called) beside the opened file and the line number? yup you can- i asked the same question a month

vimscript: how to break from function if user input is ESC

2009-12-17 Thread David Lam
Alrighty, basically I wrote a function to map to a key that does a recursive vimgrep. It looks like: function! EasyVimGrep() let curline = getline('.') call inputsave() let q = input('vimgrep dis: ') call inputrestore() :execute vimgrep / . q . / **/* endfunction But sometimes I change

Re: vimscript: how to break from function if user input is ESC

2009-12-17 Thread David Lam
On Thu, Dec 17, 2009 at 1:06 PM, Christian Brabandt cbli...@256bit.orgwrote: Hi David! On Do, 17 Dez 2009, David Lam wrote: How do i do something like, (if q == ESCAPE) return; ? You could test, whether q is empty. if(empty(q)) | return | endif regards, Christian http

Re: Use of [[ and ]] w/ different formatting?

2008-10-16 Thread David Lam
http://markmail.org/message/qcdkeabyfv3urj7u On Thu, Oct 16, 2008 at 11:38 AM, Dominique Devienne [EMAIL PROTECTED]wrote: Hi VIM'ers, I like using [[ and ]] commands to navigate a file to the previous and next function/class, but the large code base I work on uses a Java-like

Re: Use of [[ and ]] w/ different formatting?

2008-10-16 Thread David Lam
, 2008 at 2:46 PM, Gary Johnson [EMAIL PROTECTED]wrote: On 2008-10-16, Dominique Devienne [EMAIL PROTECTED] wrote: On Thu, Oct 16, 2008 at 3:31 PM, David Lam [EMAIL PROTECTED] wrote: http://markmail.org/message/qcdkeabyfv3urj7u Thanks David and Gary. David's search the mailing list hint

Re: Keymaps in vim and selection/cut registers in linux

2009-04-09 Thread David Lam
On Apr 9, 2009, at 9:03 AM, Pablo Giménez pablog...@gmail.com wrote: Also another problem is the two different clipboards in X11 systems. the * register works for selection and + for cut/paste. The thing I want to do is to use Ctrl-c to copy the selected text to both the selection

is it possible to change the font size of tabs?

2009-05-14 Thread David Lam
hmm well im running Vim 7.2 on Linux... and in my .vimrc i have 'set guifont=Andale\ Mono\ 8' to make the font in a lot smaller However, since I like to keep a bunch of tabs open, with limited screenspace like on my laptop I can't keep that many on (without the tab scroll arrow thingys coming

period in java block comment messes up syntax highlighting after it in the comment

2009-05-22 Thread David Lam
hmm i was just wondering randomely if anyone already patched their java.vim syntax file for this... im usin 7.2.182 GTK2 basically, in a block comment, text after a period loses its highlighting Ex. (i use the 'desert' color scheme) /** * This is the normal highlight color. And this

Re: period in java block comment messes up syntax highlighting after it in the comment

2009-05-23 Thread David Lam
oh no wonder that makes sense... On Fri, May 22, 2009 at 2:55 AM, Dennis Benzinger dennis.benzin...@gmx.netwrote: Am 22.05.2009 10:15, David Lam schrieb: hmm i was just wondering randomely if anyone already patched their java.vim syntax file for this... im usin 7.2.182 GTK2

Re: period in java block comment messes up syntax highlighting after it in the comment

2009-05-23 Thread David Lam
and its like documented verbosely in :h java.vim alreadyy didnt know syntax files had help files too... On Sat, May 23, 2009 at 12:47 AM, David Lam david.k.l...@gmail.com wrote: oh no wonder that makes sense... On Fri, May 22, 2009 at 2:55 AM, Dennis Benzinger dennis.benzin...@gmx.net

Adding hyphen - to iskeyword ...but only for keyword completion

2010-11-25 Thread David Lam
I've been doing a lot of work in XQuery, where the convention is for variable and function names to be hyphenated: let $this-is-some-variable := this:is-some-function() ...and to complete '$this-is-some-variable', I'd like to type '$thC-p, but by default that only completes to '$this' On

Re: Adding hyphen - to iskeyword ...but only for keyword completion

2010-11-25 Thread David Lam
On Thu, Nov 25, 2010 at 5:06 AM, Tim Chase v...@tim.thechases.com wrote: On 11/25/2010 02:04 AM, David Lam wrote: I've been doing a lot of work in XQuery, where the convention is for variable and function names to be hyphenated: let $this-is-some-variable := this:is-some-function

what to install to compile MacVim with +X11 support?

2014-03-28 Thread David Lam
on linux I would install packages like gtk2-dev and stuff, but I'm not sure what I gotta install on Mac 10.9.2 to get the headers or whatever it needs for +X11 anyone know?! thanks! -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you