How to create a short help for Evil

2014-05-29 Thread Ed Kostas
How to provide a short help page for Evil? I need a command line :help that lists the Evil key bindings whenever the user is in evil-mode. In emacs mode, the user must get the normal emacs help. I will provide the text for the help file. The persons who need the help are lawyers who use

Vim+mzscheme installer

2014-02-27 Thread Ed Kostas
Vim is not working with the new Racket 6.0. Therefore, I could not ./configure and make VIM+mzscheme. I would like to know whether a member of this group was able to upgrade if_mzsch.c, so it can handle Racket 6.0. The new Racket 6.0 has many nice features that I would like to use. -- -- You

Re: mzscheme-vimext to Serguey Khorev

2013-12-02 Thread Ed Kostas
On Monday, December 2, 2013 5:40:48 AM UTC-2, Sergey Khorev wrote: I am not sure whether it is ok to post a question to a specific member. However, I think that Serguey Khoreve is the person in better position to answer me. In the documentation of vim-mzscheme, I found references to a

Re: mzscheme-vimext to Serguey Khorev

2013-12-02 Thread Ed Kostas
I made a typo in the previous posting. Here are the lines to compile mz-vim: ~/vim# ./configure --enable-mzschemeinterp --with-features=small ~/vim# make ~/vim# sudo make install Racket should be built from sources, as stated in the previous post. -- -- You received this message from the

Question about vim installation

2013-12-02 Thread Ed Kostas
I wonder how vim building and installation works. After building Vim, I checket the src directory to see how large was the exec file. Thus: ~/vim# ls src/vim -lia 35097123 -rwxr-xr-x 1 ed ed 15941469 Dez 2 12:05 src/vim [2]+ Donegvim ~/vim# There it is. It occupies about

mzscheme-vimext to Serguey Khorev

2013-12-01 Thread Ed Kostas
I am not sure whether it is ok to post a question to a specific member. However, I think that Serguey Khoreve is the person in better position to answer me. In the documentation of vim-mzscheme, I found references to a vimext module. Besides this, when I require vimext, vim-mzscheme searches

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-12-01 Thread Ed Kostas
On Monday, November 25, 2013 11:26:42 AM UTC-2, MarcWeber wrote: I've been complaining about Vim related issues for a long time, I think its time to stop complaining and just fix it. I agree. Then let us fix it. Join by providing feedback: http://mawercer.de/vim.php I want to

Re: vim slow, Lisp, etc.

2013-11-29 Thread Ed Kostas
Let us examine the specific questions, as suggested by mfid. To make a long story short, I may recommend my friends to stick to emacs/evil, but they must first try vim. However, I need to compile Vim with mzscheme (or any other lisp) so they can keep using specific programs. Since I do not know

Re: vim slow, Lisp, etc.

2013-11-29 Thread Ed Kostas
One of the lawyers and an engineer interested in Vim told me that they succeeded in compiling Vim, with mzscheme and with somewhat faster syntax coloring. I did not test their instruction myself, but both said that they did the following: 1 - Add python. They even don't know what python is,

Re: vim slow, Lisp, etc.

2013-11-29 Thread Ed Kostas
Well, I tested the suggestion of adding --enable-pythoninterp to the command line, and compiling racket from sources. Now, everything is working beautifully. Thanks to everybody for helping me. I appreciated specially Marc Weber page, that contains many insightful observations about Vim. I am

vim slow, Lisp, etc.

2013-11-28 Thread Ed Kostas
I am helping a lawyer office in (a difficult) trying Vi(m), and have a few questions. The fact is that Vim seems to be very slow compared to Emacs. Let me elaborate on that. 1 - Lawyers work with long (very long) texts and Latex sources. Basically, an OCR program transforms every thing they

Re: vim slow, Lisp, etc.

2013-11-28 Thread Ed Kostas
On Thursday, November 28, 2013 8:39:02 AM UTC-2, Ed Kostas wrote: I am helping a lawyer office in (a difficult) trying Vi(m), and have a few questions. The fact is that Vim seems to be very slow compared to Emacs. Let me elaborate on that. 1 - Lawyers work with long (very long) texts

Unable to compile Vim with support for lisp

2013-11-28 Thread Ed Kostas
By suggestion of Marc Weber and others, I tried to compile Vim with mzscheme. I was happy to learn that configure has an option for it. Then I typed: ~/edt/vim# ./configure --enable-mzschemeinterp Here is what matters from the output of configure: checking for mzscheme... (cached)

Re: Unable to compile Vim with support for lisp

2013-11-28 Thread Ed Kostas
On Thursday, November 28, 2013 2:40:40 PM UTC-2, Sergey Khorev wrote: Ed,   checking for mzscheme... (cached) /usr/local/bin/mzscheme checking MzScheme install prefix... (cached) /home/ed/racket These too lines look suspicious. Apparently you have two different versions of

Re: Unable to compile Vim with support for lisp

2013-11-28 Thread Ed Kostas
On Thursday, November 28, 2013 2:40:40 PM UTC-2, Sergey Khorev wrote: Ed,   checking for mzscheme... (cached) /usr/local/bin/mzscheme checking MzScheme install prefix... (cached) /home/ed/racket These too lines look suspicious. Apparently you have two different versions of

Re: Unable to compile Vim with support for lisp

2013-11-28 Thread Ed Kostas
On Thursday, November 28, 2013 2:40:40 PM UTC-2, Sergey Khorev wrote: Ed,   checking for mzscheme... (cached) /usr/local/bin/mzscheme checking MzScheme install prefix... (cached) /home/ed/racket These too lines look suspicious. Apparently you have two different versions of

Re: vim slow, Lisp, etc.

2013-11-28 Thread Ed Kostas
On Thursday, November 28, 2013 2:25:40 PM UTC-2, mfid...@meetinghouse.net wrote: Ed Kostas wrote: 3- It seems that there is a Vi clone that does everything these lawyers want. It is fast in dealing with large Latex sources, it has an org-mode that works like emacs, etc. etc

Re: vim slow, Lisp, etc.

2013-11-28 Thread Ed Kostas
On Thursday, November 28, 2013 11:45:52 AM UTC-2, MarcWeber wrote: Excerpts from Ed Kostas's message of Thu Nov 28 14:27:30 +0100 2013: However, the syntax colors disappeared. I am sure that you expected that. Sure. Try this in your .vimrc to get the old engine: set

Re: vim slow, Lisp, etc.

2013-11-28 Thread Ed Kostas
On Thursday, November 28, 2013 4:50:17 PM UTC-2, Gary Johnson wrote: On 2013-11-28, Nikolay Pavlov wrote: Also using make install is considered a bad practice for any distribution. It does not do something like rendering vim unusable, but maintaining jobs (like updating software

Vim in a single file

2013-11-27 Thread Ed Kostas
I wonder wheter one can bundle vim and runtime in a single file. What I need is a syntax highlight for Lisp and Scheme. And that is all. The point is that my co-workers are always forgetting to include the run time in their pen-drive, not installing it properly, etc. I also would rather use a

Sourcing a visual selection

2012-11-15 Thread Ed Kostas
I need to execute a visual selection of text. What I want is something similar to C-x C-e in Emacs. Then, there is no need to create a VIM source file for a short calculation. However, I don't know very well the machinery of VIM. Therefore, all I was able to do is something like this:

Re: Sourcing a visual selection

2012-11-15 Thread Ed Kostas
By the way, I also tried to use the :@ command. In few words, I performed a visual selection, and pressed y. Then I tried to evaluate the register. Thus: :@ Of course, I did it at the command line. By command line I mean that entry field at the bottom of the page. The :@ operator works when

Re: Sourcing a visual selection

2012-11-15 Thread Ed Kostas
Here is a program that does not work: function! SourceRange() range let @r= join(map(getline(a:firstline, a:lastline),'v:val . |') ) @r endfunction command! -range Lop line1,line2 call SourceRange() -- You received this message from the vim_use maillist. Do not top-post! Type your

Re: Commands from insert mode

2012-11-09 Thread Ed Kostas
I use vim a lot -- most of my life is spent in a vim buffer -- and I agree with the lawyers. I am an engineer and when I start a project (e.g., a new .h or .cc file), most of my time is spent in insert mode with brief excursions to normal mode. Here's my Mappings to

Re: Commands from insert mode

2012-11-08 Thread Ed Kostas
AFAIK, most versions of Vim don't distinguish between C-{letter} and C-S-{letter} as they send the same ASCII code. You might be able to distinguish between, say C-F2 and C-S-F2 if you wanted to use the function keys. Likewise, I don't think control+number is caught in most cases,

Clipboard copy and paste

2012-11-08 Thread Ed Kostas
I am trying to copy and paste things from vim into other applications. In general, there are two ways of pasting the clipboard contents. I can use Ctrl-V (Ctrl-Y in Emacs) or the central button of the mouse. The following solution works fine with the central button/wheel: v move y or v move

Re: Clipboard copy and paste

2012-11-08 Thread Ed Kostas
On Thursday, November 8, 2012 2:45:15 PM UTC-3, Ben Fritz wrote: On Thursday, November 8, 2012 10:51:56 AM UTC-6, Ed Kostas wrote: I am trying to copy and paste things from vim into other applications. In general, there are two ways of pasting the clipboard contents. I can use Ctrl-V

Re: Clipboard copy and paste

2012-11-08 Thread Ed Kostas
On Thursday, November 8, 2012 7:23:52 PM UTC-2, Tim Chase wrote: I think that I was not clear enough. I don't want to remap Ctrl-V. What I want is to copy something to the clipboard while I am using Vim. In this case, I want to use the normal Vim commands for copying to the

Re: Commands from insert mode

2012-11-08 Thread Ed Kostas
On Thursday, November 8, 2012 7:41:49 PM UTC-2, Alejandro Exojo wrote: El Jueves, 8 de noviembre de 2012, Ed Kostas escribió: :imap C-h Left :imap C-j Down :imap C-k Up :imap C-l Right I'm not going to answer what you asked, but since in other mail you said that you

Commands from insert mode

2012-11-07 Thread Ed Kostas
I want to issue commands from the insert mode. I am aware that a lot of people tried it before me, but I could not find a satisfactory answer in discussion lists. I don't like to use the arrows to move the cursor, since they are somewhat out of reach. My idea is to maintain the control key

Re: Difficulty in using VIM

2012-11-06 Thread Ed Kostas
On Tuesday, November 6, 2012 12:50:49 AM UTC-2, MarcWeber wrote: What I need now is a script that prevents user from entering the command mode when the cursor is on the REPL window. If at all I'd remap esc to escc-ww so that the cursor moved to the next window.. because otherwise you

Difficulty in using VIM

2012-11-05 Thread Ed Kostas
People from a law firm use a somewhat large program written in Common Lisp (sbcl). The program fetch laws from Internet, comments them with input from books about law interpretation or civil/criminal procedures, and prepare specialized text for each civil or criminal action the lawyer is

Difficulty in using VIM

2012-11-05 Thread Ed Kostas
People from a law firm use a somewhat large program written in Common Lisp (sbcl). The program fetch laws from Internet, comments them with input from books about law interpretation or civil/criminal procedures, and prepare specialized text for each civil or criminal action the lawyer is

Re: Difficulty in using VIM

2012-11-05 Thread Ed Kostas
THere are plugins which try to emulate it such as ConcqueTerm, but the nyou can't use Vim keybindings, because each key is forwarded to the shell or lisp intepreter. Marc Weber Well Marc, as everybody in this group remarked, I am not proficient in vim (or in Emacs, by the way).

Re: Difficulty in using VIM

2012-11-05 Thread Ed Kostas
On Monday, November 5, 2012 3:27:12 PM UTC-2, Taylor Hedberg wrote: If I have managed to successfully extract the essence of your question from your message, it basically comes down to How do I run interactive programs (e.g. an SBCL REPL) within a Vim buffer?. You are right. This is