-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_ideavimrc
41 lines (32 loc) · 1010 Bytes
/
dot_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
#set hlsearch
set incsearch
set ignorecase ic
set number relativenumber
let mapleader = " "
# map <leader>t :action $
# :actionlist [pattern]
if has('ide')
map <leader>u <Action>(FindUsages)
map <leader>s <Action>(FileStructurePopup)
map <leader>gd <Action>(GotoDeclaration)
map <leader>m <Action>(Move)
# map <leader><tab> <action>(copilot.applyInlays)
map <leader>h <Action>(Back)
map <leader>l <Action>(Forward)
map <leader>n <Action>(NewElement)
map <leader>gf <Action>(GotoFile)
map <leader>gp <Action>(FindInPath)
map <leader>b <Action>(Switcher)
# Run
map <leader>T <Action>(RunClass)
map <leader>t <Action>(Rerun)
map <leader>r <Action>(RenameElement)
map <leader>R <Action>(RenameFile)
map <leader>d <Action>(SafeDelete)
else
endif
# https://github.com/JetBrains/ideavim/wiki/Emulated-plugins
# Plug 'easymotion/vim-easymotion'
Plug 'preservim/nerdtree'
Plug 'tpope/vim-surround'
Plug 'terryma/vim-multiple-cursors'