-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ideavimrc
40 lines (33 loc) · 989 Bytes
/
.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
let mapleader = " "
set NERDTree
set highlightedyank
set incsearch
set ideastrictmode
set which-key
set number relativenumber
inoremap jj <Esc>
inoremap jk <Esc>
nmap <leader>ff :action GotoFile <CR>
nmap <leader>fa :action GotoAction <CR>
nmap <leader>fo :action RecentFiles <CR>
nmap <leader>fw :action FindInPath <CR>
nmap <leader>w :action SaveAll <CR>
nmap <leader>t :action Terminal.OpenInTerminal <CR>
nmap <leader>o <Action>(NERDTreeFocus)
nmap <leader>e <Action>(SelectInProjectView)
nmap <leader>ee <Action>(ShowNavBar)
nmap <leader>c <Action>(CloseContent)
nmap <leader>rn <Action>(RenameElement)
nmap <leader>p <Action>(PasteMultiple)
nmap <leader>l <Action>(ShowIntentionActions)
nmap <leader>ld <Action>(ShowErrorDescription)
nmap <leader>/ <Action>(CommentByLineComment)
nmap <leader>gb <Action>(Git.Branches)
" system clipboard
vmap <leader>y "+y
vmap <leader>d "+d
nmap <leader>y "+yy
nmap <leader>P "+P
vmap <leader>p "+p
vmap <leader>P "+P
set clipboard+=unnamed