File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ This layer is a kludge of mappings, mostly pickers.
290
290
| ` g ` | Open changed file picker | ` changed_file_picker ` |
291
291
| ` G ` | Debug (experimental) | N/A |
292
292
| ` k ` | Show documentation for item under cursor in a [ popup] ( #popup ) (** LSP** ) | ` hover ` |
293
- | ` K ` | Show documentation for item under cursor in a new buffer (** LSP** ) | ` hover_dump ` |
293
+ | ` K ` | Go to documentation for item under cursor in a new buffer (** LSP** ) | ` goto_hover ` |
294
294
| ` s ` | Open document symbol picker (** LSP** ) | ` symbol_picker ` |
295
295
| ` S ` | Open workspace symbol picker (** LSP** ) | ` workspace_symbol_picker ` |
296
296
| ` d ` | Open document diagnostics picker (** LSP** ) | ` diagnostics_picker ` |
Original file line number Diff line number Diff line change @@ -1078,7 +1078,7 @@ fn hover_impl(cx: &mut Context, hover_action: HoverDisplay) {
1078
1078
}
1079
1079
HoverDisplay :: File => {
1080
1080
editor. new_file_from_document (
1081
- Action :: VerticalSplit ,
1081
+ Action :: Replace ,
1082
1082
Document :: from (
1083
1083
Rope :: from ( hover. content_string ( ) ) ,
1084
1084
None ,
@@ -1100,7 +1100,7 @@ pub fn hover(cx: &mut Context) {
1100
1100
hover_impl ( cx, HoverDisplay :: Popup )
1101
1101
}
1102
1102
1103
- pub fn hover_dump ( cx : & mut Context ) {
1103
+ pub fn goto_hover ( cx : & mut Context ) {
1104
1104
hover_impl ( cx, HoverDisplay :: File )
1105
1105
}
1106
1106
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
283
283
"R" => replace_selections_with_clipboard,
284
284
"/" => global_search,
285
285
"k" => hover,
286
- "K" => hover_dump ,
286
+ "K" => goto_hover ,
287
287
"r" => rename_symbol,
288
288
"h" => select_references_to_symbol_under_cursor,
289
289
"c" => toggle_comments,
You can’t perform that action at this time.
0 commit comments