-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ideavimrc
More file actions
42 lines (34 loc) · 903 Bytes
/
.ideavimrc
File metadata and controls
42 lines (34 loc) · 903 Bytes
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
" Requires the ideavim and fuzzier Intelij plugins
" Settings (CTRL ALT S), Plugins
let mapleader = " "
nnoremap i zzi
nnoremap I zzI
nnoremap a zza
nnoremap A zzA
nnoremap o zzo
nnoremap O zzo
nnoremap n nzzzv
nnoremap N Nzzzv
nnoremap <C-d> <C-d>zz
nnoremap <C-u> <C-u>zz
nnoremap <C-c> <CMD>noh<CR>
set relativenumber
set ignorecase
set smartcase
set scrolloff=8
set sidescrolloff=5
set incsearch
set showmode
set showmatch
set highlightedyank
set commentary
nmap gd <Action>(GotoDeclaration)
nmap <Leader>gt <Action>(GotoTypeDeclaration)
nmap gr <Action>(FindUsages)
nmap rn <Action>(RenameElement)
nmap <S-Space> <Action>(GotoNextError)
map <leader>o <Action>(FileStructurePopup)
" I need a telescope equivilant. I cannot go back.
map <Leader>f <action>(com.mituuz.fuzzier.Fuzzier)
map <Leader>k <action>(com.mituuz.fuzzier.FuzzierVCS)
map <Leader>gr <action>(com.mituuz.fuzzier.FuzzyGrep)