Vim [compile and] run shortcut

Something like this would work. Just create filetype autocmd that map <F4> or whatever you want to save and compile and run the program. It uses exec to build the string and uses shellescape to escape the file name. autocmd filetype python nnoremap <F4> :w <bar> exec ‘!python ‘.shellescape(‘%’)<CR> autocmd filetype c nnoremap <F4> :w … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)