-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from liquidz/dev
ver 0.4.3
- Loading branch information
Showing
14 changed files
with
299 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
let s:save_cpo = &cpo | ||
set cpo&vim | ||
|
||
let s:default_palette = [ | ||
\ 'Connect', | ||
\ 'Disconnect', | ||
\ 'Reconnect', | ||
\ 'Interrupt', | ||
\ 'PrintLast', | ||
\ 'RequireAll', | ||
\ 'StartCljsRepl figwheel', | ||
\ 'StartCljsRepl nashorn', | ||
\ 'QuitCljsRepl', | ||
\ 'TestNs', | ||
\ 'TestAll', | ||
\ 'TestRedo', | ||
\ 'ToggleSrcAndTest', | ||
\ 'BrowseNamespace', | ||
\ 'BrowseFunction', | ||
\ 'BrowseSpec', | ||
\ 'CleanNs', | ||
\ 'AddNs', | ||
\ 'ToggleTraceVar', | ||
\ 'ToggleTraceNs', | ||
\ 'InReplNs', | ||
\ 'LintCurrentFile', | ||
\ 'LintToggle', | ||
\ ] | ||
|
||
let g:iced#palette#palette = get(g:, 'iced#palette#palette', s:default_palette) | ||
|
||
function! s:run(candidate) abort | ||
execute printf(':Iced%s', a:candidate) | ||
endfunction | ||
|
||
function! iced#palette#show() abort | ||
call ctrlp#iced#start({ | ||
\ 'candidates': g:iced#palette#palette, | ||
\ 'accept': {_, candidate -> s:run(candidate)}, | ||
\ }) | ||
endfunction | ||
|
||
let &cpo = s:save_cpo | ||
unlet s:save_cpo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
*vim-iced.txt* Clojure interactive development environment for Vim8 | ||
|
||
Version: 0.4.2 | ||
Version: 0.4.3 | ||
Author : Masashi Iizuka <[email protected]> | ||
License: MIT LICENSE | ||
|
||
|
@@ -448,6 +448,18 @@ Commands *vim-iced-commands* | |
If {symbol} is not passed, symbol under cursor is used. | ||
Key is mapped to |<Plug>(iced_source_show)|. | ||
|
||
*:IcedGrimoireOpen* | ||
:IcedGrimoireOpen [{symbol}] | ||
Open a window, and show grimoire for {symbol} | ||
If {symbol} is not passed, symbol under cursor is used. | ||
Key is mapped to |<Plug>(iced_grimoire_open)|. | ||
|
||
*:IcedCommandPalette* | ||
:IcedCommandPalette | ||
Select command from palette. | ||
`ctrlp.vim` is required to select namespace. | ||
Key is mapped to |<Plug>(iced_command_palette)|. | ||
|
||
*:IcedSlurp* | ||
:IcedSlurp | ||
Slurp next element. | ||
|
@@ -762,6 +774,14 @@ Key Mappings *vim-iced-key-mappings* | |
<Plug>(iced_source_show) | ||
Same as |:IcedSourceShow|. | ||
|
||
*<Plug>(iced_grimoire_open)* | ||
<Plug>(iced_grimoire_open) | ||
Same as |:IcedGrimoireOpen|. | ||
|
||
*<Plug>(iced_command_palette)* | ||
<Plug>(iced_command_palette) | ||
Same as |:IcedCommandPalette|. | ||
|
||
*<Plug>(iced_slurp)* | ||
<Plug>(iced_slurp) | ||
Same as |:IcedSlurp|. | ||
|
@@ -1001,6 +1021,7 @@ g:iced_enable_default_key_mappings | |
<Leader>rml <Plug>(iced_move_to_let) | ||
<Leader>hs <Plug>(iced_source_show) | ||
<Leader>hg <Plug>(iced_grimoire_open) | ||
<Leader>hh <Plug>(iced_command_palette) | ||
<Leader>bn <Plug>(iced_browse_namespace) | ||
<Leader>bf <Plug>(iced_browse_function) | ||
<Leader>bs <Plug>(iced_browse_spec) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.