changes at work
This commit is contained in:
parent
0a57532a16
commit
b2896325bd
3 changed files with 10 additions and 3 deletions
9
.vimrc
9
.vimrc
|
|
@ -73,6 +73,7 @@ let g:NERDChristmasTree = 1
|
|||
let g:NERDChristmasTree = 1
|
||||
let g:NERDTreeQuitOnOpen = 1
|
||||
let g:NERDTreeWinPos = "right"
|
||||
let g:NERDTreeWinSize = 40
|
||||
|
||||
" Tagbar plugin settings
|
||||
let g:tagbar_width = 40
|
||||
|
|
@ -235,9 +236,10 @@ augroup END
|
|||
nnoremap <Leader>ff :QFix<CR>
|
||||
nnoremap <Leader>fn :cnext<CR>
|
||||
nnoremap <Leader>fp :cprev<CR>
|
||||
nnoremap <Leader>aw :AckWord<CR>
|
||||
nnoremap <Leader>aw :exe 'Ack ' . expand('<cword>')<CR>
|
||||
nnoremap <Leader>ac :Ack
|
||||
nnoremap <Leader>hh :A<CR>
|
||||
nnoremap <silent> <Leader>o :CommandTBuffer<CR>
|
||||
nnoremap <Leader>j <C-^>
|
||||
nnoremap <Leader>p :PTW
|
||||
|
||||
|
|
@ -274,16 +276,17 @@ if g:google != 0
|
|||
if filereadable("/home/williasr/.vim.d/blaze.vim")
|
||||
source /home/williasr/.vim.d/blaze.vim
|
||||
" Load Blaze errors into quickfix mode
|
||||
nmap <Leader>bl :call LoadBlazeErrors():cc
|
||||
nmap <Leader>bl :call LoadBlazeErrors():cc<CR>
|
||||
" Run the most appropriate blaze command on the target for the current file.
|
||||
nmap <Leader>bb :call BlazeDwim()
|
||||
" Run update_deps on the target for the current file.
|
||||
nmap <Leader>bu :call UpdateDepsDwim()
|
||||
nmap <Leader>bu :call UpdateDepsDwim()<CR>
|
||||
endif
|
||||
" Configure a 'Comments' command to import CL code review comments into the
|
||||
" quickfix buffer.
|
||||
command! Comments cexpr system('git5 comments -q -u')
|
||||
command! Lint cexpr system('git5 lint -q')
|
||||
nmap <leader>bs :!google-chrome https://cs.corp.google.com/'<cword>'<CR><CR>
|
||||
endif
|
||||
|
||||
if filereadable("/home/build/nonconf/google3/tools/tags/gtags.vim")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue