I\'ve been trying to find something that will let me run multiple commands on the same line in Vim, akin to using semicolons to separate commands in *nix systems or &a
&a
Put <CR> (Carriage Return/Enter) between and after commands. For example:
<CR>
map <F5> :w<CR>:!make && ./run<CR>
Don't use | because:
|
Some commands have problems if you use | after them
| does not work consistently in configuration files, see :help map_bar
:help map_bar