ok ok i done this first problem with mapping
for javascript
nnoremap <F5> :FloatermNew node %<CR>
for c
nnoremap <F5> :FloatermNew gcc % && ./a.out<CR>
for c++
nnoremap <F5> :FloatermNew g++ % && ./a.out<CR>
for python
nnoremap <F5> :Floaterm python3 %<CR>
Now i want that these all working with one shortcut F5
.
i done like this but that not work
if &filetype ==# 'c'
nnoremap <F5> :FloatermNew gcc % ./a.out <CR>
endif
Now can anybody do further ?