feat(ideavim): add some cool stuff

chezmoi
sgoudham 2 years ago
parent 1e78794389
commit 68904df6c1
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -113,6 +113,7 @@ map <a-l> <C-w>l
" Bye bye " Bye bye
map <leader>q <Action>(CloseContent) map <leader>q <Action>(CloseContent)
map <leader>Q <Action>(CloseAllEditors) map <leader>Q <Action>(CloseAllEditors)
map <leader>x <Action>(CloseAllEditorsButActive)
map <leader>h <Action>(HideAllWindows) map <leader>h <Action>(HideAllWindows)
" Focus project window " Focus project window
@ -120,10 +121,11 @@ map <leader>e :NERDTreeFocus<CR>
" File navigation " File navigation
map <leader>ff <Action>(GotoFile) map <leader>ff <Action>(GotoFile)
map <leader>fC <Action>(SearchEverywhere)
map <leader>fg <Action>(FindInPath) map <leader>fg <Action>(FindInPath)
map <leader>fm <Action>(MainMenu)
map <leader>fr <Action>(RecentFiles) map <leader>fr <Action>(RecentFiles)
map <leader>fp <Action>(ManageRecentProjects) map <leader>fp <Action>(ManageRecentProjects)
map <leader><leader> <Action>(SearchEverywhere)
" Tab navigation " Tab navigation
map <Tab> <Action>(NextTab) map <Tab> <Action>(NextTab)
@ -141,7 +143,6 @@ map <leader>la <Action>(ShowIntentionActions)
map gt <Action>(GotoTest) map gt <Action>(GotoTest)
map gs <Action>(GotoSuperMethod) map gs <Action>(GotoSuperMethod)
map gI <Action>(GotoImplementation) map gI <Action>(GotoImplementation)
map gx <Action>(OpenInBrowserGroup)
" Debugging stuffs " Debugging stuffs
map <leader>dt <Action>(ToggleLineBreakpoint) map <leader>dt <Action>(ToggleLineBreakpoint)
@ -165,6 +166,10 @@ map <leader>; :e ~/.config/ideavim/ideavimrc<CR>
inoremap <A-j> <C-n> inoremap <A-j> <C-n>
inoremap <A-k> <C-p> inoremap <A-k> <C-p>
" Shhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
" https://youtrack.jetbrains.com/issue/VIM-1341/gx-should-open-selection-in-browser
nnoremap gx gd
" Zen mode " Zen mode
map <leader>zz <Action>(TogglePresentationMode) map <leader>zz <Action>(TogglePresentationMode)

Loading…
Cancel
Save