109
GitHub - wvffle/vimterm: Simple :terminal at the bottom of workspace for neovim
source link: https://github.com/wvffle/vimterm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
vimterm
vimterm provides simple window with neovim's :terminal at the bottom of the screen.
But why? That's a good question. vimterm lets you operate with your files and have a single terminal window attached to the bottom of your workspace. For example, you can create a mapping to compile c++ programs with g++ without leaving your best editor.
Example mappings could look like this:
nnoremap <silent> <F4> :call vimterm#run('g++ -o /tmp/out' . expand('%')) <CR>
nnoremap <silent> <F5> :call vimterm#exec('/tmp/out') <CR>
nnoremap <F7> :call vimterm#toggle() <CR>
tnoremap <F7> <C-\><C-n>:call vimterm#toggle() <CR>
installation
Basically it's the same as every other plugin, so you can use dein for that:
call dein#add('wvffle/vimterm')
screenshots
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK