diff options
| author | _Tradam <[email protected]> | 2021-09-18 01:56:20 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-18 01:56:20 -0400 |
| commit | 6c8bdbe2c39f16ea0f00956637e66788206f6cda (patch) | |
| tree | 376d39d44a9eb7db15a1e7fd612e08a032c851b0 /Ruby | |
| parent | 17fbcf0df402e44799967e86de394f690a09dd6b (diff) | |
| download | Vim-Configs-6c8bdbe2c39f16ea0f00956637e66788206f6cda.tar.gz Vim-Configs-6c8bdbe2c39f16ea0f00956637e66788206f6cda.zip | |
Create .vimrc
Diffstat (limited to 'Ruby')
| -rw-r--r-- | Ruby/.vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Ruby/.vimrc b/Ruby/.vimrc new file mode 100644 index 0000000..b3ab659 --- /dev/null +++ b/Ruby/.vimrc @@ -0,0 +1,8 @@ +" press F5 to execute the project code +map <f5> :AsyncRun -cwd=<root> ruby run.rb<CR> + +" Identify .mab files as Ruby +augroup syntax_mab_files + autocmd! + autocmd VimEnter,BufNewFile,BufRead *.mab set syntax=ruby +augroup end |
