mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
No wait for ESC key; remove some unused configs
This commit is contained in:
parent
43044da05f
commit
6b01a301dd
@ -119,7 +119,9 @@ set mat=2
|
||||
set noerrorbells
|
||||
set novisualbell
|
||||
set t_vb=
|
||||
set tm=500
|
||||
" Unset this timeout
|
||||
set tm=200
|
||||
set ttimeoutlen=0
|
||||
|
||||
" Properly disable sound on errors on MacVim
|
||||
if has("gui_macvim")
|
||||
|
@ -19,7 +19,7 @@ Glug blazedeps
|
||||
|
||||
" code format for build file
|
||||
Glug codefmt
|
||||
Glug codefmt-google
|
||||
Glug codefmt-google auto_filetypes+=python,cc,proto,
|
||||
autocmd FileType bzl AutoFormatBuffer buildifier
|
||||
|
||||
Glug relatedfiles plugin[mappings]=',2'
|
||||
@ -135,3 +135,12 @@ command! -nargs=+ CommandCabbr call CommandCabbr(<f-args>)
|
||||
execute 'CommandCabbr ccab CommandCabbr'
|
||||
execute 'CommandCabbr e GoogleE'
|
||||
|
||||
" Play the macro in register q.
|
||||
nnoremap <Leader>. @q
|
||||
|
||||
" FromProto
|
||||
let @f = "ywidata.\<Esc>wwi = proto.\<Esc>pa()\<Esc>jb"
|
||||
" ToProto
|
||||
let @t = "ywiif (proto->\<Esc>wwi() != data.\<Esc>pa) {\<Enter>\<Enter>}\<Esc>kAproto->\<Esc>pbdwaset_\<Esc>pa(data.\<Esc>pa);\<Esc>jxj"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user