Update 2024-10-08 17:27 Linux/x86_64-ld5587
This commit is contained in:
parent
170c0daea2
commit
d59e08fbeb
12
.vim/vimrc
12
.vim/vimrc
@ -250,6 +250,18 @@ nmap em :!vim Makefile<CR><CR>
|
|||||||
nmap st :!smake . test<CR>
|
nmap st :!smake . test<CR>
|
||||||
nmap sm :!smake . <CR>
|
nmap sm :!smake . <CR>
|
||||||
|
|
||||||
|
|
||||||
|
let s:enablepaste = 0
|
||||||
|
function! TogglePasteMode()
|
||||||
|
if s:enablepaste
|
||||||
|
set nopaste list number
|
||||||
|
else
|
||||||
|
set paste nolist nonumber
|
||||||
|
endif
|
||||||
|
let s:enablepaste = s:enablepaste ? 0 : 1
|
||||||
|
endfunction
|
||||||
|
nmap <tab> :call TogglePasteMode()<CR>
|
||||||
|
|
||||||
if executable('ugrep')
|
if executable('ugrep')
|
||||||
set grepprg=ugrep\ -RInk\ -j\ -u\ --tabs=1\ --ignore-files
|
set grepprg=ugrep\ -RInk\ -j\ -u\ --tabs=1\ --ignore-files
|
||||||
set grepformat=%f:%l:%c:%m,%f+%l+%c+%m,%-G%f\\\|%l\\\|%c\\\|%m
|
set grepformat=%f:%l:%c:%m,%f+%l+%c+%m,%-G%f\\\|%l\\\|%c\\\|%m
|
||||||
|
Loading…
Reference in New Issue
Block a user