From: hjunes Date: Sun, 29 Feb 2004 22:09:21 +0000 (+0000) Subject: * vimrc: add menu in console and shortcut for it. X-Git-Tag: release/2.1.36~223 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1740729aa63c07419340bc596dea6b29387a7976;p=lilypond.git * vimrc: add menu in console and shortcut for it. --- diff --git a/ChangeLog b/ChangeLog index e66d6c864c..1442e0fd09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * Documentation/topdocs/INSTALL.texi: small fix (by Matthias Kilian). + * vimrc: add menu in console and shortcut for it. + 2004-02-29 Jan Nieuwenhuizen * stepmake/aclocal.m4: Store computed version in variable. diff --git a/vimrc b/vimrc index 7cfa170a40..4d917bbc67 100644 --- a/vimrc +++ b/vimrc @@ -4,11 +4,17 @@ set shiftwidth=2 " " some handy key mappings " +" save and go to previous buffer +map :w:bp +" +" save and go to next buffer +map :w:bn +" " save & make and play midi map :w:se makeprg=lilypond\ -m\ %<:make:!timidity %<.midi " " save & make dvi, midi, ps -map :w:se makeprg=lilypond\ -P\ %<:make +map :w:se makeprg=lilypond\ %<:make " " view ps map :!gv -watch %<.ps & @@ -25,11 +31,12 @@ map :cn " make map :w:se makeprg=make\ -k:make " -" run buffer through lily -map :w:se makeprg=lilypond\ %:t:make -" -" run buffer through lily -M -map :w:se makeprg=lilypond\ -M\ %:t:make +" menu +:source $VIMRUNTIME/menu.vim +:set wildmenu +:set cpo-=< +:set wcm= +:map :emenu " " comment region map :g!/%.*/normal 0i%