peiman khosravi | 19 May 2013 15:49
Picon
Gravatar

using % inside quotes (" ") - e.g. ':call ScreenShellSend("echo %:p")'

Dear all, 

I am trying to run this command:

:call ScreenShellSend("echo %:p") 

Where %:p should be replaced by the current file path. For obvious reasons this doesn't work so I get 'echo %:p' in the terminal instead. Is there a workaround for this?

Many thanks in advance
Peiman





www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.

--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Yuma Antoine Decaux | 19 May 2013 08:59
Picon

introduction + first question that will set the tone for me

Hi all,

As per the subject, i have a simple question, before i go on and try to work VIM out. Is this potentially accessible to blind users?

I've been more and more nudged towards using command line only at UNI as all GUI oriented applications are either horribly slow or unusable with a screen reader, and htough i love the simplicity and responsiveness of the command line, i need something a bit more powerful for editing python scripts and other stuff i;m currently learning.


Any other blind VIM users out therre can give me a primer?

Thanks, and best regards 

Yuma 






"Light has no value without darkness"
Mob: +61 (0)410732547
Skype: Shainobi1

This message is protected by article 4-210 of a certain book of laws but you don't have to worry about privacy issues if you are the intended recipient. However, if any freakish circumstance such as ip sniffing, honey pot open relay servers or an honest mistake caused a transmission error, please advise the sender and throw your laptop into a bubble bath to avoid all illicit data retention.

--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
 
 
dv1445 | 19 May 2013 07:12
Favicon

make distclean fails to remove src/config.cache

Hi Björn,

Doing 'make distclean' doesn't remove  src/config.cache.  Shouldn't it?
I went to compare this to the BramVim repo, but found that the BramVim
repo's ./configure script never even creates src/config.cache in the
first place.

If I forget to do the "export CC=clang" bit before ./configuring on Lion
or greater, then realize my error and go back and do it, then do make
distclean to clear the cache, the ./configure script yells at me to do
"make distclean" even though I already did.  Sure enough,
src/config.cache is still sitting there.  I have to manually remove the
file.

-gmn

-- 
--

-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@...
For more options, visit https://groups.google.com/groups/opt_out.

dv1445 | 19 May 2013 07:11
Favicon

7.3.967 fails on Tiger PPC due to Python problem

Hi Björn,

MacVim failed to build on OS X 10.4.11 (PPC) after pulling to 7.3.967.
Everything as of the 7.3.806 pull from February was just fine.  Seems
the recent fiddling with Python in BramLand has messed things up for
poor Tiger.

My ./configure flags are: 
  --with-features=big   
  --enable-pythoninterp 
  --disable-netbeans    
  --disable-nls         

Here is the end of the build process that shows the chokage.

 gcc   -L/usr/local/lib  -o Vim objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o
objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o
objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o
objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o
objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o
objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o
objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o
objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o
objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o
objects/window.o objects/gui.o objects/gui_beval.o objects/pty.o objects/gui_macvim.o
objects/MMBackend.o objects/MacVim.o    objects/if_python.o    objects/os_macosx.o
objects/os_mac_conv.o    objects/main.o objects/memfile.o -framework Cocoa -framework Carbon       -lm
-lncurses  -liconv -framework Cocoa    -framework Python      
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_Py_CLEAR
_Py_VISIT
collect2: ld returned 1 exit status
make[1]: *** [Vim] Error 1
make: *** [first] Error 2

I note that this error survived "make distclean" and also a fresh clone
of the repo.  I also note that my Python is in the standard
/library/frameworks/ python.framework location.  I also note that this
pull builds without problem on 10.8.3 and also on PPC Leopard.

Scrolling up through the terminal output reveals some warnings
that are potentially useful:

-pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-DPYTHON_HOME=\"/Library/Frameworks/Python.framework/Versions/2.7\"  -o objects/if_python.o if_python.c
In file included from if_python.c:660:
if_py_both.h: In function ‘OptionsDestructor’:
if_py_both.h:1415: warning: suggest explicit braces to avoid ambiguous ‘else’
if_py_both.h: In function ‘OptionsTraverse’:
if_py_both.h:1423: warning: implicit declaration of function ‘Py_VISIT’
if_py_both.h: In function ‘OptionsClear’:
if_py_both.h:1430: warning: implicit declaration of function ‘Py_CLEAR’
if_py_both.h: In function ‘WinListDestructor’:
if_py_both.h:2112: warning: suggest explicit braces to avoid ambiguous ‘else’

-gmn

-- 
--

-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@...
For more options, visit https://groups.google.com/groups/opt_out.

Eric Weir | 10 May 2013 15:01

Vim warns of swap files in "/var/tmp/"


Getting "swap file exists" warning. There are no swap files anywhere in my user directory. Then I notice the text of the warning: 

Swap file "/var/tmp/writing.taskpaper.swp" already exists!

I'm gathering this has something to do with the fact that that I'm getting what I take to be gvim instead of macvim. 

I've deleted the swap files, but I'm still getting gvim instead of macvim. 

Why is this happening? How can I stop it?

Thanks,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA

"Style is truth." 

- Ray Bradbury

--
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
 
 
peiman khosravi | 9 May 2013 14:35
Picon
Gravatar

python shortcut issue

Hello, 

I'm experiencing something odd. Is it a bug or my lack of knowledge?

I open a new window (cmnd-n). I type ':e python.py' and paste a bit of code in there, which I have copied from another document. The syntax is highlighted and all is good. 

I then press alt-p, which is a shortcut I have defined in my /vim/plugin/python.vim file ("map <buffer> π :w <CR>:!python % <CR>"). 

Result: Nothing happens. 

I save the file and try again: nothing happens.

I reopen the file, and the shortcut is now working. Am I doing something wrong?

Many Thanks
Peiman   

--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Bram Moolenaar | 9 May 2013 05:51
Picon

Plans for Vim 7.4


Hello Vim users,

We are now at patch level 7.3.931. In a few weeks we would reach 999.  I
don't want to find out what happens if we go over that, so it's time for
Vim 7.4!

The top five of the voting list:
http://www.vim.org/sponsor/vote_results.php

1. add IDE features
2. add integration with Python instead of inventing more Vim script
3. fix all problems, big and small; make Vim more robust
4. improve syntax highlighting speed
5. add collaborative editing

I can't possibly do all of that in a few weeks, but this is what I can do:

1. Include the Python patches that ZyX has created.  This improves the
   Vim API from the Python interface.
2. Include the fast regexp engine patch that has been floating around
   for a long time. With some clever logic to fall back to the old
   regexp engine for patterns that might not work with the new one.
3. Include lots of pending patches for bug fixes.

Besides that, if you are maintaining runtime files, please send me any
pending updates.  I will not make big changes just before the release,
everything needs some time for testing.  Let's set a deadline at the end
of May.

I don't have a date set for the release. I'll include the mentioned
changes and then we need some time for testing until it looks stable.
And hopefully we don't go past 999 before that...

-- 
E  M  A  C  S
s  e  l  o  h
c  t  t  n  i
a  a     t  f
p        r  t
e        o
         l

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
--

-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@...
For more options, visit https://groups.google.com/groups/opt_out.

Colin McLear | 8 May 2013 20:56
Picon
Gravatar

compiling for ipad/ios

Has anyone had any luck compiling vim for the iPad (specifically a jailbroken ipad2)? I've gotten 7.3 to run
on it, but I'd like Python support, which means the Cydia repo isn't going to be enough. Any tips would be appreciated!
___

-- 
--

-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@...
For more options, visit https://groups.google.com/groups/opt_out.

Peiman Khosravi | 6 May 2013 16:50
Picon
Gravatar

'monitor' buffer to display command result

Dear all,

I have found the script on this page useful for running terminal commands in a new buffer:
http://vim.wikia.com/wiki/Display_output_of_shell_commands_in_new_window. This script below
opens a scratch buffer with the result of a terminal command. This is one step closer to what I am after, but
not quite there yet. 

I would like to be able to perform a command on the content of the current buffer (%p). Now, I would like the
result to be printed in a named buffer (automatically created in a different window/tab, or refreshed if
it already exists), but without changing the focus from the current buffer. So effectively, I have a
'monitor' buffer working in the background. Something like this video: http://www.youtube.com/watch?v=wNWFSIadAH8

Is this possible?  

Many Thanks indeed and sorry for the newbie question. 

Best,
Peiman

-- 
--

-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@...
For more options, visit https://groups.google.com/groups/opt_out.

netkid12 | 14 Apr 2013 01:40
Picon

How to install DrawIT for macvim on Mountain lion

Hi, I am new to Mac & to VIM/MACVIM. I follow instructions on drawit.vba to run it with macvim and it says that
is not a tarball file. 

1. Launch macvim by clickon macvim app
2. open drawit.vba in macvim
3. type in :so %

I see in Macvim

Error detected while processing function vim ball#Vimball:
(Vimball) The current file does not appear to be a Vimball!

Can someone give step by step instruction on how to do this. tx

-- 
--

-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@...
For more options, visit https://groups.google.com/groups/opt_out.

matthkerner | 13 Apr 2013 18:07

latex-suite and Bibtex

Hi,

I have a problem with latex-suite in combination with bibtex: 

When I type \cite{ and press F9, the middle window shows the correct entries of the bib file, but the bottom
window show the complete bibtex entry, instead of the summary with just the autor and title. Also the title
of the bottom window states 
grep -nH ___HIGHLY_IMPROBABLE___ test.tex

If I press return, the mid and bottom window are closed, but the reference is not copied to the tex file.

Some more info/summary:
- everything is working with (terminal version of) vim
- bibtex is working with MacVim
- \cite{ F9, works with MacVim, when thebibliography is in the tex file
x \cite{ F9 doesn't work with bibtex and MacVim

Do you have any ideas, how to fix this?

Thanks,
Matthias

-- 
--

-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@...
For more options, visit https://groups.google.com/groups/opt_out.


Gmane