MCPcopy
hub / github.com/ycm-core/YouCompleteMe / JumpToPreviewWindow

Function JumpToPreviewWindow

python/ycm/vimsupport.py:1211–1215  ·  view source on GitHub ↗

Jump the vim cursor to the preview window, which must be active. Returns boolean indicating if the cursor ended up in the preview window

()

Source from the content-addressed store, hash-verified

1209
1210
1211def JumpToPreviewWindow():
1212 """ Jump the vim cursor to the preview window, which must be active. Returns
1213 boolean indicating if the cursor ended up in the preview window """
1214 vim.command( 'silent! wincmd P' )
1215 return vim.current.window.options[ 'previewwindow' ]
1216
1217
1218def JumpToPreviousWindow():

Callers 1

WriteToPreviewWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected