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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
|
set so=5
set belloff=all set noerrorbells set t_vb= set backspace=indent,eol,start whichwrap+=<,>,[,]
set clipboard+=unnamedplus set keep-english-in-normal
set relativenumber set nu set ignorecase set smartcase
Plug 'machakann/vim-highlightedyank' Plug 'vim-scripts/argtextobj.vim' Plug 'justinmk/vim-sneak' Plug 'easymotion/vim-easymotion' Plug 'unblevable/quick-scope' Plug 'preservim/nerdtree' Plug 'tpope/vim-commentary'
Plug "tpope/vim-surround"
" [count]["x]gr{motion} Replace {motion} text with the contents of register x.
" quicker than "_d{motion}P or "_c{motion}<C-R>" " [count]["x]grr Replace [count] lines with the contents of register x.
" line use ["x]gr$ " {Visual}["x]gr Replace the selection with the contents of register x.
Plug 'vim-scripts/ReplaceWithRegister'
Plug 'tommcdo/vim-exchange' Plug 'terryma/vim-multiple-cursors'
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T'] 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']
set ideajoin set sneak
inoremap <C-e> <END> inoremap <C-a> <HOME> inoremap <C-f> <Right> inoremap <C-b> <Left> inoremap <C-n> <Down> inoremap <C-p> <Up> inoremap <M-f> <S-Right> inoremap <M-b> <S-Left> inoremap <C-k> <ESC>d$i inoremap <C-d> <Del>
let mapleader=" "
nnoremap gd <Action>(GotoDeclaration) nnoremap gi <Action>(GotoImplementation) nnoremap gs <Action>(GotoSuperMethod) nnoremap gt <Action>(GotoTypeDeclaration)
map <leader>re <Action>(RenameElement)
map <leader>gf <Action>(GotoFile) map <leader>gt <Action>(GotoSymbol)
map <leader>f: <Action>(GotoAction) map <leader>f. <Action>(FindInPath) map <leader>fl <Action>(RecentLocations) map <leader>ff <Action>(RecentFiles)
map <leader>et :NERDTreeToggle<CR> map <leader>ef :NERDTreeFocus<CR> map <leader>es <Action>(FileStructurePopup)
nmap <C-W>q <Action>(CloseAllEditors)
let g:multi_cursor_use_default_mapping=0
let g:multi_cursor_start_word_key = '<C-n>' let g:multi_cursor_select_all_word_key = '<A-n>' let g:multi_cursor_start_key = 'g<C-n>' let g:multi_cursor_select_all_key = 'g<A-n>' let g:multi_cursor_next_key = '<C-n>' let g:multi_cursor_prev_key = '<C-p>' let g:multi_cursor_skip_key = '<C-x>' let g:multi_cursor_quit_key = '<Esc>'
|