Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

vim-mac · Vim (Vi IMproved) text editor Macintosh list

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 13520 - 13549 of 13698   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#13520 From: Robert <sigzero@...>
Date: Sat Dec 1, 2012 1:53 pm
Subject: /bin/bash e: command not found
sigzero@...
Send Email Send Email
 
I installed MacVim today via homebrew. I have a comand in my .vimrc to
edit my vimrc with ,e (leader is remapped to ,). I am getting the error
in the subject line when I try to use that.

--
Robert


--
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

#13521 From: Robert <sigzero@...>
Date: Sat Dec 1, 2012 2:15 pm
Subject: Re: /bin/bash e: command not found
sigzero@...
Send Email Send Email
 
Ignore !

On 2012-12-01 13:53:45 +0000, Robert said:

> I installed MacVim today via homebrew. I have a comand in my .vimrc to
> edit my vimrc with ,e (leader is remapped to ,). I am getting the error
> in the subject line when I try to use that.
>
> --
> Robert


--
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

#13522 From: Yile Ku <stiffstone@...>
Date: Sun Dec 2, 2012 7:07 am
Subject: no window pops up
stiffstone@...
Send Email Send Email
 
Just build vim on mac osx 10.7.5.  Run it and open a file and nothing happens...
I set the CC=clang variable tried again still nothing happens.

Y-

--
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

#13523 From: Bram Moolenaar <Bram@...>
Date: Tue Dec 4, 2012 7:20 pm
Subject: Vim charity project visit report
Bram@...
Send Email Send Email
 
Hello Vim users,

Vim users donate quite some money to my favorite charity: Kibaale
Childrens Centre.  I went there to check out what they have been doing
with all this money.  You can read my report here:

	 http://www.iccf.nl/news.html

I discovered they are now using Vim in school, although not quite as you
would expect...

Happy Vimming!

--
From "know your smileys":
  :-| :-|   Deja' vu!

  /// 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

#13524 From: Yun Jiang <wing0214@...>
Date: Wed Dec 5, 2012 8:57 am
Subject: preview icon of MacVim and color style texting
wing0214@...
Send Email Send Email
 
Hi,

I got my new MacAir which is installed the Mountain Lion System (Mac OSX
10.8.2). I did install the latest version of MacVim which is compatible with
this fancy operating system. Now I have two questions

1) I do not know why some .gpl or /data files are shown in an executable file
icon while others are shown in a normal text file icon. Actually all these are
set to open with MacVim and Change all in the "get info" window. Could you help
to figure out? I do not think files open with MacVim should be shown as an
executable file icon. Very funny to me.
See two snapshots below

2) Some files open with Mac Vim are shown in color style, while others (for
example, .gpl files) does not, which, however, can be shown in color style in
the Mac OSX 10.6.8. I like the color style texting, which can make me easy to
locate. Could you show me the command for this setting?

Here are two snapshots for this issue.

Best,

Yun

--
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

#13525 From: Carl Jacobsen <lists@...>
Date: Wed Dec 5, 2012 8:54 pm
Subject: Re: preview icon of MacVim and color style texting
lists@...
Send Email Send Email
 
On Dec 5, 2012, at 12:57 AM, Yun Jiang <wing0214@...> wrote:

> 1) I do not know why some .gpl or /data files are shown in an executable file
icon while others are shown in a normal text file icon. Actually all these are
set to open with MacVim and Change all in the "get info" window. Could you help
to figure out? I do not think files open with MacVim should be shown as an
executable file icon. Very funny to me.

I haven't tested, but strongly suspect that the difference between the two
groups of files is that the ones showing with an executable file icon have one
or more of the executable permission bits set in their file permissions (mode).
If, in the shell, running "ls -l" shows a correspondence between the files in
question and those that have "x" anywhere in the first field, then running
"chmod a-x affected-file-names" should fix the problem. This, of course, is
assuming that you don't need to execute them directly (by clicking from the
finder or typing their names at a prompt).

> 2) Some files open with Mac Vim are shown in color style, while others (for
example, .gpl files) does not, which, however, can be shown in color style in
the Mac OSX 10.6.8. I like the color style texting, which can make me easy to
locate. Could you show me the command for this setting?

It's all a matter of what syntax files MacVim has available and what code it
uses to determine which one to apply (by setting the "filetype" variable). I'm
assuming that your ".gpl" files are for Gnuplot. The runtime files for current
MacVim are under:

	 /Applications/MacVim.app/Contents/Resources/vim/runtime/

And MacVim has a syntax file for Gnuplot, kept in syntax/gnuplot.vim (under that
directory).

There are entries in the filetype.vim and scripts.vim files which will set the
filetype variable for a given file to "gnuplot" if either a) the filename ends
with ".gpi" (note not ".gpl") or b) the first line of the file starts with "#!"
and contains "gnuplot" (more specifically, contains what looks like a valid path
to gnuplot).

I'm guessing either the rules have changed a bit since the last version you used
(MacVim generally incorporates the latest version of Vim available), or, perhaps
you used to have a custom setting to treat ".gpl" files as gnuplot. This could
be accomplished by adding the line:

	 au  BufNewFile,BufRead  *.gpl  setf gnuplot

to your ~/.vim/filetype.vim file (creating the directory and file if necessary).
I suspect others here can suggest slightly cleaner/more proper methods of
implementing this, but the above ought to work.

Cheers,
Carl

--
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

#13526 From: Nico Weber <nicolasweber@...>
Date: Sat Dec 8, 2012 11:39 pm
Subject: Re: Tab Bar Update Proposal
nicolasweber@...
Send Email Send Email
 
On 11.11.2012, at 08:54, björn wrote:

> On Mon, Nov 5, 2012 at 12:06 AM, Dan Loewenherz wrote:
>>
>> I would like to propose a refresh to the tab setup that we currently have in
>> the GUI.
>>
>> Here is what I would like to see--
>>
>> 1) Tab layout remains stationary when a tab is closed. This is useful when
>> closing lots of tabs. It's annoying to have to move the mouse every time a
>> new tab is closed to hit the X.
>>
>> 2) Move the X to the right side of the tab. I'm actually not sure about this
>> one, but I think it deserves a discussion.
>>
>> 3) Make tab widths proportional to the number of tabs currently open,
>> filling the available space.
>>
>> 4) Possible rehaul of the visual design and user experience with the tab bar
>> generally. I'm a big fan of the rounded corner look on Chrome, and of the
>> little animations when opening / closing a tab on Chrome and Sublime Text 2.
>
> I would love to see the tab bar updated.  From what I can tell you are
> basically asking for the Chrome-style tabs instead of the (old)
> Safari-style tabs?  Personally, I am a fan of how tabs function in
> Chrome (particularly item 1), but as for looks I prefer the tabs in
> Safari.
>
> At any rate, the problem in updating the tabs are that we currently
> use the PSMTabBarControl framework which I think should be ripped out
> completely but I don't know if there is any good replacement.  Writing
> new tabs from scratch is probably more trouble than its worth.  Is
> anybody aware of a modern and properly maintained tab bar framework to
> supersede PSMTabBarControl?  (I had a look around and saw some forks
> of PSMTabBarControl but they did not give me the impression that they
> are what we need.)

There are a few projects that extracted chromium's tabs (for example
https://github.com/rsms/chromium-tabs). I don't know if they are actively
maintained though. Tweaking the appearance is probably fairly easy using
PSMTabBarControl's assets.

Nico

>
>> I am also willing to financially support any sort of design / interface work
>> that falls in the above categories.
>
> Thank you for offering!
>
> Björn
>
> --
> 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 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

#13527 From: Eric Dobson <eric.n.dobson@...>
Date: Sun Dec 9, 2012 11:29 pm
Subject: Using --enable-mzinterp doesn't work out of the box
eric.n.dobson@...
Send Email Send Email
 
I had trouble using enable-mzinterp out of the box (downloaded from the hg repo).

These were the changes I had to make. I think someone should actually fix them up and get a patch in so that it works out of the box.

diff -r 52bfa939fc07 src/auto/configure
--- a/src/auto/configure        Thu Dec 06 21:30:29 2012 +0100
+++ b/src/auto/configure        Sun Dec 09 15:27:55 2012 -0800
@@ -4927,7 +4927,7 @@
 
   if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
     if test "x$MACOSX" = "xyes"; then
-      MZSCHEME_LIBS="-framework PLT_MzScheme"
+      MZSCHEME_LIBS="-framework Racket"
     elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
       MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"
       MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
@@ -4981,6 +4981,7 @@
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mzscheme_base.c" >&5
 $as_echo_n "checking for mzscheme_base.c... " >&6; }
+    MZSCHEME_EXTRA="mzscheme_base.c"
     if test -f "${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
       MZSCHEME_EXTRA="mzscheme_base.c"
     else

I also needed to put Racket.framework in /System/Library/Frameworks as vim was not looking in PLT_HOME/lib.

--
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

#13528 From: Joanas <jb@...>
Date: Mon Dec 10, 2012 5:36 pm
Subject: Re: no window pops up
jb@...
Send Email Send Email
 
On Sunday, December 2, 2012 2:07:14 AM UTC-5, Yile Ku wrote:
> Just build vim on mac osx 10.7.5.  Run it and open a file and nothing
happens...
> I set the CC=clang variable tried again still nothing happens.
>
> Y-

Same issue and tried the same thing...

--
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

#13529 From: Bram Moolenaar <Bram@...>
Date: Mon Dec 10, 2012 7:26 pm
Subject: Vim 2013 calendar available
Bram@...
Send Email Send Email
 
Hello Vim users,

I have updated the handy desktop calendar for 2013.  It prints on one
sheet of paper and, after folding and applying a bit of glue, stands on
your desk.  Well, I suppose it would stand on most things.  Although I
don't recommend placing it on top of your dog.

It is available in English and Dutch.  You can find it on my website:
http://moolenaar.net/#Calendar

If you are doing your Christmas shopping on Amazon, please consider
using the links on this page: http://www.iccf.nl/click1.html
A percentage of the sales will go to Vim's charity, helping children in
Uganda,

Happy Vimming!

--
hundred-and-one symptoms of being an internet addict:
130. You can't get out of your desk even if it's time to eat or time
      to go to the bathroom.

  /// 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

#13530 From: björn <bjorn.winckler@...>
Date: Tue Dec 11, 2012 4:44 pm
Subject: Re: Using --enable-mzinterp doesn't work out of the box
bjorn.winckler@...
Send Email Send Email
 
On Mon, Dec 10, 2012 at 12:29 AM, Eric Dobson wrote:
I had trouble using enable-mzinterp out of the box (downloaded from the hg repo).

These were the changes I had to make. I think someone should actually fix them up and get a patch in so that it works out of the box.

Yes, as it is I don't think it can be merged.  If it is cleaned up so that it works without having to put frameworks into /Sys/Lib/Fwk etc. then I'll take a look at merging it.

Björn

--
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

#13531 From: Bram Moolenaar <Bram@...>
Date: Tue Dec 11, 2012 8:16 pm
Subject: Re: Using --enable-mzinterp doesn't work out of the box
Bram@...
Send Email Send Email
 
Eric Dobson wrote:

> I had trouble using enable-mzinterp out of the box (downloaded from
> the hg repo).
>
> These were the changes I had to make. I think someone should actually fix
> them up and get a patch in so that it works out of the box.
>
> diff -r 52bfa939fc07 src/auto/configure
> --- a/src/auto/configure        Thu Dec 06 21:30:29 2012 +0100
> +++ b/src/auto/configure        Sun Dec 09 15:27:55 2012 -0800
> @@ -4927,7 +4927,7 @@
>
>    if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
>      if test "x$MACOSX" = "xyes"; then
> -      MZSCHEME_LIBS="-framework PLT_MzScheme"
> +      MZSCHEME_LIBS="-framework Racket"
>      elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
>        MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"
>        MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
> @@ -4981,6 +4981,7 @@
>
>      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mzscheme_base.c"
> >&5
>  $as_echo_n "checking for mzscheme_base.c... " >&6; }
> +    MZSCHEME_EXTRA="mzscheme_base.c"
>      if test -f "${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
>        MZSCHEME_EXTRA="mzscheme_base.c"
>      else
>
> I also needed to put Racket.framework in /System/Library/Frameworks as vim
> was not looking in PLT_HOME/lib.

I suspect we need to add some code to autoconf to handle the different
path names.  They probably differ on various versions of the OS, and
perhaps different installations of MzScheme.

I would appreciate someone sending me a patch for that.

--
hundred-and-one symptoms of being an internet addict:
137. You decide to stay in college for an additional year or two,
      just so you can have the free Internet access.

  /// 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

#13532 From: björn <bjorn.winckler@...>
Date: Wed Dec 12, 2012 3:53 pm
Subject: MacVim snapshot 66
bjorn.winckler@...
Send Email Send Email
 
Hi,

GitHub are no longer allowing binary uploads so I have decided to go back to using Google Code for binaries.  I thought I may as well build a new snapshot and upload it to GC.  Changes plus download links are at:


As usual, this is a 10.8 build only.  Builds for 10.6 & 10.7 will appear later.

Björn

--
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

#13533 From: philipmat <google@...>
Date: Fri Dec 14, 2012 3:01 am
Subject: Cannot map <D-P>
google@...
Send Email Send Email
 
Since I'm hitting Command-P a lot when I really want Ctrl-P, I wanted to remove
the print mapping and assign <D-P> to <C-P>.

The <D-P> mapping just doesn't seem to take, though. It just performs P instead.

macmenu File.Print key=<nop>
nmap <D-P> <C-P>


`nmap <D-P> <nop>` doesn't seem to work either, still just performing P.

What am I missing or doing wrong?

Thanks in advance.

--
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

#13534 From: philipmat <google@...>
Date: Fri Dec 14, 2012 3:02 am
Subject: Re: Cannot map <D-P>
google@...
Send Email Send Email
 
Just to clarify, `macmenu File.Print key=<nop>` works, it's the `nmap <D-P> ...`
part that doesn't.

--
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

#13535 From: björn <bjorn.winckler@...>
Date: Fri Dec 14, 2012 7:52 am
Subject: Re: Cannot map <D-P>
bjorn.winckler@...
Send Email Send Email
 
On Fri, Dec 14, 2012 at 4:02 AM, philipmat wrote:
Just to clarify, `macmenu File.Print key=<nop>` works, it's the `nmap <D-P> ...` part that doesn't.

Maps which involve "D" are case sensitive. You'll want to 

nmap <D-p> <C-p>

instead, see ":h cmd-key".

Björn

--
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

#13536 From: Steve Matney <steve.matney@...>
Date: Mon Dec 24, 2012 5:03 am
Subject: Kernel Panics in MacVim
steve.matney@...
Send Email Send Email
 
Has anybody been seeing pretty consistent kernel panics in MacVim? I just
experienced my third in three days and second today.

I just installed the latest snapshot, so we'll see if anything's changed to fix
the problem, but I thought I'd throw this question out there to see if anyone
else was having the same problem.

Thanks everybody!

--
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

#13537 From: Phil Dobbin <phildobbin@...>
Date: Mon Dec 24, 2012 7:32 am
Subject: Re: Kernel Panics in MacVim
phildobbin@...
Send Email Send Email
 
On 12/24/2012 05:03 AM, Steve Matney wrote:

> Has anybody been seeing pretty consistent kernel panics in MacVim? I just
experienced my third in three days and second today.
>
> I just installed the latest snapshot, so we'll see if anything's changed to
fix the problem, but I thought I'd throw this question out there to see if
anyone else was having the same problem.
>
> Thanks everybody!

Your best bet is to send Bjorn the relevant logs & see if he can help in
any way.

Cheers,

   Phil...

--
currently (ab)using
CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical,
Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise & Quantal

#13538 From: Jang-hwan Kim <janghwan@...>
Date: Sun Dec 30, 2012 2:19 am
Subject: Re: Kernel Panics in MacVim
janghwan@...
Send Email Send Email
 
On Monday, December 24, 2012 2:03:41 PM UTC+9, Steve Matney wrote:
> Has anybody been seeing pretty consistent kernel panics in MacVim? I just
experienced my third in three days and second today.
>
> I just installed the latest snapshot, so we'll see if anything's changed to
fix the problem, but I thought I'd throw this question out there to see if
anyone else was having the same problem.
>
> Thanks everybody!


Perhaps you turned on the 'tmux-MacOSX-pasteboard' program?


I also had this issue, after I upgraded from Snow Leopard(10.6) to Mountain
Lion(10.8).
Like you, I had nearly one panic a day. The kernel panic log showed: "negative
open count"
Upgrading/Compiling MacVim did not solve the issue. I was using 7.3 before
upgrading the OS.

I recalled that I was using the 'tmux-MacOSX-pasteboard' program before
upgrading to Mountain Lion.

https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard

I wasn't sure it had anything to do with it, but at least it was something that
was interacting with the lower level and Vim, so I thought it was worth a try.
I decided to turn off that program, and see how well it goes along.
That was early November... and I haven't met any crashes since then.

--
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

#13539 From: mityaz co <mitya@...>
Date: Thu Jan 3, 2013 7:10 pm
Subject: MacVim slooow cursor
mitya@...
Send Email Send Email
 
Hello everybody.
I'am issuing the following problem. At home I'm using Ubuntu and GVim version
7.3 It works as i should be, but I'm issuing speed problems with the MacVim at
my work. Macvim is installed via brew (also version 7.3). The speed of cursor
moving over symbols is way to slow (with the rather small file being edited --
about 200-250 lines). How do I cope with this problem? Maybe changing some
rendering options?

--
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

#13540 From: Julien Stechele <julien.stechele@...>
Date: Fri Jan 4, 2013 1:40 pm
Subject: Re: MacVim slooow cursor
julien.stechele@...
Send Email Send Email
 


2013/1/3 mityaz co <mitya@...>
Hello everybody.
I'am issuing the following problem. At home I'm using Ubuntu and GVim version 7.3 It works as i should be, but I'm issuing speed problems with the MacVim at my work. Macvim is installed via brew (also version 7.3). The speed of cursor moving over symbols is way to slow (with the rather small file being edited -- about 200-250 lines). How do I cope with this problem? Maybe changing some rendering options?

--
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

Do you use cursorcolumn or relativenumber ?

--

Cordialement,
Julien Stechele

--
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

#13541 From: Eric Weir <eeweir@...>
Date: Fri Jan 4, 2013 3:16 pm
Subject: Vim app for iPad
eeweir@...
Send Email Send Email
 

I changed the subject heading to focus the discussion of Vim on the iPad more specifically on the Vim app for the iPad.

I hesitate in posting my musings on this topic [1] because I am not in a position myself to do much about them. [2] They may just be completely off-the-wall unrealistic.

That said, I've decided to see what's possible with the app as it is. I will be going about it slowly, in between other activities. 

In the meantime, it's noteworthy that the developer has released the code for the project and has placed it on its github repository. That and comments made by some of the raters in the App Store make wonder if more is not possible with this app. E.g., one rater suggests a key remapping to make the escape key readily accessible. Another rater suggests several features that would make the app much more attractive:

  • Extended Ctrl, Esc, Tab, colon and user set-able quick keys for Leader, back ticks, etc.
  • Default support for standard .vimrc and .vim plugins
  • iOS copy/paste support 
  • Dropbox syncing.

Developers of other editors have added a row of essential keys to the default iPad virtual keyboard. 

With iTunes it's supposed to be possible to drag 'n drop files between the iPad and another device. I see how to add files to the iPad. I don't see how to access the app folder on the IPad so that files could be moved to the other device.

Again, I'm almost ashamed to be commenting to this effect, since I couldn't contribute anything, but given the above and what I've seen done with other iPad apps, e.g., the diverse provisions for moving/syncing files between an iPad and another device in PDF Expert, I wonder if an individual, an organization, or a group couldn't take on the task of making this app genuinely useful for the iPad, along the lines of what was done to create MacVim.

Regards,
------------------------------------------------------------------------------------------
Eric Weir

"With an ounce of willingness, everything can change."

- Kim



--
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

#13542 From: Bee <forth@...>
Date: Fri Jan 4, 2013 4:34 pm
Subject: Re: Vim app for iPad
forth@...
Send Email Send Email
 
Hi Eric

I used iTunes to put .vim .vimrc and .gvimrc on an iPhone for Vim app
to use. It is working quite well.

The .gvimrc has only:
set guifont=Courier:h18
As the default font on iPhone is too small.

The .vimrc is a tiny version of what I use on Mac, Linux and Windows.
If you like I will post it here.

I also used iTunes to upload several 'reference' files with info I
need remotely. These files are big enough that other iPhone editors
are too slow and do not have the search capability.

I use :E to look around the ios (not jailbroke) file structure.
:help :Explore

I have reported a few bugs, and DropBox support is talked about.

I also hope to see an update.

Bill

--
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

#13543 From: Eric Weir <eeweir@...>
Date: Fri Jan 4, 2013 10:49 pm
Subject: Re: Vim app for iPad
eeweir@...
Send Email Send Email
 

Discussion of Vim on the iPad on the vim_use list led me to post the following about the existing Vim app for the iPad. I'm forwarding it hear in case anyone here might have thoughts on the topic. I'm wondering if developing this app into a genuinely useful app on the iPad might not be a project along the lines of the MacVim project. 


On Jan 4, 2013, at 10:16 AM, Eric Weir wrote:

I changed the subject heading to focus the discussion of Vim on the iPad more specifically on the Vim app for the iPad.

I hesitate in posting my musings on this topic [1] because I am not in a position myself to do much about them. [2] They may just be completely off-the-wall unrealistic.

That said, I've decided to see what's possible with the app as it is. I will be going about it slowly, in between other activities. 

In the meantime, it's noteworthy that the developer has released the code for the project and has placed it on its github repository. That and comments made by some of the raters in the App Store make wonder if more is not possible with this app. E.g., one rater suggests a key remapping to make the escape key readily accessible. Another rater suggests several features that would make the app much more attractive:

  • Extended Ctrl, Esc, Tab, colon and user set-able quick keys for Leader, back ticks, etc.
  • Default support for standard .vimrc and .vim plugins
  • iOS copy/paste support 
  • Dropbox syncing.

Developers of other editors have added a row of essential keys to the default iPad virtual keyboard. 

With iTunes it's supposed to be possible to drag 'n drop files between the iPad and another device. I see how to add files to the iPad. I don't see how to access the app folder on the IPad so that files could be moved to the other device.

Again, I'm almost ashamed to be commenting to this effect, since I couldn't contribute anything, but given the above and what I've seen done with other iPad apps, e.g., the diverse provisions for moving/syncing files between an iPad and another device in PDF Expert, I wonder if an individual, an organization, or a group couldn't take on the task of making this app genuinely useful for the iPad, along the lines of what was done to create MacVim.

Regards,
------------------------------------------------------------------------------------------
Eric Weir

"With an ounce of willingness, everything can change."

- Kim

--
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

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA




--
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 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

#13544 From: Eric Weir <eeweir@...>
Date: Fri Jan 4, 2013 11:00 pm
Subject: Re: Vim app for iPad
eeweir@...
Send Email Send Email
 
On Jan 4, 2013, at 11:34 AM, Bee wrote:

> I used iTunes to put .vim .vimrc and .gvimrc on an iPhone for Vim app
> to use. It is working quite well.
>
> The .gvimrc has only:
> set guifont=Courier:h18
> As the default font on iPhone is too small.
>
> The .vimrc is a tiny version of what I use on Mac, Linux and Windows.
> If you like I will post it here.
>
> I also used iTunes to upload several 'reference' files with info I
> need remotely. These files are big enough that other iPhone editors
> are too slow and do not have the search capability.
>
> I use :E to look around the ios (not jailbroke) file structure.
> :help :Explore
>
> I have reported a few bugs, and DropBox support is talked about.
>
> I also hope to see an update.

Thanks, Bee. I'm encouraged by your response. I'm curious: Are you able to see
what's on the iOS device from iTunes? Comments by the developers of Vim for the
iPad suggest it should be possible, but I'm not finding a way.

You speak about iPhone editors. What can be done with them? Navigate to files on
the device? Move files in and out? Shouldn't these work on the iPad, too? Might
there be enhanced versions of them around somewhere?

I'm lead to believe---don't ask me by what---that all the files needed by Vim
and all documents created with it are contained in a single app folder on the
iPad. If so, is it possible to put folders in there? And if folders, plugins?

Regards,
--------------------------------------------------------------------------------\
----------
Eric Weir
eeweir@...

"The invincible shield of caring
Is a weapon sent from the sky
against being dead."

- Tao Te Ching 67







--
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

#13545 From: Eric Weir <eeweir@...>
Date: Sat Jan 5, 2013 10:42 am
Subject: Re: Vim app for iPad
eeweir@...
Send Email Send Email
 
On Jan 4, 2013, at 11:34 AM, Bee wrote:

> I use :E to look around the ios (not jailbroke) file structure.
> :help :Explore

I used to use with my installation on the MacBook, until I started using the
sessions plugin. Most of my writing in vim is in vimwiki, so I don't need to
access files outside vimwiki very often.

But I did as you suggested in the Vim for iPad app. Not sure where I went from
the iPad into the Vim app, but definitely inside the Vim app there is a very
complex file structure. Looks to me like plugins could be used.

I am handicapped at the moment without the key mappings, which I was given by
folks on vim_use shortly after getting started with vim. I never really learned
the actual vim commands. I guess it's time.

Regards,
--------------------------------------------------------------------------------\
----------
Eric Weir
Decatur, GA  USA
eeweir@...




--
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

#13546 From: Bee <forth@...>
Date: Sat Jan 5, 2013 3:37 pm
Subject: Re: Vim app for iPad
forth@...
Send Email Send Email
 
>Thanks, Bee. I'm encouraged by your response.
>I'm curious:
>Are you able to see what's on the iOS device from iTunes?

Yes. In iTunes,
specific apps are listed and you can transfer to/from them.
Many apps have DropBox support, which to me, is preferable.

>You speak about iPhone editors.

Most are for both iPhone and iPad, hence...
I will refer to all as ios editors.

Vim is my favorite, this IS the first version, although it works
amazingly well, it needs DropBox support, system clipboard
integration and a few bug fixes.

Other free editors: DraftPad, Nebulous Lite, LocNotes, Nocs are
quite good. They usually have DropBox support and use the system
clipboard.

Another editor called 'free writing' is quite experimental, some
interesting ideas but difficult for me to use. I like its custom
keyboard.

>What can be done with them?

The iPhone's on screen keyboard is tiny, but I can take notes,
compose responses to vim_use, vim_mac... it is easier with an
editor than in a web browser text box.

These things are not possible, yet, with ios vim because it does
not have a way to use the system clipboard for copy and paste,
even though :ve shows +clipboard.

I have compiled reference files I use to support my client's
systems and networks. ios vim will open very large files quickly
and is able to use regex search. Whereas ANY other ios editor I
have tried is extremely slow doing the same task, most do not
have a search, and none I have yet found have regex search.

With ios vim I can also edit those files and create new ones.

Bad news: those files, currently, are not accessible by anyother ios
app.
Good news: those files, currently, are not accessible by anyother ios
app.

That is to say they are out of sight, so if the iPhone is lost,
there is little chance a casual iPhone user would even know of
their existence.

It is even possible to open encrypted vim files transferred from my
Mac.

>Navigate to files on the device?

Yes, I can navigate anywhere on the device, read files, but this
iPhone is NOT jailbroke, so I do not have write access. When I
did 'look around', I felt more comfortable with the ios,
knowing it is truly unix.

>Move files in and out? Shouldn't these work on the iPad, too?

Yes, any ios device... iPad or iPhone are the same.

>Might there be enhanced versions of them around somewhere?

There are MANY editors for ios.
There is rumor of Microsoft Word for ios.
Apple has Pages for ios. The Mac version of Pages is excellent!
I have not yet downloaded it, but iText Pro, one of my favorite
simple word processors for the Mac, has an ios version called
iText Pad.

There are also several spreadsheets for ios.

>I'm lead to believe---don't ask me by what---that all the files
>needed by Vim and all documents created with it are contained
>in a single app folder on the iPad. If so, is it possible to
>put folders in there? And if folders, plugins?

As I understand, yes, all files are in the ios vim app 'package'.

I have added these to ios vim using iTunes:
.vim - this is a folder containing plugins...
.vimrc - the vim preference file
.gvimrc - the gui vim preference file, and ios vim IS 'gui'

The .vimrc is similar to what I use on Mac, Linux and Windows:
relative line numbers, incsearch, ignorecase
autoindent, nosmartindent, expandtab, smarttab,
tabstop=1, shiftwidth=1, because iPhone display is tiny
mappings for easier navigation within a file
nmap <lf> <cr> to ease unix system file navigation

The .gvimrc:
set guifont=Courier:h18
because the default font for iPhone is too small.

I have not found any ios vim specific documentation, but have
played enough to find one and two finger gestures.

It is possible to use a bluetooth keyboard with the iPhone,
but I do not have one, and I am curious what can be done
with the minimum. The small screen is very tiring to view but...

ios vim is amazingly usable, with DropBox and clipboard support
it will be the best editor I have tried for ios, but it may be
that I am just a HAPPY vim user on Mac, Linux, Windows, and now
ios :)

Bill

--
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

#13547 From: Bee <forth@...>
Date: Sat Jan 5, 2013 3:48 pm
Subject: Re: Vim app for iPad
forth@...
Send Email Send Email
 
This is my .vimrc for ios vim.
I used the short form for all settings,
just 'cause... iPhone is small. :)
Bill

"23456789012345678901234567890123456789012
se nocp nobk noswf nowrap
se is ic scs rnu
se ts=1 sw=1 et ai si sta
se nf-=octal nf+=alpha
se cb^=unnamedplus,unnamed
se lcs+=tab:\|-
nm F :bn!<cr>
nm Q :ls!<cr>:b
nm W :e! $MYVIMRC<cr>
nm T <pageup>
nm t <pagedown>
"nm <space> m'<pagedown> "space space bug?
nm <lf> <cr>
im & <esc>
ino <bslash> <bslash>
vm A y`>a<space>=<space><c-r>=<c-r>"<cr>
"set guifont=Courier:h18 ".gvimrc

--
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

#13548 From: Eric Weir <eeweir@...>
Date: Sat Jan 5, 2013 9:40 pm
Subject: Re: Vim app for iPad
eeweir@...
Send Email Send Email
 
On Jan 5, 2013, at 10:37 AM, Bee wrote:

>> I'm curious:
>> Are you able to see what's on the iOS device from iTunes?
>
> Yes. In iTunes,
> specific apps are listed and you can transfer to/from them.
> Many apps have DropBox support, which to me, is preferable.

Thanks, Bee.

When I select Vim from the apps set up for sharing on iTunes, click on the add
button and select a file on the MacBook, and then click on the Save to...
button, Finder does not show the iPad as a connected device. I don't see any way
to navigate to it.

If I could get a modified .vimrc on the iPad the Vim app would be a lot more
useable for me.

The iPad is connected to the MacBook by the usb cable.

--------------------------------------------------------------------------------\
----------
Eric Weir
eeweir@...

"The invincible shield of caring
Is a weapon sent from the sky
against being dead."

- Tao Te Ching 67







--
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

#13549 From: Bee <forth@...>
Date: Sun Jan 6, 2013 5:21 am
Subject: Re: Vim app for iPad
forth@...
Send Email Send Email
 
On Jan 5, 1:40 pm, Eric Weir <eew...@...> wrote:
> When I select Vim from the apps set up for sharing on iTunes,
> click on the add button and select a file on the MacBook, and
> then click on the Save to... button, Finder does not show the
> iPad as a connected device. I don't see any way to navigate to
> it.

You will need to make a copy of your '.vimrc',
re-name it 'v', and save it to the desktop.

You need this step because the Mac file open dialog
will not see the .vimrc file because it is a unix hidden file.

When you get it on the ios device you will need to
re-name it back to '.vimrc'.

Now:
+ connect ios device to the Mac with usb
+ open iTunes
+ click on the ios device mounting icon
+ at the bottom click the vim icon
+ click the Add... button, you will NOT use 'Save to...' button
+ use the file open dialog to browse to your 'v' file
+ select it and click Open

The 'v' file will show in the list above the Add... button and
it has been transferred to the ios device.

You do not use the 'Save to...' button when transferring to the
ios device, only when transferring from the ios device to Mac.

Note:
strings in '...' single quotes are to be typed LITERALLY
but without the single quotes.

Now for the tricky part:
+ open vim on the ios device
+ type this LITERALLY 'nm <lf> <cr>' then press return
- that will map linefeed to carriage return
+ type ':E' then press return (note uppercase 'E')
+ you should now be browsing the file system and
- see the 'v' file
+ use two fingers to scroll and hide keyboard
+ use one finger to select the 'v' file
+ select the 'v' file and type 'R' for Rename
+ delete the 'v' and type '.vimrc'
- because you do not have cursor keys
+ use two fingers to scroll and hide keyboard
+ use one finger to select the '.vimrc' file
- then press return
+ you should now be back in vim looking at your .vimrc file!
+ add 'nm <lf> <cr>' to your '.vimrc' file

Bill

--
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

Messages 13520 - 13549 of 13698   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help