Add sample compile_flags.txt generator
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user