-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ideavimrc
61 lines (48 loc) · 1.49 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
61
" htps://github.com/JetBrains/ideavim
" :actionslist
let mapleader=" "
" plugins
set ideajoin
set surround
set commentary
set highlightedyank
set showmode
set clipboard=unnamedplus,unnamed
set relativenumber number
set showmode
set scrolloff=5
set incsearch
map Q gq
set which-key
set notimeout
set timeoutlen=5000
let g:WhichKeyDesc_file_explorer = "<leader>e file explorer"
let g:WhichKeyDesc_find_file = "<leader><leader> find files"
let g:WhichKeyDesc_split_vertical = "<leader>\\ vertical split"
let g:WhichKeyDesc_split_horizontal = "<leader>- horizontal split"
let g:WhichKeyDesc_buffer = "<leader>b buffer"
let g:WhichKeyDesc_debug = "<leader>d debug"
let g:WhichKeyDesc_code = "<leader>c code"
let g:WhichKeyDesc_file_find = "<leader>f file\/find"
let g:WhichKeyDesc_git = "<leader>g git"
let g:WhichKeyDesc_window = "<leader>w windows"
let g:WhichKeyDesc_tools = "<leader>o tools"
map <leader>ff <Action>(GotoFile)
map <leader><leader> <Action>(GotoFile)
map <leader>fg <Action>(FindInPath)
map <leader>dd <Action>(Debug)
map <leader>dt <Action>(Stop)
map <leader>db <Action>(ToggleLineBreakpoint)
map <leader>ot <Action>(OpenTerminal)
map <leader>cr <Action>(RenameElement)
map <leader>cf <Action>(ReformatCode)
map <leader>w <Action>(CloseActiveTab)
map <S-l> <Action>(NextTab)
map <S-h> <Action>(PreviousTab)
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
map <C-^> <leader><tab>
set NERDTree
map <leader>e :NERDTreeFind<CR>