fix nvim mappings
This commit is contained in:
parent
a63f591c59
commit
fa7aa567a6
@ -28,9 +28,9 @@ map_filetype('go', '<Leader>rr', 'go run %')
|
||||
|
||||
map_filetype('rust', '<Leader>rr', 'cargo run')
|
||||
|
||||
map_filetype('c', '<Leader>rr', 'gcc -o /tmp/a.out % && /tmp/a.out')
|
||||
map_filetype('cpp', '<Leader>rr', 'g++ -o /tmp/a.out % && /tmp/a.out')
|
||||
map_filetype('c', '<Leader>rr', 'gcc -o "${TMPDIR}/a.out" % && "${TMPDIR}/a.out"')
|
||||
map_filetype('cpp', '<Leader>rr', 'g++ -o "${TMPDIR}/a.out" % && "${TMPDIR}/a.out"')
|
||||
|
||||
map_filetype('asm', '<Leader>rr', 'as -o /tmp/out.o % && ld -o /tmp/a.out /tmp/out.o && /tmp/a.out')
|
||||
map_filetype('asm', '<Leader>rr', 'as -o "${TMPDIR}/out.o" % && ld -o "${TMPDIR}/a.out" "${TMPDIR}/out.o" && "${TMPDIR}/a.out"')
|
||||
|
||||
map_filetype('make', '<Leader>rr', 'make -C "$(dirname "%")"')
|
||||
map_filetype('make', '<Leader>rr', 'make -C "$(dirname "%")"')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user