https://github.com/agateau/mymake
Make wrapper which makes it possible to go through errors with vim
https://github.com/agateau/mymake
Last synced: 9 months ago
JSON representation
Make wrapper which makes it possible to go through errors with vim
- Host: GitHub
- URL: https://github.com/agateau/mymake
- Owner: agateau
- License: other
- Created: 2012-07-06T09:31:24.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T09:08:41.000Z (about 6 years ago)
- Last Synced: 2025-02-13T19:49:50.858Z (11 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is it
A wrapper for make which logs to /tmp/mymake.err and a Vim macro to load the
log output as if compilation was started from Vim, making it possible to use
Vim functions to jump through errors.
It can also make use of `notify-send` if it is installed to notify you at the
end of the build.
# Installation
Run `make install`
This will install the `mymake` command to ~/.local/bin and the Vim plugin to
~/.vim/after/plugin.
mymake uses make by default but you can overload it with the MAKEPRG
environment variable.
# Usage
Build with mymake instead of make. If an error occurs, start Vim and use
:MymakeErr to load the errors. You can then navigate with the standard Vim
commands :cprev and :cnext.
## Tip
If you are not familiar with Vim, you may want to add this to your .vimrc:
map :cprev
imap :cprevi
map :cnext
imap :cnexti
With those you can use F4 to go to the next error and Shift+F4 to go to the
previous error.
# Author
Aurélien Gâteau