mirror of
https://github.com/amix/vimrc
synced 2025-07-10 03:25:00 +08:00
Run code directly from vim (#594)
This commit is contained in:
@ -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!
|
||||
|
Reference in New Issue
Block a user