From 09fb79b55d0faa2866639eec98881ea896144e85 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 16 Dec 2006 17:25:00 +0100 Subject: [PATCH] qma - update vim config --- debian/changelog | 6 +++++ usr_bin/qma | 70 +++++++++++++++++++++++++++++++++----------------------- 2 files changed, 48 insertions(+), 28 deletions(-) diff --git a/debian/changelog b/debian/changelog index b015d18..2a136f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-scripts (0.9.7) unstable; urgency=low + + * qma: update vim config [thanks, wuehlmaus] + + -- Michael Prokop Sat, 16 Dec 2006 17:24:34 +0100 + grml-scripts (0.9.6) unstable; urgency=low * Added grml2ram: copy compressed GRML image to RAM diff --git a/usr_bin/qma b/usr_bin/qma index e6c4907..1a4c573 100755 --- a/usr_bin/qma +++ b/usr_bin/qma @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop , Matthias Kopfermann # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mon Dez 04 22:54:47 CET 2006 [maddi] +# Latest change: Sam Dez 16 17:24:05 CET 2006 [maddi] ################################################################################ . /etc/grml/lsb-functions @@ -66,33 +66,47 @@ if ! [ -f "$QUICKMAN" ] ; then fi vimconfig=' - set filetype=man - "set hlsearch can be annoying so use to dehighlight" - nn :nohlsearch|redraw "shut up hlsearch when it confuses more than it helps and" - nn q :qa! "q should really end our document-reading like less does" - nn Q :q! "different than q in that it quits only the current window when multiple windows " - nn :qa! "honor midnight-commander addicts :) " - nn a ]I "use one wonderful vim feature to show all matches of the word in the document in ex-mode" - nn A [I "the other way round" - nn b - nn - "nn f - nn p }zz - nn j "scroll the page down one line" - nn k "scroll the page up one line" - nn -n :set invnumber "the expectation of getting the next search via 'n' can not be ignored" - nn h :set invhlsearch - nn i :set invignorecase "Make toggling case-sensitive accessable via the letter i" - nn -i :set invignorecase "Make toggling case-sensitive accessable via the less convention via -i" - nn - nn - nn gg - nn S :split - nn V :vsplit - set filetype=man - set ignorecase - set nomodifiable "Really not modify a document here" - set readonly + set filetype=man + "set hlsearch can be annoying so use to dehighlight" + "shut up hlsearch when it confuses more than it helps and" + nn :nohlsearch|redraw + "q should really end our document-reading like less does" + nn q :qa! + "different than q in that it quits only the current window when multiple windows " + nn Q :q! + "honor midnight-commander addicts :) " + nn :qa! + "use one wonderful vim feature to show all matches of the word in the document in ex-mode" + nn a ]I + "the other way round" + nn A [I + nn b + nn + "nn f + nn p }zz + "scroll the page down one line" + nn j + "scroll the page up one line" + nn k + "the expectation of getting the next search via 'n' can not be ignored" + nn -n :set invnumber + nn h :set invhlsearch + "Make toggling case-sensitive accessable via the letter i" + nn i :set invignorecase + "Make toggling case-sensitive accessable via the less convention via -i" + nn -i :set invignorecase + nn + nn + nn gg + nn S :split + nn V :vsplit + set filetype=man + set ignorecase + "Really not modify a document here" + set nomodifiable + set readonly + "We have a more modern approach to searching in vim!" + set incsearch ' if [ -n "$SEARCH" ] ; then -- 2.1.4