Re:  Vim Install error?

2020-11-15 Thread Kevin Barry
On Sun, Nov 15, 2020 at 12:35:56PM +0100, Jonas Hahnfeld wrote: > > yes, removing the initial 'filetype off' from .vimrc fixed it. So is > > that a mistake > > in https://lilypond.org/doc/v2.21/Documentation/usage/text-editor- > > support ? I use the exact code specified in that document (which

Re:  Vim Install error?

2020-11-15 Thread Jonas Hahnfeld
Hi Damian, I cannot confirm this, removing the toggle of 'filetype' completely breaks the file type detection for me if I don't have pacman's lilypond installed. I'd guess this is probably because switching it from off to on makes vim re-evaluate the type for the current buffer (after adding the

Re: Vim Install error?

2020-11-15 Thread damianlegassick
Hi Jonasyes, removing the initial 'filetype off' from .vimrc fixed it. So is that a mistake in https://lilypond.org/doc/v2.21/Documentation/usage/text-editor-support ?thanksDamianOn 14 November 2020 at 20:25, Jonas Hahnfeld wrote:Hi,Am Donnerstag, den 12.11.2020, 16:26 + schrieb

Re: Vim Install error?

2020-11-14 Thread Jonas Hahnfeld
Hi, Am Donnerstag, den 12.11.2020, 16:26 + schrieb damianlegassick: > Hi > > when installing Lilypond 2.21.80 from linux64 shellscript > the /usr/local/lilypond/usr/share/lilypond/current/vim/ folder has a > subfolder 'ftplugin'. On my Arch system I have to rename this folder > to 'plugin'

Re: Vim quickfix

2019-10-05 Thread Andrew Bernard
Pardon me. It's as simple as: :make | cwindow Sorry for the noise. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: vim is very very slow to open and modify lilypond files

2015-03-08 Thread Martin Tarenskeen
On Sun, 8 Mar 2015, Frédéric Bron wrote: Some months ago, vim became very very slow to open a lilypond file (4-5 seconds). This is clearly due to syntax highlighting because when turn it off (:syntax off) the files are opened instantaneously. Also when I add an opening {, it takes a long time

Re: vim is very very slow to open and modify lilypond files

2015-03-08 Thread tyronicus
I haven't had this issue on Arch with Vim 7.4.617-1. P.S. -- One of my favorite things about vim+lilypond is auto-compiling on write: au BufWritePost *.ly !lilypond % -- View this message in context:

Re: vim is very very slow to open and modify lilypond files

2015-03-08 Thread Frédéric Bron
Thank you for your answer, very useful. I found the issue: in my .vimrc I have: set foldenable set foldmethod=syntax Try that and you will see how long it takes. I have no issue with C++ code, why would it be so much longer with lilypond language? Frédéric

point-and-click (was: Re: vim pointing to pdf-viewer and reverse)

2014-11-03 Thread Rutger Hofman
One more step needed nowadays Edit /etc/apparmor.d/abstractions/evince to add the following 2 lines (replace /usr/ with the prefix of your Lilypond installation): /usr/bin/lilypond-invoke-editor Ux, /usr/bin/lilypond-wrapper.guile Ux, # ln -s /etc/apparmor.d/usr.bin.evince

Re: vim fix indent

2013-05-31 Thread Stjepan Horvat
BUMP! On Thu, May 30, 2013 at 11:52 AM, Stjepan Horvat zvanste...@gmail.com wrote: is there a way to fix indent in vim..i tryed gg=G but it looks mesed up.. i like frescobaldis way of fixing it..is there a problem in my setup or something else..?! example: it tries to indent comments and

Re: vim pointing to pdf-viewer and reverse

2012-09-06 Thread Stjepan Horvat
Hi guys..it is an old post..but i got it working right now..so i want to share it with you.. I made a script vim-lilypond.sh #!/bin/bash FILENAME=`echo $1 | cut -d : -f 2` LINE=`echo $1 | cut -d : -f 3` CHAR=`echo $1 | cut -d : -f 4` COLUMN=`echo $1 | cut -d : -f 5` vim --servername lilypond

Re: vim pointing to pdf-viewer and reverse

2012-03-07 Thread Stjepan Horvat
I put the command 'urlCommand lilypond-invoke-editor %s' at the end of /etc/xpdfrc (i use archlinux)..and then when i tryed to hit a note in xpdf it tryes to open emacs..the secend thing that i tryed is to start gvim with options 'gvim --remote +:line:normcolumn myfile.ly' and i get an error like

Re: vim pointing to pdf-viewer and reverse

2012-03-07 Thread Martin Tarenskeen
On Wed, 7 Mar 2012, Stjepan Horvat wrote: I put the command 'urlCommand lilypond-invoke-editor %s' at the end of /etc/xpdfrc (i use archlinux)..and then when i tryed to hit a note in xpdf it tryes to open emacs..the secend thing that i tryed is to start gvim with options 'gvim --remote

Re: vim pointing to pdf-viewer and reverse

2012-03-07 Thread David Kastrup
Stjepan Horvat zvanste...@gmail.com writes: On Tue, Mar 6, 2012 at 5:48 PM, David Kastrup d...@gnu.org wrote: Stjepan Horvat zvanste...@gmail.com writes: Hello..can somebody please tell me how to get vim and a pdf viewer (xpdf or evince of zathura) to work with vim lilypond-invoke-editor

Re: vim pointing to pdf-viewer and reverse

2012-03-07 Thread Stjepan Horvat
Frescobaldi is very good and i like it..the only lack of it is that it doesn't have vim mode..and intergrated midi player..10/10..i'm very used to work without mouse..selecting whole line is simple as shift+v..y for yank and p for paste..:) I will try to understand it..and get it to work this

Re: vim pointing to pdf-viewer and reverse

2012-03-07 Thread Rutger Hofman
On 03/07/2012 11:09 AM, Rutger Hofman wrote: On 03/07/2012 09:12 AM, David Kastrup wrote: Stjepan Horvatzvanste...@gmail.com writes: On Tue, Mar 6, 2012 at 5:48 PM, David Kastrupd...@gnu.org wrote: Stjepan Horvatzvanste...@gmail.com writes: Hello..can somebody please tell me how to get vim

Re: vim pointing to pdf-viewer and reverse

2012-03-07 Thread Rutger Hofman
On 03/07/2012 09:12 AM, David Kastrup wrote: Stjepan Horvatzvanste...@gmail.com writes: On Tue, Mar 6, 2012 at 5:48 PM, David Kastrupd...@gnu.org wrote: Stjepan Horvatzvanste...@gmail.com writes: Hello..can somebody please tell me how to get vim and a pdf viewer (xpdf or evince of

Re: vim pointing to pdf-viewer and reverse

2012-03-07 Thread Rutger Hofman
On 03/07/2012 11:09 AM, Rutger Hofman wrote: On 03/07/2012 09:12 AM, David Kastrup wrote: Stjepan Horvatzvanste...@gmail.com writes: On Tue, Mar 6, 2012 at 5:48 PM, David Kastrupd...@gnu.org wrote: Stjepan Horvatzvanste...@gmail.com writes: Hello..can somebody please tell me how to get vim

Re: vim pointing to pdf-viewer and reverse

2012-03-06 Thread David Kastrup
Stjepan Horvat zvanste...@gmail.com writes: Hello..can somebody please tell me how to get vim and a pdf viewer (xpdf or evince of zathura) to work with vim lilypond-invoke-editor function..i read everything that is on the web An impressive feat. and couldn't figure it out..thank you. What

Re: VIM files provided by lilypond

2011-12-04 Thread Keith OHara
Frank Steinmetzger Warp_7 at gmx.de writes: this is more of a dev topic than user topic, -m is unrecognised. each instance of makeprg=lilypond\ % should be changed to makeprg=lilypond\ \%\ I think you are correct. Does anybody know any trouble the s could cause? I will put a patch

Re: vim

2010-12-05 Thread Patrick Horgan
On 12/03/2010 09:24 AM, Patrick Karl wrote: On Dec 3, 2010, at 11:01 AM, lilypond-user-requ...@gnu.org wrote: Message: 1 Date: Fri, 03 Dec 2010 07:58:07 -0800 From: michael webstersemiqua...@mac.com Subject: Re:vim To: lilypond-user@gnu.org

Re: vim

2010-12-03 Thread Neil Thornock
Absolute dittos. The keymapping is great -- even just typical things I would otherwise type, like time signatures. Personally I don't like syntax coloring -- I turned it off ages ago. But vim rocks with lilypond. On Fri, Dec 3, 2010 at 10:58 AM, michael webster semiqua...@mac.com wrote: in

Re: vim

2010-12-03 Thread Patrick Karl
On Dec 3, 2010, at 11:01 AM, lilypond-user-requ...@gnu.org wrote: Message: 1 Date: Fri, 03 Dec 2010 07:58:07 -0800 From: michael webster semiqua...@mac.com Subject: Re:vim To: lilypond-user@gnu.org Message-ID: 7697ea0a-cba0-47c0-b978-b25c6ffd3...@mac.com Content-Type: text/plain;

Re: vim vagaries

2009-11-12 Thread Roman Stawski
J. jonathangoodman at bezeqint.net writes: Hi Again evrey body, I'm happy to say that with because of the help you gave me I was not only able to get jedit up and running for lilypond  but was encouraged to succede in setting up emacs too! Vim though is somthing else. I looked at the

Re: vim vagaries

2009-11-11 Thread Graham Breed
J. wrote: I looked at the directions on the lilypond site for setting it up but, because of my noviciate I got confused with all the places and symbols. I found a page here: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Vim-mode It isn't clear which of those things you

Re: vim vagaries

2009-11-11 Thread Jethro Van Thuyne
Hi Jonathan, It's not to easy to find the right locations indeed, perhaps this might help. First you have to edit a file called filetype.vim, located in /home/yourusername/.vim/ If it isn't there, you can just create it: touch /home/yourusername/.vim/filetype.vim If the .vim directory

Re: vim vagaries

2009-11-10 Thread Neil Thornock
To use vim there is nothing to set up -- you just start typing in vim, save the file, and process it. But you might be referring to setting up syntax highlighting, which is actually not a necessary part of the process, but may be helpful. If all you want to do is use vim, then you just start

Re: Vim with LP syntax coloring on Mac OSX

2009-03-16 Thread Helge Kruse
Jonathan Kulp wrote: I'm having trouble getting vim to do Lilypond syntax coloring on OSX. I have it all working fine on my Linux machines but I'm doing something wrong on the Macs. Does anybody know a good vim version for windows (including coloring, syntax help, etc.)? Helge

Re: Vim with LP syntax coloring on Mac OSX

2009-03-16 Thread Daniel Hulme
On Mon, Mar 16, 2009 at 08:07:14PM +0100, Helge Kruse wrote: Jonathan Kulp wrote: I'm having trouble getting vim to do Lilypond syntax coloring on OSX. I have it all working fine on my Linux machines but I'm doing something wrong on the Macs. Does anybody know a good vim version for

Re: Vim with LP syntax coloring on Mac OSX

2009-03-15 Thread Jonathan Kulp
Never mind. I didn't realize that Mac's Vim didn't have syntax coloring on by default. Once I did :syntax on the colors magically appeared. Duh... Sorry for the noise. Jon On Sun, Mar 15, 2009 at 4:12 PM, Jonathan Kulp jonlancek...@gmail.comwrote: I'm having trouble getting vim to do

Re: vim syntax coloring curiousity

2008-11-19 Thread Daniel Hulme
On Wed, Nov 19, 2008 at 08:28:26AM -0800, coralline algae wrote: I use vim in a terminal for editing, very occasionally something else like abiword I noticed recently and probably in the past that certain lilypond files were not opening with the syntax coloring. I'm using Vim 7.2 here. I

Re: vim, point and click

2008-09-27 Thread Mats Bengtsson
Quoting Stefan Thomas [EMAIL PROTECTED]: Dear Mats, I have read the Application Usage, but I didn't unterstand: shall I add emacsclient ?no-wait +line:column file in the .emacs file, or in lilypond-invoke-editor, or somewhere else? No! When I read this section more carefully (which I

Re: vim, point and click

2008-09-26 Thread Mark Knoop
At 10:21 on 26 Sep 2008, Stefan Thomas wrote: Dear lilypond-.users, I tried to get the point and click working with gvim. I've read the (german) documentation about it, but it es not quite clear for me. I added gvim –remote +:line:normchar file in .xdfrc, but after a click, emacs will

Re: vim, point and click

2008-09-26 Thread Stefan Thomas
Dear Mark, I use Kpdf and acrobat reader on a linux machine. But I don't understand how to use the files You added. 2008/9/26 Mark Knoop [EMAIL PROTECTED] At 10:21 on 26 Sep 2008, Stefan Thomas wrote: Dear lilypond-.users, I tried to get the point and click working with gvim. I've read the

Re: vim, point and click

2008-09-26 Thread Stefan Thomas
I got now point and click working with emacs. But I have another problem now: every time when I click on a note in xpdf, a new emacs window will be opened. How can I avoid this? 2008/9/26 Stefan Thomas [EMAIL PROTECTED] Dear Mark, I use Kpdf and acrobat reader on a linux machine. But I don't

Re: vim, point and click

2008-09-26 Thread Mats Bengtsson
Please read the section on Point and Click in the Application Usage manual for LilyPond, i.e. make sure to use emacsclient. /Mats Stefan Thomas wrote: I got now point and click working with emacs. But I have another problem now: every time when I click on a note in xpdf, a new emacs window

Re: vim, point and click

2008-09-26 Thread Stefan Thomas
Dear Mats, I have read the Application Usage, but I didn't unterstand: shall I add emacsclient –no-wait +line:column file in the .emacs file, or in lilypond-invoke-editor, or somewhere else? 2008/9/26 Mats Bengtsson [EMAIL PROTECTED] Please read the section on Point and Click in the

Re: vim, point and click

2008-09-26 Thread Wilbert Berendsen
Op vrijdag 26 september 2008, schreef Wilbert Berendsen: I attach also a small ZIP containing just the files needed to make KPDF open Kate when a textedit: link is clicked. The README inside tells where to place the files. Adding: you can edit the file ktexteditservice in the zipfile to run

Re: vim, point and click

2008-09-26 Thread Stefan Thomas
Dear Wilbert, thanks. I have now lilykde on my system working. Point and click works without any problems but I have q question: how can I make abbreviations? In jedit I can press stD and I get after the space key StemDown. Can This be done in Kate too? 2008/9/26 Wilbert Berendsen [EMAIL

Re: vim

2008-04-12 Thread Stefan Thomas
Dear Patrick, I had luck, it worked! Thanks Stefan 2008/4/10, Patrick McCarty [EMAIL PROTECTED]: On Thu, Apr 10, 2008 at 03:56:26PM +0200, Stefan Thomas wrote: Dear lilypond-users, I have a question concerning vim. I've read that there is a special vimrc available. But where can I get or

Re: vim

2008-04-12 Thread Rafael F. Compte
Hi, I think I managed to make Vim do syntax highlighting but I don't get lilypond as an option in gvim dropdown syntax menu. Any ideas? Any other integration tips? On Sat, Apr 12, 2008 at 2:27 PM, Stefan Thomas [EMAIL PROTECTED] wrote: Dear Patrick, I had luck, it worked! Thanks Stefan

Re: vim compiles always in root directory

2008-03-29 Thread Mark Knoop
On Wed, 2008-03-26 at 19:17 +0100, Wolfgang Mechsner wrote: compiling LilyPond in vim prompts always the output files in root directory. It doesn't matter where the source file is. But I want the output in the directory in which source file is. Where can I change this? Put autocmd

Re: vim compiles always in root directory

2008-03-29 Thread Wolfgang Mechsner
Thank you very much. That ist the solution I was looking for! Wolfgang Mechsn Thank you very much. That ist the solution I was looking for! Wolfgang Mechsner * Mark Knoop [29.03.08 14:34]: On Wed, 2008-03-26 at 19:17 +0100, Wolfgang Mechsner wrote: compiling LilyPond in vim prompts always

Re: vim compiles always in root directory

2008-03-27 Thread Anh Hai Trinh
My problem: 1. In Gvim I compile a *.ly file somewhere in a directory. I use F5 to compile it. 2. The output files (*.ps an *pdf) are always in root directory You need to cd into the directory where you want the output. Either do that before bringing vim up (from the command line), or from

Re: vim compiles always in root directory

2008-03-26 Thread Graham Percival
I recommend looking at the output of lilypond --help Cheers, - Graham On Wed, 26 Mar 2008 19:17:24 +0100 Wolfgang Mechsner [EMAIL PROTECTED] wrote: Hi, compiling LilyPond in vim prompts always the output files in root directory. It doesn't matter where the source file is. But I want

Re: vim compiles always in root directory

2008-03-26 Thread Wolfgang Mechsner
uups, it doesn't help me really, I am sorry - or I'm understanding something wrong . My problem: 1. In Gvim I compile a *.ly file somewhere in a directory. I use F5 to compile it. 2. The output files (*.ps an *pdf) are always in root directory Regards Wolfgang * Graham Percival [26.03.08

Re: vim compiles always in root directory

2008-03-26 Thread Wilbert Berendsen
Op woensdag 26 maart 2008, schreef Wolfgang Mechsner: uups, it doesn't help me really, I am sorry - or I'm understanding something wrong . My problem: 1. In Gvim I compile a *.ly file somewhere in a directory. I use F5 to compile it. 2. The output files (*.ps an *pdf) are always in root

re: vim compiles always in root directory

2008-03-26 Thread Romel Anthony S. Bismonte
I ran into a similar issue when I was writing this musical some time back. My workaround was basically this: 1) In the directory that I have the music in (let's say it was /path/to) I put in a startvim script and a render script. 2) The startvim script just called vim. 3) The render script had

Re: vim for lilypond

2007-06-13 Thread Graham Percival
Sebastian Menge wrote: I just found the vim directory under /usr/share/lilypond ... Is there any documentation on the vim integration ? See INSTALL. Front page of the docs. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Vim + lilypond = ?

2007-02-27 Thread Bertalan Fodor
Eyolf Ostrem írta: The best editor environment for lilypond-files of the ones I've come across so far (no offense, jEdit... :-), is emacs with the lilypond-quick-insert-mode, customized and tweaked to my liking and with interaction with mymidikbd: I can touch-type gkalsdasndofh and out comes

Re: Vim + lilypond = ?

2007-02-27 Thread Eyolf Ostrem
On Tue 27 February 2007 23:57:48 Bertalan Fodor wrote: Eyolf Ostrem írta: The best editor environment for lilypond-files of the ones I've come across so far (no offense, jEdit... :-), is emacs with the lilypond-quick-insert-mode, customized and tweaked to my liking and with interaction

Re: Vim + lilypond = ?

2007-02-27 Thread Graham Percival
Eyolf Ostrem wrote: Question, then: is there a way to accomplish the same in vim...? Of course. Vim is perfect and can do anything! :) - has anyone done the work of fitting the same kind of macros in vim? (i.e.: any rhythmic value is stored in memory and applies by default to the next

Re: Vim question

2006-08-28 Thread Allan Spagnol Comar
Thanks Victor, I will check runtime path as soon as I get home, but I believe that its the right path. I am using ubuntu right now. On 8/27/06, V!ictor [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, The information in the manual should be all you need. Just make sure the runtimepath variable is

Re: Vim question

2006-08-27 Thread V!ictor [EMAIL PROTECTED]
Hi, The information in the manual should be all you need. Just make sure the runtimepath variable is set to the correct directory. What operating system are you using? In windows XP I have it set to : set runtimepath+=/cygdrive/c/Program\ Files/LilyPond/usr/share/lilypond/current/vim/ because

Re: vim mode

2005-08-12 Thread Graham Percival
On 12-Aug-05, at 8:14 AM, Sterling Sympatico wrote: I have a dir - ~./vim/syntax with one file 'lilypond.vim'. This file has a date of 2002 (in the first few lines). I note that there are quite a few *.vim files in the /usr/share/lilypond/2.4.5/vim/ directories. Do I need to do anything to

Re: VIM resources

2003-11-08 Thread Alexandre Beneteau
You can find the latest syntax file for vim (maintained by Heikki Junes) at this adress : http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lilypond.vim Alex. Arthur Moore wrote: hey is there a lilypond/vim howto? I've got the point and click thing setup, I'd like to have