Guest User

Untitled

a guest
Apr 24th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. let mapleader='\'
  2.  
  3. set hlsearch
  4. set incsearch
  5. set ignorecase
  6. set smartcase
  7. set showmode
  8. set number
  9. set relativenumber
  10. set scrolloff=3
  11. set history=100000
  12. " set clipboard=unnamed
  13.  
  14. " inoremap <C-b> <C-h>
  15.  
  16. inoremap <C-h> <Left>
  17. inoremap <C-j> <Down>
  18. inoremap <C-k> <Up>
  19. inoremap <C-l> <Right>
  20.  
  21. vnoremap <Leader>y "+y
  22. vnoremap <Leader>d "+d
  23. nnoremap <Leader>p "+p
  24. nnoremap <Leader>P "+P
  25. vnoremap <Leader>p "+p
  26. vnoremap <Leader>P "+P
  27.  
  28. nnoremap <leader>l :nohlsearch<cr>
  29.  
  30. " inoremap <C-a> <Home>
  31. " inoremap <C-e> <End>
  32. " inoremap <C-d> <Delete>
  33.  
  34. nnoremap <Leader>/ :action Find<CR>
  35. nnoremap <Leader>;; :action CommentByLineComment<CR>
  36.  
  37. nnoremap <Leader>bb :action ToggleLineBreakpoint<CR>
  38. nnoremap <Leader>bl :action ViewBreakpoints<CR>
  39.  
  40. nnoremap <Leader>cv :action ChangeView<CR>
  41.  
  42. nnoremap <Leader>cd :action ChooseDebugConfiguration<CR>
  43.  
  44. nnoremap <Leader>ga :action GotoAction<CR>
  45. nnoremap <Leader>gc :action GotoClass<CR>
  46. nnoremap <Leader>gd :action GotoDeclaration<CR>
  47. nnoremap <Leader>gi :action GotoImplementation<CR>
  48. nnoremap <Leader>gs :action GotoSuperMethod<CR>
  49. nnoremap <Leader>gt :action GotoTest<CR>
  50.  
  51. nnoremap <Leader>fp :action ShowFilePath<CR>
  52. nnoremap <Leader>fu :action FindUsages<CR>
  53. nnoremap <Leader>fs :action FileStructurePopup<CR>
  54. nnoremap <Leader>fc :action ReformatCode<CR>
  55.  
  56. nnoremap <Leader>ic :action InspectCode<CR>
  57.  
  58. nnoremap <Leader>mv :action ActivateMavenProjectsToolWindow<CR>
  59.  
  60. nnoremap <Leader>oi :action OptimizeImports<CR>
  61.  
  62. nnoremap <Leader>pm :action ShowPopupMenu<CR>
  63.  
  64. nnoremap <Leader>rc :action ChooseRunConfiguration<CR>
  65. nnoremap <Leader>re :action RenameElement<CR>
  66. nnoremap <Leader>rf :action RenameFile<CR>:
  67.  
  68. nnoremap <Leader>se :action SearchEverywhere<CR>
  69. nnoremap <Leader>su :action ShowUsages<CR>
  70.  
  71. nnoremap <Leader>tc :action CloseActiveTab<CR>
  72. nnoremap <Leader>tl Vy<CR>:action ActivateTerminalToolWindow<CR>
  73.  
  74. vnoremap <Leader>tl y<CR>:action ActivateTerminalToolWindow<CR>
  75.  
  76.  
  77.  
  78. " set surround
  79. " map ,y "+y
  80. " map ,p "+p
  81. " inoremap <C-n> <C-o>:action CodeCompletion<CR>
  82. " inoremap <C-p> <C-o>:action CodeCompletion<CR>
  83. nnoremap <C-p> :action SearchEverywhere<CR>
  84. vnoremap <C-p> :action SearchEverywhere<CR>
  85. inoremap <C-p> :action SearchEverywhere<CR>
Add Comment
Please, Sign In to add comment