-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ideavimrc
75 lines (66 loc) · 2 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
let mapleader = "'"
" noremap <Up> <Nop>
" noremap <Down> <Nop>
" noremap <Left> <Nop>
" noremap <Right> <Nop>
inoremap <Esc> <Esc><Esc>
nmap <Tab> <C-w>
nmap <Tab><Tab> <C-w><C-w>
nmap <C-n> <Plug>NextWholeOccurrence
xmap <C-n> <Plug>NextWholeOccurrence
" Easy Motion Keybindings "
map <Leader>w <Plug>(easymotion-bd-w)
nmap <Leader>W <Plug>(easymotion-overwin-w)
map <Leader>q <Plug>(easymotion-bd-jk)
nmap <Leader>Q <Plug>(easymotion-overwin-line)
map <Leader>l <Plug>(easymotion-bd-jk)
nmap <Leader>L <Plug>(easymotion-overwin-line)
nmap <Leader>a :action FindInPath <cr>
nmap <Leader>f :action GotoFile<cr>
nmap <Leader>t :action GotoSymbol<cr>
nmap <Leader>T :action FileStructurePopup<cr>
nmap <Leader>r :action RecentFiles<cr>
nmap <Leader>e :action EmmetEverywhere<cr>
" nmap <S-W> :action :cursive.actions.paredit/move-form-up<cr>
" nmap <S-S> :action :cursive.actions.paredit/move-form-down<cr>
" vmap i :action SmartSelect<cr>
nmap ,, :action ToggleBookmark<cr>
vnoremap ,, :action ToggleBookmark<cr>
nmap <Leader>b :action ShowBookmarks<cr>
nmap [\ :action GotoNextError<cr>
nmap ]\ :action GotoPreviousError<cr>
nmap <C-z> :Term<cr>
nmap ; :action Switcher<cr>
nmap <Leader>ev :e ~/.ideavimrc<cr>
nmap <Leader>sv :source ~/.ideavimrc<cr>
nmap gc :action CommentByLineComment<cr>
nmap <Leader>gt :GoTestFunc<cr>
nmap <Leader>gb :GoDebugFunc<cr>
nmap gr :action ShowUsages<cr>
vnoremap gc :action CommentByLineComment<cr>
nmap <F10> :action ToggleLineBreakpoint<cr>
vnoremap <Leader>ga :action StringManipulation.AlignToColumns<cr>
command! Term action ActivateTerminalToolWindow
command! Wq wq
command! WQ wq
command! W w
command! BD q
command! Bd q
command! Qa qa
command! QA qa
command! Q q
command! Vs vs
command! VS vs
command! GoTestFunc action RunClass
command! GoDebugFunc action DebugClass
set go+=b.
set bs=2
set clipboard+=unnamedplus
set showcmd
set ignorecase
set smartcase
set mouse=a
set visualbell
set multiple-cursors
set noerrorbells
set easymotion