Add sample compile_flags.txt generator
This commit is contained in:
parent
d66dafdeeb
commit
40ae4c3b3f
|
@ -15,6 +15,7 @@ hi Whitespace ctermfg=233
|
||||||
hi SignColumn ctermbg=233
|
hi SignColumn ctermbg=233
|
||||||
|
|
||||||
nnoremap <F5> :set list!<cr>
|
nnoremap <F5> :set list!<cr>
|
||||||
|
nnoremap <F12> :!sample-compile-flags<cr>
|
||||||
|
|
||||||
noremap - ddp
|
noremap - ddp
|
||||||
nnoremap _ ddkP
|
nnoremap _ ddkP
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -e compile_flags.txt ] || printf '%s\n%s\n' '-I' '.' > compile_flags.txt
|
Loading…
Reference in New Issue