I am new to NASM especially in ubuntu64 using vim.
Currently, when I write assembly code with vim, it does not recognize the labels and does not auto-tab, maybe it's because it's not supposed to do that (it's not conventional) although I would be pretty happy if it could do that here too.. (like auto tab with python on vim)
When I press enter it goes back to the beginning of the line, where the red arrow points.
Secondly, when I need to "compile" (I don't know if it's the right term here, maybe "assemble") the code, I need to write both:
nasm -f elf64 hello.asm
and
ld -s -o hello hello.o
Is there a shorter way of doing so? maybe both at the same time, an easy 2-in-1 command?