mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:50:06 +08:00
fix(clojure): fix repl key binding
This commit is contained in:
parent
170cfcc38d
commit
91cc06bf4c
@ -51,7 +51,7 @@
|
||||
" g D jump to type definition
|
||||
" SPC l e rename symbol
|
||||
" SPC l x show references
|
||||
" SPC l s show line diagnostics
|
||||
" SPC l h show line diagnostics
|
||||
" SPC l d show document
|
||||
" K show document
|
||||
" SPC l w l list workspace folder
|
||||
@ -134,7 +134,7 @@ function! s:language_specified_mappings() abort
|
||||
\ 'call SpaceVim#lsp#references()', 'show-references', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'],
|
||||
\ 'call SpaceVim#lsp#rename()', 'rename-symbol', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 's'],
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'h'],
|
||||
\ 'call SpaceVim#lsp#show_line_diagnostics()', 'show-line-diagnostics', 1)
|
||||
let g:_spacevim_mappings_space.l.w = {'name' : '+Workspace'}
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'w', 'l'],
|
||||
|
@ -2609,7 +2609,7 @@ used:
|
||||
g D jump to type definition
|
||||
SPC l e rename symbol
|
||||
SPC l x show references
|
||||
SPC l s show line diagnostics
|
||||
SPC l h show line diagnostics
|
||||
SPC l d show document
|
||||
K show document
|
||||
SPC l w l list workspace folder
|
||||
|
@ -14,6 +14,7 @@ description: "This layer is for Clojure development, provides autocompletion, sy
|
||||
- [Key bindings](#key-bindings)
|
||||
- [Running current script](#running-current-script)
|
||||
- [Inferior REPL process](#inferior-repl-process)
|
||||
- [LSP key Bindings](#lsp-key-bindings)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
@ -68,3 +69,19 @@ Send code to inferior process commands:
|
||||
| `SPC l s l` | send line and keep code buffer focused |
|
||||
| `SPC l s s` | send selection text and keep code buffer focused |
|
||||
|
||||
### LSP key Bindings
|
||||
|
||||
If the lsp layer is enabled for python, the following key bindings can
|
||||
be used:
|
||||
|
||||
| key binding | Description |
|
||||
| ----------- | ----------------------- |
|
||||
| `g D` | jump to type definition |
|
||||
| `SPC l e` | rename symbol |
|
||||
| `SPC l x` | show references |
|
||||
| `SPC l s` | show line diagnostics |
|
||||
| `SPC l d` | show document |
|
||||
| `K` | show document |
|
||||
| `SPC l w l` | list workspace folder |
|
||||
| `SPC l w a` | add workspace folder |
|
||||
| `SPC l w r` | remove workspace folder |
|
||||
|
Loading…
Reference in New Issue
Block a user