@@ -20,6 +20,8 @@ Bundle 'tpope/vim-endwise'
20
20
Bundle ' tpope/vim-markdown'
21
21
Bundle ' tpope/vim-unimpaired'
22
22
Bundle ' tpope/vim-repeat'
23
+ " this one sets shiftwidth and tabstop automatically
24
+ Bundle ' tpope/vim-sleuth'
23
25
Bundle ' godlygeek/tabular'
24
26
Bundle ' Valloric/YouCompleteMe'
25
27
Bundle ' scrooloose/nerdcommenter'
@@ -33,10 +35,8 @@ Bundle 'mileszs/ack.vim'
33
35
Bundle ' Raimondi/delimitMate'
34
36
Bundle ' croaker/mustang-vim'
35
37
Bundle ' telamon/vim-color-github'
36
- Bundle ' nvie/vim-flake8'
37
38
Bundle ' alfredodeza/pytest.vim'
38
39
Bundle ' mbbill/undotree'
39
- " Bundle 'sjl/Gundo.vim'
40
40
Bundle ' matthias-guenther/hammer.vim'
41
41
Bundle ' Spaceghost/vim-matchit'
42
42
Bundle ' gregsexton/gitv'
@@ -48,7 +48,7 @@ Bundle 'bufexplorer.zip'
48
48
" Check it
49
49
Bundle ' michaeljsmith/vim-indent-object'
50
50
Bundle ' sjl/clam.vim'
51
- Bundle ' suan/vim-instant-markdown'
51
+ " Bundle 'suan/vim-instant-markdown'
52
52
Bundle ' maxbrunsfeld/vim-yankstack'
53
53
Bundle ' scrooloose/nerdtree'
54
54
Bundle ' sgerrand/Conque-Shell'
@@ -57,7 +57,7 @@ Bundle 'spiiph/vim-space'
57
57
Bundle ' airblade/vim-gitgutter'
58
58
Bundle ' terryma/vim-multiple-cursors'
59
59
Bundle ' xolox/vim-shell'
60
- Bundle ' Yggdroot/indentLine'
60
+ " Bundle 'Yggdroot/indentLine'
61
61
" Bundle 'kien/rainbow_parentheses'
62
62
Bundle ' pydave/AsyncCommand'
63
63
@@ -84,7 +84,6 @@ if !isdirectory(expand(&undodir))
84
84
call mkdir (expand (&undodir ), " p" )
85
85
endif
86
86
if ! isdirectory (expand (&backupdir ))
87
- ;echo a
88
87
call mkdir (expand (&backupdir ), " p" )
89
88
endif
90
89
if ! isdirectory (expand (&directory ))
@@ -164,6 +163,8 @@ set tm=500
164
163
165
164
set splitright
166
165
166
+ set nrformats -= octal
167
+
167
168
" highlight word under cursor
168
169
" autocmd CursorMoved * silent! exe printf("match Search /\\<%s\\>/", expand('<cword>'))
169
170
@@ -241,7 +242,7 @@ inoremap <F1> <ESC>
241
242
vnoremap <F1> <ESC>
242
243
243
244
" easily insert an escaped / on the search prompt
244
- cnoremap <expr> / getcmdtype() == '/' ? '\/' : '/'
245
+ " cnoremap <expr> / getcmdtype() == '/' ? '\/' : '/'
245
246
246
247
" map control-backspace to delete the previous word in insert mode
247
248
" imap <C-BS> <C-W>
@@ -250,6 +251,12 @@ inoremap <C-BS> <C-W>
250
251
" and map control-delete to delete the next word in insert mode
251
252
inoremap <C-Del> <C-O> dw
252
253
254
+ nnoremap & :&&<CR>
255
+ xnoremap & :&&<CR>
256
+ " Make Y consistent with C and D. See :help Y.
257
+ nnoremap Y y$
258
+
259
+
253
260
" ==================== CtrlP ====================
254
261
" funty adds functions definitions mode to CtrlP
255
262
let g: ctrlp_extensions = [' tag' , ' funky' ]
0 commit comments