File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -488,9 +488,12 @@ augroup omnisharp_commands
488
488
autocmd FileType cs nmap <silent> <buffer> ]] <Plug>(omnisharp_navigate_down)
489
489
" Find all code errors/warnings for the current solution and populate the quickfix window
490
490
autocmd FileType cs nmap <silent> <buffer> <Leader>osgcc <Plug>(omnisharp_global_code_check)
491
- " Contextual code actions (uses fzf, CtrlP or unite.vim when available)
491
+ " Contextual code actions (uses fzf, CtrlP or unite.vim selector when available)
492
492
autocmd FileType cs nmap <silent> <buffer> <Leader>osca <Plug>(omnisharp_code_actions)
493
493
autocmd FileType cs xmap <silent> <buffer> <Leader>osca <Plug>(omnisharp_code_actions)
494
+ " Repeat the last code action performed (does not use a selector)
495
+ autocmd FileType cs nmap <silent> <buffer> <Leader>os. <Plug>(omnisharp_code_action_repeat)
496
+ autocmd FileType cs xmap <silent> <buffer> <Leader>os. <Plug>(omnisharp_code_action_repeat)
494
497
495
498
autocmd FileType cs nmap <silent> <buffer> <Leader>os= <Plug>(omnisharp_code_format)
496
499
Original file line number Diff line number Diff line change @@ -510,6 +510,11 @@ convenient user re-mapping. These can be used like so: >
510
510
:OmniSharpGetCodeActions
511
511
Fuzzy-serach through available code actions
512
512
513
+ *:OmniSharpRepeatCodeAction*
514
+ *<Plug>(omnisharp_code_action_repeat)*
515
+ :OmniSharpRepeatCodeAction
516
+ Repeat the last code action performed at the current cursor position
517
+
513
518
*:OmniSharpGlobalCodeCheck*
514
519
*<Plug>(omnisharp_global_code_check)*
515
520
:OmniSharpGlobalCodeCheck
You can’t perform that action at this time.
0 commit comments