From fcf61700275efea234f0ce61e1482e08070606f8 Mon Sep 17 00:00:00 2001 From: Heikki Junes Date: Sun, 29 Feb 2004 22:09:21 +0000 Subject: [PATCH] * vimrc: add menu in console and shortcut for it. --- ChangeLog | 2 ++ vimrc | 19 +++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) 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% -- 2.39.5