Skip to content
This repository
Browse code

Add info concerning find to MacVim help

  • Loading branch information...
commit a6907b971a76ef4072fbc8126160c74541c75cb4 1 parent ee5a7d0
Björn Winckler b4winckler authored

Showing 1 changed file with 19 additions and 0 deletions. Show diff stats Hide diff stats

  1. +19 0 runtime/doc/gui_mac.txt
19 runtime/doc/gui_mac.txt
@@ -125,6 +125,22 @@ strings like "((3) of 2)" to appear in the window title.
125 125 These are the non-standard options that MacVim supports:
126 126 'fullscreen' 'toolbariconsize' 'transparency'
127 127
  128 + *macvim-find*
  129 +Whenever you search for something in Vim (e.g. using "/") the search query is
  130 +copied to the OS X "Find Pasteboard". The idea is that if you search for
  131 +something and switch to another application, then you can hit <D-g> (or <D-G>)
  132 +to repeat the search in the new app. The same feature works if you search in
  133 +some app, switch to MacVim and hit <D-g>.
  134 +
  135 +Note that the command |n| is not the same as <D-g>. The former will repeat
  136 +the last search made in Vim, whereas the latter searches for the string on the
  137 +OS X Find Pasteboard using the action findNext: (see |:macaction|).
  138 +
  139 +The <D-g> key equivalent is a great way to bring a search from one window to
  140 +another in MacVim. Simply search for something in one window (using "/") then
  141 +switch to another (e.g. with <D-`>) and hit <D-g> and the search will be
  142 +repeated in the new window.
  143 +
128 144 ==============================================================================
129 145 2. Starting MacVim *macvim-start*
130 146
@@ -327,11 +343,14 @@ Here is a random assortment of actions from Actions.plist which might be
327 343 useful.
328 344
329 345 Action Description ~
  346 +findNext: Search forward using the "Find Pasteboard"
  347 +findPrevious: Search backward using the "Find Pasteboard"
330 348 fontSizeDown: Decrease font size
331 349 fontSizeUp: Increase font size
332 350 newWindow: Open a new (empty) window
333 351 orderFrontCharacterPalette: Show the the "Special Characters" dialog
334 352 orderFrontFontPanel: Show the Font panel
  353 +orderFrontPreferencePanel: Show the Preferences panel
335 354 performZoom: Zoom window (same as clicking the green blob)
336 355 selectNextWindow: Select next window (similar to <D-`>)
337 356 selectPreviousWindow: Select previous window (similar to <S-D-`>)

0 comments on commit a6907b9

Please sign in to comment.
Something went wrong with that request. Please try again.