1
0
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:
plrectco 2019-10-22 09:33:42 -07:00
parent 43044da05f
commit 6b01a301dd
2 changed files with 13 additions and 2 deletions

View File

@ -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")

View File

@ -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"