Created
August 18, 2023 20:18
-
-
Save huytd/361f30fbebea75153e7a252846508baf to your computer and use it in GitHub Desktop.
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
let mapleader=" " | |
set ideajoin | |
set clipboard+=unnamed | |
set clipboard+=ideaput | |
inoremap jk <ESC> | |
nnoremap <C-j> 10jzz | |
nnoremap <C-k> 10kzz | |
nnoremap H h | |
nnoremap L l | |
nnoremap l w | |
nnoremap h b | |
nmap gr <Action>(FindUsages) | |
nmap gi <Action>(GotoImplementation) | |
nmap gd <Action>(GotoDeclaration) | |
nmap gy <Action>(GotoTypeDeclaration) | |
" A touch of Helix | |
nmap gh 0 | |
nmap gs ^ | |
nmap gl $ | |
nmap ge G | |
xmap gh 0 | |
xmap gs ^ | |
xmap gl $ | |
xmap ge G | |
nmap <leader>S <Action>(GotoSymbol) | |
nmap <leader>s <Action>(FileStructurePopup) | |
nmap <leader>F <Action>(FindInPath) | |
nmap <leader>f <Action>(GotoFile) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment