Created
March 24, 2023 14:05
-
-
Save asilvadesigns/8922c9ec1c6b2302b9b7c15228ec8412 to your computer and use it in GitHub Desktop.
.ideavimrc
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
" plugins | |
set exchange | |
set highlightedyank | |
set ideajoin | |
set ignorecase | |
set incsearch | |
set multiple-cursors | |
set surround | |
set NERDTree | |
" use system clipboard | |
set clipboard+=unnamed | |
" relative number line | |
set nu rnu | |
" normal mode mappings | |
let mapleader="," | |
nnoremap <leader><space> :action ShowNavBar<cr> | |
nnoremap <leader>a :action GotoAction<cr> | |
nnoremap <leader>b :action ShowBookmarks<cr> | |
nnoremap <leader>c :action GotoClass<cr> | |
nnoremap <leader>e :action RecentFiles<cr> | |
nnoremap <leader>f :action GotoFile<cr> | |
nnoremap <leader>l :action RecentLocations<cr> | |
nnoremap <leader>m :action ReformatWithPrettierAction<cr> | |
nnoremap == :action ReformatWithPrettierAction<cr> | |
nnoremap <leader>rn :action RenameElement<cr> | |
nnoremap <leader>s :action SaveAll<cr> | |
nnoremap <leader>t :action ActivateTerminalToolWindow<cr> | |
nnoremap <leader>u :action EmmetUpdateTag<cr> | |
nnoremap <leader>j :action SelectInProjectView<cr> | |
nnoremap ge :action ShowErrorDescription<cr> | |
nnoremap gh :action QuickJavaDoc<cr> | |
nnoremap gi :action GotoImplementation<cr> | |
nnoremap gu :action ShowUsages<cr> | |
nnoremap <leader>ne :action GotoNextError<cr> | |
nnoremap <leader>pe :action GotoPreviousError<cr> | |
" nnoremap <leader>nc :action EmmetUpdateTag<cr> | |
" nnoremap <leader>pc :action EmmetUpdateTag<cr> | |
nnoremap <c-h> <c-w>h | |
nnoremap <c-j> <c-w>j | |
nnoremap <c-k> <c-w>k | |
nnoremap <c-l> <c-w>l | |
nnoremap ; :action AceAction<CR> | |
"nnoremap ; :action AceWordAction<CR> | |
" insert mode mappings | |
inoremap <c-h> <c-o>I | |
inoremap <c-l> <c-o>A | |
inoremap <c-u> <esc>v0c | |
inoremap kj <esc> | |
" visual mode mappings | |
vnoremap A :action EditorAddCaretPerSelectedLine<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These are exported from
Preferences > Editor > Vim