修訂. | b585d60da16675df86f4aad6d9b40dcfb8ba9f3d |
---|---|
大小 | 719 bytes |
時間 | 2023-05-09 14:55:18 |
作者 | Markus Prepens |
Log Message | minor changes
|
" Options for the Ctags executable
let g:ctags_options = [ "-R", "src", "inc" ]
" for plugin/rg.vim
let g:rg_paths = [ "src", "inc" ]
let g:rg_excludes = [ "Build" ]
" Set Ripgrep as grep with project-specific Ripgrep options
"set grepprg=rg\ --vimgrep\ -g\ *.[ch]\ $*\ Software
"set grepformat=%f:%l:%c:%m
" Look-up path for :find, 'gf' and friends
set path=src,inc/**,inc,,
" case-sensitive tag search
set tagcase=match
" Set compiler (sets 'errorformat') and 'makeprg'
compiler gcc
set makeprg=make
augroup GroupLocal
au!
" Markdown, please
au BufRead *.txt setfiletype markdown
" Remember last state of work
autocmd VimLeave * mksession! .session
augroup END