yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00376
Re: lack of documentation
also I have made a shortcut in ~/.vimrc so that gvim compiles
everything when I press F9
:nnoremap <F9> :wa<cr>:make -j20 compile_install CXXFLAGS='-pthread -lpthread -O3 -DDOUBLE_PRECISION' INSTALL_DIR='/YADE' PREFIX_DIR='/home/janek'<CR>
:vnoremap <F9> <esc>:wa<cr>:make -j20 compile_install CXXFLAGS='-pthread -lpthread -O3 -DDOUBLE_PRECISION' INSTALL_DIR='/YADE' PREFIX_DIR='/home/janek'<CR>
:inoremap <F9> <esc>:wa<cr>:make -j20 compile_install CXXFLAGS='-pthread -lpthread -O3 -DDOUBLE_PRECISION' INSTALL_DIR='/YADE' PREFIX_DIR='/home/janek'<CR>
This is useful, because if there are any compiler errors, vim
understands the compilation output, and allows you to jump directly
to the error (just like kdevelop ;) To open a window on the bottom
that contains error messages I use F8 with following written in
~/.vimrc :
:nnoremap <F8> :botright cwindow<CR>
:vnoremap <F8> <esc>:botright cwindow<cr>
:inoremap <F8> <esc>:botright cwindow<cr>
similarly I have mapped commands :cnew and :cold to navigate through
next/previous error
PS: I'm still writing an explanation for tetrahedron. It must take
some time, because you need it to be exchaustive - enough, so that
you can sit down and start the work, right after you read my
explanations.
--
# Janek Kozicki
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
Follow ups
References