From a6907b971a76ef4072fbc8126160c74541c75cb4 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Wed, 13 Feb 2008 19:21:51 +0100 Subject: [PATCH] Add info concerning find to MacVim help --- runtime/doc/gui_mac.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/runtime/doc/gui_mac.txt b/runtime/doc/gui_mac.txt index e30bbe35e0..88ea5f7688 100644 --- a/runtime/doc/gui_mac.txt +++ b/runtime/doc/gui_mac.txt @@ -125,6 +125,22 @@ strings like "((3) of 2)" to appear in the window title. These are the non-standard options that MacVim supports: 'fullscreen' 'toolbariconsize' 'transparency' + *macvim-find* +Whenever you search for something in Vim (e.g. using "/") the search query is +copied to the OS X "Find Pasteboard". The idea is that if you search for +something and switch to another application, then you can hit (or ) +to repeat the search in the new app. The same feature works if you search in +some app, switch to MacVim and hit . + +Note that the command |n| is not the same as . The former will repeat +the last search made in Vim, whereas the latter searches for the string on the +OS X Find Pasteboard using the action findNext: (see |:macaction|). + +The key equivalent is a great way to bring a search from one window to +another in MacVim. Simply search for something in one window (using "/") then +switch to another (e.g. with ) and hit and the search will be +repeated in the new window. + ============================================================================== 2. Starting MacVim *macvim-start* @@ -327,11 +343,14 @@ Here is a random assortment of actions from Actions.plist which might be useful. Action Description ~ +findNext: Search forward using the "Find Pasteboard" +findPrevious: Search backward using the "Find Pasteboard" fontSizeDown: Decrease font size fontSizeUp: Increase font size newWindow: Open a new (empty) window orderFrontCharacterPalette: Show the the "Special Characters" dialog orderFrontFontPanel: Show the Font panel +orderFrontPreferencePanel: Show the Preferences panel performZoom: Zoom window (same as clicking the green blob) selectNextWindow: Select next window (similar to ) selectPreviousWindow: Select previous window (similar to )