|
|
@ -39,14 +39,21 @@ sethandler <C-V> a:ide
|
|
|
|
let mapleader = " "
|
|
|
|
let mapleader = " "
|
|
|
|
|
|
|
|
|
|
|
|
"" Emulated plugins
|
|
|
|
"" Emulated plugins
|
|
|
|
|
|
|
|
|
|
|
|
" use 'c|d|yia' to c|d|y inner arguments
|
|
|
|
" use 'c|d|yia' to c|d|y inner arguments
|
|
|
|
set argtextobj
|
|
|
|
set argtextobj
|
|
|
|
|
|
|
|
let g:argtextobj_pairs="(:),{:},<:>,[:]"
|
|
|
|
set commentary
|
|
|
|
set commentary
|
|
|
|
set highlightedyank
|
|
|
|
set highlightedyank
|
|
|
|
set NERDTree
|
|
|
|
set NERDTree
|
|
|
|
set surround
|
|
|
|
set surround
|
|
|
|
set textobj-entire
|
|
|
|
set textobj-entire
|
|
|
|
set which-key
|
|
|
|
set which-key
|
|
|
|
|
|
|
|
set quickscope
|
|
|
|
|
|
|
|
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
|
|
|
|
|
|
|
|
let g:qs_primary_color = '#e64553'
|
|
|
|
|
|
|
|
let g:qs_secondary_color = '#fe640b'
|
|
|
|
|
|
|
|
let g:qs_accepted_chars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '{', '}', '[', ']', '<', '>']
|
|
|
|
|
|
|
|
|
|
|
|
"" Options
|
|
|
|
"" Options
|
|
|
|
set notimeout
|
|
|
|
set notimeout
|
|
|
@ -64,6 +71,9 @@ set idearefactormode=keep
|
|
|
|
set visualbell
|
|
|
|
set visualbell
|
|
|
|
set tm=500
|
|
|
|
set tm=500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Set scrolloff
|
|
|
|
|
|
|
|
set scrolloff=8
|
|
|
|
|
|
|
|
|
|
|
|
"" Mappings
|
|
|
|
"" Mappings
|
|
|
|
" 0 -> first non-blank character
|
|
|
|
" 0 -> first non-blank character
|
|
|
|
map 0 ^
|
|
|
|
map 0 ^
|
|
|
@ -113,6 +123,7 @@ map <leader>ff <Action>(GotoFile)
|
|
|
|
map <leader>fC <Action>(SearchEverywhere)
|
|
|
|
map <leader>fC <Action>(SearchEverywhere)
|
|
|
|
map <leader>fg <Action>(FindInPath)
|
|
|
|
map <leader>fg <Action>(FindInPath)
|
|
|
|
map <leader>fr <Action>(RecentFiles)
|
|
|
|
map <leader>fr <Action>(RecentFiles)
|
|
|
|
|
|
|
|
map <leader>fp <Action>(ManageRecentProjects)
|
|
|
|
|
|
|
|
|
|
|
|
" Tab navigation
|
|
|
|
" Tab navigation
|
|
|
|
map <Tab> <Action>(NextTab)
|
|
|
|
map <Tab> <Action>(NextTab)
|
|
|
@ -129,6 +140,7 @@ map <leader>lr <Action>(RenameElement)
|
|
|
|
map <leader>la <Action>(ShowIntentionActions)
|
|
|
|
map <leader>la <Action>(ShowIntentionActions)
|
|
|
|
map gt <Action>(GotoTest)
|
|
|
|
map gt <Action>(GotoTest)
|
|
|
|
map gs <Action>(GotoSuperMethod)
|
|
|
|
map gs <Action>(GotoSuperMethod)
|
|
|
|
|
|
|
|
map gI <Action>(GotoImplementation)
|
|
|
|
|
|
|
|
|
|
|
|
" Debugging stuffs
|
|
|
|
" Debugging stuffs
|
|
|
|
map <leader>dt <Action>(ToggleLineBreakpoint)
|
|
|
|
map <leader>dt <Action>(ToggleLineBreakpoint)
|
|
|
@ -139,6 +151,9 @@ map <leader>rs <Action>(ContextRun)
|
|
|
|
map <leader>rc <Action>(RunClass)
|
|
|
|
map <leader>rc <Action>(RunClass)
|
|
|
|
map <leader>rf <Action>(ChooseRunConfiguration)
|
|
|
|
map <leader>rf <Action>(ChooseRunConfiguration)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Git stuffs
|
|
|
|
|
|
|
|
map <leader>g <Action>(ActivateCommitToolWindow)
|
|
|
|
|
|
|
|
|
|
|
|
" Hello terminal :D
|
|
|
|
" Hello terminal :D
|
|
|
|
map <leader>t <Action>(ActivateTerminalToolWindow)
|
|
|
|
map <leader>t <Action>(ActivateTerminalToolWindow)
|
|
|
|
|
|
|
|
|
|
|
|