Keyloggers are unlikely to be particularly useful in this case, but if you imagine you are being keylogged, then you can take appropriate steps to mask your behaviour.
Other than that, I would advise sshing somewhere remote and keeping all of your private project stuff there (i.e. work on it remote - don't keep local copies).