You can remember the meaning of 一直 with this easy mnemonic:
The key to good health is to always follow an exercise routine. Furthermore, one (一) should never head straight (直) to bed after eating.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.