-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ideavimrc
51 lines (42 loc) · 1.39 KB
/
.ideavimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
let mapleader = ","
set commentary
set easymotion
set incsearch
set hlsearch
set ignorecase
set smartcase
set nowrapscan
set ideastatusicon=gray
set ideajoin
vnoremap < <gv
vnoremap > >gv
nnoremap <Tab> gt
nnoremap <S-Tab> gT
nnoremap <leader>z :action ToggleDistractionFreeMode<CR>
" nnoremap gt :action ActivateStructureToolWindow<CR>
nnoremap <leader>t :action ActivateProjectToolWindow<CR>
nnoremap <c-t> :action GotoSymbol<CR>
" nnoremap <c-s> :action FileStructurePopup<CR>
nnoremap gt :action FileStructurePopup<CR>
nnoremap <leader>f :action FindInPath<CR>
nnoremap <c-a> :action GotoAction<CR>
nnoremap <c-p> :action GotoFile<CR>
nnoremap <leader>i :action GotoImplementation<CR>
nnoremap <leader>u :action FindUsages<CR>
nnoremap <leader>s :action GotoRelated<CR>
nnoremap <leader>h :action CallHierarchy<CR>
nnoremap <leader>b :action ShowNavBar<CR>
nnoremap <c-u> :action RecentFiles<CR>
nnoremap <leader>r :action Refactorings.QuickListPopupAction<CR>
nnoremap ge :action GotoNextError<CR>
nnoremap gE :action GotoPreviousError<CR>
nnoremap <leader><space> :nohlsearch<CR>
nnoremap <leader><leader> :action JumpToLastWindow<CR>:action HideActiveWindow<CR>
" need to discover the rest of the easymotion ones
nmap s <Plug>(easymotion-s)
Plug 'preservim/nerdtree`
nnoremap <c-m> :action MoveEditorToOppositeTabGroup<CR>
nnoremap <c-h> <c-w>h
nnoremap <c-l> <c-w>l
nnoremap <c-j> <c-w>j
nnoremap <c-k> <c-w>k