-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* enable which key * spacemacs: add which-key names Signed-off-by: MarcoIeni <[email protected]> * windows: add which key names Signed-off-by: MarcoIeni <[email protected]> * extra: add which-key names Signed-off-by: MarcoIeni <[email protected]> * misc: add which-key names Signed-off-by: MarcoIeni <[email protected]> * leader: add which-key Signed-off-by: MarcoIeni <[email protected]> * applications: add which key names (#16) Co-authored-by: tl-marco-ieni <[email protected]> * bookmarks: add which-key names (#18) * Add which-key description for bookmarks * Update extra/bookmarks.vim Co-authored-by: Marco Ieni <[email protected]> Co-authored-by: Marco Ieni <[email protected]> * Add which-key names to all buffer related commands. (#19) Relates to issue #17 Co-authored-by: Jamal Rahhali <[email protected]> * [#20] SPC ' Activate terminal window Signed-off-by: MarcoIeni <[email protected]> * Describe colors for which-key (#21) * Add description for colors.vim * Requested change for kebab-case * Add description for compile-comments files (#23) * Add description for compile-comments files * Requested changes and adjust "namespace" * Add which key +zoom menu descriptions (#28) * Add which-key +zoom menu descriptions. #17 * Update spacemacs/zoom.vim Co-authored-by: Jamal Rahhali <[email protected]> Co-authored-by: Marco Ieni <[email protected]> * Add which-key descriptions for the +quit menu (#27) Also added the `<leader>qr` and `<leader>qR` shortcuts that mimic the Spacemacs restart shortcuts. #17 Co-authored-by: Jamal Rahhali <[email protected]> * Add which-key names for files (#26) Removed `<leader>fg` (search in project files) from files menu because it does not appear in Spacemacs. `<leader>/` works with my which-key version, so added that shortcut to the `leader.vim`. Relates to #17 Co-authored-by: Jamal Rahhali <[email protected]> * Added which-key names for the search/symbol menu. (#31) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Add which-key names for errors. (#25) * Add which-key names for errors. Moved a few shortcuts that weren't part of spacemacs from from `spacemacs/errors.vim` to `extra/errors.vim` Two shorcuts both had a `<leader>es` mapping. Remapped one of them. Relates to #17 * Moved some shortcuts from extra/errors.vim back to spacemacs/errors.vim Relates to #17 Co-authored-by: Jamal Rahhali <[email protected]> * Added which key jump-join-split menu (#34) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Added which key text menu (#33) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Which key frame menu (#32) * Added which key Frame menu #17 * Fixed typo #17 Co-authored-by: Jamal Rahhali <[email protected]> * Added which-key help menu descriptions (#35) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Add which-key project menu descriptions. (#42) * Add which-key project menu descriptions. #17 * Update spacemacs/projects.vim Co-authored-by: Jamal Rahhali <[email protected]> Co-authored-by: Marco Ieni <[email protected]> * Added which-key insertion menu descriptions. (#36) * Added which-key insertion menu descriptions. #17 * Comment repair. #17 * Update spacemacs/insertion.vim Co-authored-by: Jamal Rahhali <[email protected]> Co-authored-by: Marco Ieni <[email protected]> * Add which-key run menu descriptions. (#40) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Added which-key narrow/numbers menu descriptions. (#37) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Added which-key registers/reings/resume menu descriptions. (#39) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Added which-key toggles and ui-toggles menu descriptions. (#38) #17 Co-authored-by: Jamal Rahhali <[email protected]> * Add which-key git menu descriptions. (#43) * Add which-key git menu descriptions. #17 * Change SPC g v menu description from +vcs to +version-control To align with the name in Spacemacs. #17 Co-authored-by: Marco Ieni <[email protected]> * Change SPC g b menu description from "checkout" to "branches". #17 Co-authored-by: Marco Ieni <[email protected]> Co-authored-by: Jamal Rahhali <[email protected]> Co-authored-by: Marco Ieni <[email protected]> * Add which-key major mode menu descriptions. (#41) * Add which-key major mode menu descriptions. #17 * Update major/debug.vim * Change major mode SPC m p menu description from "+package" to "+project". Code review change. #17 Co-authored-by: Jamal Rahhali <[email protected]> Co-authored-by: Marco Ieni <[email protected]> * update changelog Signed-off-by: MarcoIeni <[email protected]> * README: add SpaceVim Signed-off-by: MarcoIeni <[email protected]> * add gif Signed-off-by: MarcoIeni <[email protected]> Co-authored-by: tl-marco-ieni <[email protected]> Co-authored-by: Nimamoh <[email protected]> Co-authored-by: Jamal Rahhali <[email protected]> Co-authored-by: Jamal Rahhali <[email protected]> Co-authored-by: Ellis Kenyő <[email protected]>
- Loading branch information
1 parent
8e29374
commit 7537423
Showing
56 changed files
with
461 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Intellij | ||
/.idea/ |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 +1,4 @@ | ||
" Show TODOs | ||
let g:WhichKeyDesc_Applications_Todo = "<leader>at todo" | ||
nnoremap <leader>at :action ActivateTODOToolWindow<CR> | ||
vnoremap <leader>at :action ActivateTODOToolWindow<CR> |
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,25 +1,31 @@ | ||
" List bookmarks | ||
" Create bookmark 0 with <C-S-0>, Create bookmark 1 with <C-S-1> and so on. | ||
" Go to bookmark 0 with <C-0>, go to bookmark 1 with <C-1> and so on. | ||
let g:WhichKeyDesc_Bookmarks_List = "<leader>Bl list-bookmarks" | ||
nnoremap <leader>Bl :action ShowBookmarks<CR> | ||
vnoremap <leader>Bl :action ShowBookmarks<CR> | ||
" Previous bookmark | ||
let g:WhichKeyDesc_Bookmarks_PreviousN = "<leader>BN previous-bookmark" | ||
nnoremap <leader>BN :action GotoPreviousBookmark<CR> | ||
vnoremap <leader>BN <Esc>:action GotoPreviousBookmark<CR> | ||
" Next bookmark | ||
let g:WhichKeyDesc_Bookmarks_Next = "<leader>Bn next-bookmark" | ||
nnoremap <leader>Bn :action GotoNextBookmark<CR> | ||
vnoremap <leader>Bn <Esc>:action GotoNextBookmark<CR> | ||
" Previous bookmark | ||
let g:WhichKeyDesc_Bookmarks_Previous = "<leader>Bp previous-bookmark" | ||
nnoremap <leader>Bp :action GotoPreviousBookmark<CR> | ||
vnoremap <leader>Bp <Esc>:action GotoPreviousBookmark<CR> | ||
" Toggle bookmark. When you activate it, assign to it a value. | ||
let g:WhichKeyDesc_Bookmarks_ToggleMnemonic = "<leader>BT toggle-bookmark-with-mnemonic" | ||
nnoremap <leader>BT :action ToggleBookmarkWithMnemonic<CR> | ||
vnoremap <leader>BT <Esc>:action ToggleBookmarkWithMnemonic<CR> | ||
" Toggle bookmark | ||
let g:WhichKeyDesc_Bookmarks_Toggle = "<leader>Bt toggle-bookmark" | ||
nnoremap <leader>Bt :action ToggleBookmark<CR> | ||
vnoremap <leader>Bt :action ToggleBookmark<CR> |
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,15 +1,19 @@ | ||
" Go to first tab | ||
let g:WhichKeyDesc_Buffers_FirstTab = "<leader>b0 first-tab" | ||
nnoremap <leader>b0 :action GoToTab1<CR> | ||
vnoremap <leader>b0 <Esc>:action GoToTab1<CR> | ||
" Go to last tab | ||
let g:WhichKeyDesc_Buffers_LastTab = "<leader>b$ last-tab" | ||
nnoremap <leader>b$ :action GoToLastTab<CR> | ||
vnoremap <leader>b$ <Esc>:action GoToLastTab<CR> | ||
" Next Tab | ||
let g:WhichKeyDesc_Buffers_NextTab = "<leader>bk next-tab" | ||
nnoremap <leader>bk :action NextTab<CR> | ||
vnoremap <leader>bk <Esc>:action NextTab<CR> | ||
" Previous Tab | ||
let g:WhichKeyDesc_Buffers_PreviousTab = "<leader>bj previous-tab" | ||
nnoremap <leader>bj :action PreviousTab<CR> | ||
vnoremap <leader>bj <Esc>:action PreviousTab<CR> |
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,3 +1,4 @@ | ||
" Comment by block comment | ||
let g:WhichKeyDesc_CompileComments_CommentByBlockComment = "<leader>cb comment-by-block-comment" | ||
nnoremap <leader>cb :action CommentByBlockComment<CR> | ||
vnoremap <leader>cb :action CommentByBlockComment<CR> |
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,11 +1,14 @@ | ||
" Inspect code | ||
let g:WhichKeyDesc_Errors_InspectCode = "<leader>eL inspect-code" | ||
nnoremap <leader>eL :action InspectCode<CR> | ||
vnoremap <leader>eL :action InspectCode<CR> | ||
" Run inspection by name | ||
let g:WhichKeyDesc_Errors_RunInspectionByName = "<leader>eR run-inspection-by-name" | ||
nnoremap <leader>eR :action RunInspection<CR> | ||
vnoremap <leader>eR <Esc>:action RunInspection<CR> | ||
" Resolve error | ||
let g:WhichKeyDesc_Errors_ResolveError = "<leader>er resolve-error" | ||
nnoremap <leader>er :action ShowIntentionActions<CR> | ||
vnoremap <leader>er :action ShowIntentionActions<CR> | ||
" Edit inspection settings | ||
nnoremap <leader>es :action EditInspectionSettings<CR> | ||
vnoremap <leader>es :action EditInspectionSettings<CR> |
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,7 +1,9 @@ | ||
" Create a new Element. | ||
let g:WhichKeyDesc_Files_NewElement = "<leader>fN new-element" | ||
nnoremap <leader>fN :action NewElement<CR> | ||
vnoremap <leader>fN :action NewElement<CR> | ||
" Create a new class. You can also create enum, interface and more. | ||
let g:WhichKeyDesc_Files_NewClass = "<leader>fn new-class" | ||
nnoremap <leader>fn :action NewClass<CR> | ||
vnoremap <leader>fn :action NewClass<CR> |
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,3 +1,4 @@ | ||
" Focus previous project | ||
let g:WhichKeyDesc_Frame_PreviousProjectWindow = "<leader>FO previous-project-window" | ||
nnoremap <leader>FO :action PreviousProjectWindow<CR> | ||
vnoremap <leader>FO :action PreviousProjectWindow<CR> |
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,19 +1,24 @@ | ||
" Git checkout | ||
let g:WhichKeyDesc_GitVcs_Branches = "<leader>gb branches" | ||
nnoremap <leader>gb :action Git.Branches<CR> | ||
vnoremap <leader>gb :action Git.Branches<CR> | ||
" Show Version control tool window | ||
let g:WhichKeyDesc_GitVcs_ShowWindow = "<leader>gG show-window" | ||
nnoremap <leader>gG :action ActivateVersionControlToolWindow<CR> | ||
vnoremap <leader>gG :action ActivateVersionControlToolWindow<CR> | ||
" Select a VCS operation | ||
let g:WhichKeyDesc_GitVcs_SelectOperation = "<leader>gg select-operation" | ||
nnoremap <leader>gg :action Vcs.QuickListPopupAction<CR> | ||
vnoremap <leader>gg :action Vcs.QuickListPopupAction<CR> | ||
" Vcs push (git push)" | ||
let g:WhichKeyDesc_GitVcs_Push = "<leader>gp push" | ||
nnoremap <leader>gp :action Vcs.Push<cr> | ||
vnoremap <leader>gp :action Vcs.Push<cr> | ||
" Show shelf | ||
let g:WhichKeyDesc_GitVcs_Shelf = "<leader>gS shelf" | ||
nnoremap <leader>gS :action Vcs.Show.Shelf<CR> | ||
vnoremap <leader>gS :action Vcs.Show.Shelf<CR> |
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,11 +1,14 @@ | ||
" Show action list | ||
let g:WhichKeyDesc_Help_ShowActionList = "<leader>ha show-action-list" | ||
nnoremap <leader>ha :actionlist<CR> | ||
vnoremap <leader>ha <Esc>:actionlist<CR> | ||
" Show changes in current file | ||
let g:WhichKeyDesc_Help_ShowHistory = "<leader>hh show-history" | ||
nnoremap <leader>hh :action LocalHistory.ShowHistory<CR> | ||
vnoremap <leader>hh :action LocalHistory.ShowHistory<CR> | ||
" Visit JetBrains youtube channel | ||
let g:WhichKeyDesc_Help_VisitYoutubeChannel = "<leader>hv visit-youtube-channel" | ||
nnoremap <leader>hv :action Help.JetBrainsTV<CR> | ||
vnoremap <leader>hv :action Help.JetBrainsTV<CR> |
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,11 +1,14 @@ | ||
" Jump to class | ||
let g:WhichKeyDesc_JumpJoinSplit_JumpToClass = "<leader>jc jump-to-class" | ||
nnoremap <leader>jc :action GotoClass<CR> | ||
vnoremap <leader>jc :action GotoClass<CR> | ||
" Jump to element in current file | ||
let g:WhichKeyDesc_JumpJoinSplit_JumpToFileStructure = "<leader>je jump-to-file-structure" | ||
nnoremap <leader>je :action FileStructurePopup<CR> | ||
vnoremap <leader>je :action FileStructurePopup<CR> | ||
" Jump to symbol | ||
let g:WhichKeyDesc_JumpJoinSplit_JumpToSymbol = "<leader>js jump-to-symbol" | ||
nnoremap <leader>js :action GotoSymbol<CR> | ||
vnoremap <leader>js :action GotoSymbol<CR> |
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,7 +1,9 @@ | ||
" Go to code block start | ||
let g:WhichKeyDesc_Leader_GotoCodeBlockStart = "<leader>[ goto-code-block-start" | ||
nnoremap <leader>[ :action EditorCodeBlockStart<CR> | ||
vnoremap <leader>[ <Esc>:action EditorCodeBlockStart<CR> | ||
" Go to code block end | ||
let g:WhichKeyDesc_Leader_GotoCodeBlockEnd = "<leader>] goto-code-block-end" | ||
nnoremap <leader>] :action EditorCodeBlockEnd<CR> | ||
vnoremap <leader>] <Esc>:action EditorCodeBlockEnd<CR> |
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,19 +1,24 @@ | ||
" Run Anything | ||
let g:WhichKeyDesc_Run_Anything = "<leader>Ra run-anything" | ||
nnoremap <leader>Ra :action RunAnything<CR> | ||
vnoremap <leader>Ra :action RunAnything<CR> | ||
" Run class | ||
let g:WhichKeyDesc_Run_Class = "<leader>Rc run-class" | ||
nnoremap <leader>Rc :action RunClass<CR> | ||
vnoremap <leader>Rc :action RunClass<CR> | ||
" Kill (Stop application) | ||
let g:WhichKeyDesc_Run_Kill = "<leader>Rk kill" | ||
nnoremap <leader>Rk :action Stop<CR> | ||
vnoremap <leader>Rk :action Stop<CR> | ||
" Run | ||
let g:WhichKeyDesc_Run_Run = "<leader>Rr run" | ||
nnoremap <leader>Rr :action Run<CR> | ||
vnoremap <leader>Rr :action Run<CR> | ||
" Select configuration and run | ||
let g:WhichKeyDesc_Run_SelectRunConfiguration = "<leader>Rs select-run-configuration" | ||
nnoremap <leader>Rs :action ChooseRunConfiguration<CR> | ||
vnoremap <leader>Rs :action ChooseRunConfiguration<CR> |
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,11 +1,14 @@ | ||
" Search everywhere | ||
let g:WhichKeyDesc_SearchSymbol_SearchEverywhere = "<leader>sE search-everywhere" | ||
nnoremap <leader>sE :action SearchEverywhere<CR> | ||
vnoremap <leader>sE :action SearchEverywhere<CR> | ||
" Search in current file by using Intellij Search | ||
let g:WhichKeyDesc_SearchSymbol_FindInFile = "<leader>sf find-in-file" | ||
nnoremap <leader>sf :action Find<CR> | ||
vnoremap <leader>sf :action Find<CR> | ||
" Search and replace in current file by using Intellij Search | ||
let g:WhichKeyDesc_SearchSymbol_ReplaceInFile = "<leader>sr replace-in-file" | ||
nnoremap <leader>sr :action Replace<CR> | ||
vnoremap <leader>sr :action Replace<CR> |
Oops, something went wrong.