Run code directly from vim (#594)

This commit is contained in:
Pratyay Pande authored and GitHub committed 2021-07-04 23:07:53 +02:00
1 parent e1f237cb6c
commit a8f0b6f678
3 files changed
+63 -1

No files matched your search

+7
View File
@@ -364,6 +364,13 @@ Shortcuts using `<leader>` instead of special characters:
map <leader>sa zg
map <leader>s? z=
### Running Code
To run code directly from vim, press `F5`. The currently open code will execute without you having to type anything.
Can be used to execute code written in C, C++, Java, Python, Go, Octave, Bash scripts and HTML. To edit how you want your code to be executed, make changes in the file
```
~/vim_runtime/vimrcs/extended.vim
```
### Cope
Query `:help cope` if you are unsure what cope is. It's super useful!