generated from anishathalye/dotfiles_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathideavimrc
60 lines (53 loc) · 1.44 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
52
53
54
55
56
57
58
59
60
" set leader key
let mapleader = " "
set timeout timeoutlen=500
" Plugins "{{{
set surround
set commentary
set argtextobj
set NERDTree
set ideajoin
set commentary
"}}}
" Maps "{{{
map <A-h> <Action>(PreviousTab)
map <A-l> <Action>(NextTab)
map <C-h> :action PrevSplitter<cr>
map <C-l> :action NextSplitter<cr>
map <Leader>c :action CloseEditor<cr>
map <Leader>rn :action RenameElement<cr>
map K <Action>(QuickJavaDoc)
" map K :action ShowErrorDescription<cr>
map gr :action FindUsages<cr>
map gI :action GotoImplementation<cr>
map gh :action ShowErrorDescription<cr>
map <Leader>e :NERDTree<cr>
map <Leader>/ gcc
" nmap <A-j> <Action>(MoveStatementDown)
" nmap <A-k> <Action>(MoveStatementUp)
" imap <A-j> <Action>(MoveStatementDown)
" imap <A-k> <Action>(MoveStatementUp)
" vmap <A-j> <Action>(MoveStatementDown)
" vmap <A-k> <Action>(MoveStatementUp)
nmap <A-j> :m .+1<CR>==
nmap <A-k> :m .-2<CR>==
imap <A-j> <Esc>:m .+1<CR>==gi
imap <A-k> <Esc>:m .-2<CR>==gi
vmap <A-j> :m '>+1<CR>gvgv
vmap <A-k> :m '<-2<CR>gvgv
map <Leader>w :w<CR>
vmap < <gv
vmap > >gv
imap kj <Esc>
imap jk <Esc>
imap jj <Esc>
map <Leader>rt :action RunClass<cr>
map <Leader>q :action HideActiveWindow<cr>
map <Leader>n :action CloseAllNotifications<cr>
map <Leader>dd :action DebugClass<cr>
map <Leader>db :action ToggleLineBreakpoint<cr>
map <Leader>dn :action StepOver<cr>
map <Leader>di :action StepInto<cr>
map <Leader>do :action StepOut<cr>
"}}}
" vim: set foldmethod=marker foldlevel=0: