minor updates
This commit is contained in:
parent
a01c1bd837
commit
e01cd5110c
2 changed files with 15 additions and 6 deletions
|
|
@ -4,7 +4,7 @@
|
|||
" Find more examples here: https://jb.gg/share-ideavimrc
|
||||
|
||||
" UI/UX
|
||||
set scrolloff=15
|
||||
set scrolloff=10
|
||||
set autoindent
|
||||
set relativenumber
|
||||
set showcmd
|
||||
|
|
@ -88,6 +88,10 @@ let g:WhichKeyDesc_Find_Files = "<leader>ff Files"
|
|||
nmap <leader>fr <Action>(RecentFiles)
|
||||
let g:WhichKeyDesc_Find_Recents = "<leader>fr Recent"
|
||||
|
||||
nmap <leader>fa <Action>(GotoAction)
|
||||
|
||||
nmap <leader>fl <Action>(GotoSymbol)
|
||||
|
||||
"" code jump
|
||||
" nmap gd <Action>(GotoSuperMethod)
|
||||
" nmap gD <Action>(GotoDeclaration)
|
||||
|
|
@ -104,10 +108,13 @@ let g:WhichKeyDesc_Commentary = "<leader>gc Comment"
|
|||
" nmap gco o<Action>(CommentByLineComment)<ESC>
|
||||
" nmap gcO O<Action>(CommentByLineComment)<ESC>
|
||||
|
||||
" nmap <leader>lf <Action>(ReformatCode)
|
||||
" vmap <leader>lf <Action>(ReformatCode)<ESC>
|
||||
nmap <leader>lf <Action>(ReformatCode)
|
||||
vmap <leader>lf <Action>(ReformatCode)<ESC>
|
||||
nmap <leader>lr <Action>(RenameElement)
|
||||
|
||||
" Actions
|
||||
nmap <leader>ps <Action>(QuickList.SSH Actions)
|
||||
|
||||
"" git operation
|
||||
nmap <leader>gt <Action>(ActivateCommitToolWindow)
|
||||
" nmap <leader>gC <Action>(Vcs.ShowTabbedFileHistory)
|
||||
|
|
@ -118,9 +125,8 @@ nmap <leader>gR <Action>(ChangesView.Revert)
|
|||
"" tabs
|
||||
nmap H <Action>(PreviousTab)
|
||||
nmap L <Action>(NextTab)
|
||||
" nmap <leader>bc <Action>(CloseAllEditorsButActive)
|
||||
" nmap <leader>bC <Action>(CloseAllEditors)
|
||||
" nmap <leader>c <Action>(CloseContent)
|
||||
nmap <leader>bc <Action>(CloseContent)
|
||||
nmap <leader>bC <Action>(CloseAllEditors)
|
||||
|
||||
"" panels
|
||||
nmap <C-h> <C-w>h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue