vim mappings run scripts

This commit is contained in:
thek4n 2024-03-20 15:15:45 +03:00
parent 072766cee8
commit fcc979574c

View File

@ -27,5 +27,5 @@ map_filetype('go', '<Leader>rr', 'go run')
map_filetype('rust', '<Leader>rr', 'cargo run') map_filetype('rust', '<Leader>rr', 'cargo run')
map_filetype('c', '<Leader>rr', 'gcc % && ./a.out') map_filetype('c', '<Leader>rr', 'gcc -o /tmp/a.out % && /tmp/a.out')
map_filetype('cpp', '<Leader>rr', 'g++ % && ./a.out') map_filetype('cpp', '<Leader>rr', 'g++ -o /tmp/a.out % && /tmp/a.out')