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
|
||||
|
||||
nnoremap <F5> :set list!<cr>
|
||||
nnoremap <F12> :!sample-compile-flags<cr>
|
||||
|
||||
noremap - ddp
|
||||
nnoremap _ ddkP
|
||||
|
3
local/bin/sample-compile-flags
Executable file
3
local/bin/sample-compile-flags
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -e compile_flags.txt ] || printf '%s\n%s\n' '-I' '.' > compile_flags.txt
|
Loading…
x
Reference in New Issue
Block a user