So that the name is consistent everywhere. Makes it much easier to search. I
would appreciate this addition, too.
Example
function! Test(param)
echo a:param
endfunction
When you see param and want to know where it is used, all you have to do is
pressing * (using set hlsearch or a plugin
So maybe one could make vimscript search a variable foo as l:foo, a:foo,
(maybe also: w:foo, b:foo), s:foo, g:foo, and then throw an undefined
variable name error if none exists. Or so.
No. I don't want to go back to VB without using Option Explicit ;)
Don't let vim find some value
On Tue, Apr 17, 2007 at 10:35:14PM -0400, David Howland wrote:
Dear Vim gods,
Please consider adding the following command to Vim:
:bc (for buffer close)
It acts just like :bd , except that if the buffer is in a split window,
it does not remove the window.
Thank you.
I've seen this
Since projects won't have as many keywords as glibc, the only slow down
will be with the syntax file (re)generation. ctags is reasonably fast
Sorry. I haven't read your message thoroughly enough. I was talking
about what you've written in your comment.
/me hides ;)
Marc
It would be convinient to get an item from the completion menu faster
than downdown .. or typing more characters.
What do you think of prepending each item with a number and add a
key-mapping
c-iidx to get the idxth item?
so c-i4 would select the 4th.
Would it be convinient to add another
On Thu, Jan 18, 2007 at 02:15:36PM +1100, John Beckett wrote:
Suggested new feature:
Make an easy way to encrypt a secret within a line.
Then you can have a simple text file to document stuff, with
embedded secrets. On reading, you only need to enter a key if you
want to see a secret.
I
On Mon, Dec 11, 2006 at 09:08:20PM -0200, Rodolfo Borges wrote:
(1)
When tab-completing on Vim :cmdline, start with the dir of the current
file being edited, instead of the $PWD (use ./ for that).
Yet another idea. I'm using many mappinngs like this to not change workinng
directory
(it seems
Hi Tony.
Of course this was a trivial example.
I was grepping the output of jar - content-texfile to find the packages
of a java-class.
Currently I'm using this function.
I'm invoking this function for up to 40 files or more.. That depends on
how many modules I have imported.
let type_pattern =
this shuold be the case by default.
In my case it does what I want but..
Did I miss anything?
Cheers Marc Weber
Marc,
In case you are talking X11:
D you have x11 authorization enabled or disabled ?
I've been taking x11.
I did modify xhost because I wanted a php script be able to launch vim.
But I've restarted X now and xhost - shows the same as xhost. It still
works.
So c-rsystem('xhost') inserts:
Such a behavior most likely is far from one's expectations. Though, there is
no any riddle here, just the latest version of exuberant ctags cannot parse
new extensions to VIM script.
It can't parse function autoload#blah#foo#method, either.
So if you want to include this into your patch,
:help tabpage.txt
See also :h mksession .. That is was ZoomWin.vim (from Charles E. Campbell) is
using..
You can get it on vim.org
Marc
12 matches
Mail list logo