F5 to build on both platforms
This commit is contained in:
parent
b924ee2e73
commit
4cccb9907d
@ -228,17 +228,15 @@ set errorformat+=%\\%%(CTIME%\\)%\\@=%m " ctime.exe -stat
|
|||||||
if s:running_windows
|
if s:running_windows
|
||||||
set makeprg=build
|
set makeprg=build
|
||||||
nnoremap <A-r> :!start cmd /c run<CR>
|
nnoremap <A-r> :!start cmd /c run<CR>
|
||||||
nnoremap <A-b> :Make<CR>
|
|
||||||
else
|
else
|
||||||
" Set vim terminal to enter normal mode using escape like normal vim behaviour
|
" Set vim terminal to enter normal mode using escape like normal vim behaviour
|
||||||
tnoremap <Esc> <C-\><C-n>
|
tnoremap <Esc> <C-\><C-n>
|
||||||
|
|
||||||
set makeprg=./build.sh
|
set makeprg=./build.sh
|
||||||
nnoremap <f5> :Make<cr>
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"Go to next error
|
"Go to next error
|
||||||
"Go to previous error
|
"Go to previous error
|
||||||
|
nnoremap <f5> :Make<cr>
|
||||||
nnoremap <A-n> :cn<CR>
|
nnoremap <A-n> :cn<CR>
|
||||||
nnoremap <A-p> :cp<CR>
|
nnoremap <A-p> :cp<CR>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user