README: suggest a safer cabbrev in FAQ.
This commit is contained in:
parent
a7fde99ea9
commit
5c6e78a271
@ -410,7 +410,7 @@ work around it:
|
|||||||
|
|
||||||
```vim
|
```vim
|
||||||
nnoremap <silent> <C-d> :lclose<CR>:bdelete<CR>
|
nnoremap <silent> <C-d> :lclose<CR>:bdelete<CR>
|
||||||
cabbrev <silent> bd lclose\|bdelete
|
cabbrev <silent> bd <C-r>=(getcmdtype()==#':' && getcmdpos()==1 ? 'lclose\|bdelete' : 'bd')<CR>
|
||||||
```
|
```
|
||||||
|
|
||||||
<a name="otherresources"></a>
|
<a name="otherresources"></a>
|
||||||
|
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.6.0-86'
|
let g:_SYNTASTIC_VERSION = '3.6.0-88'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user