Home

Awesome

terminal inside vim, inspired from mattn/vim-terminal

if you like my work, check here for a list of my vim plugins, or buy me a coffee

Difference

Requirement

How to use

  1. use Vundle or any other plugin manager you like to install

    Plugin 'ZSaberLv0/ZFVimJob' " required for job impl
    Plugin 'ZSaberLv0/ZFVimTerminal'
    " recommended key map
    nnoremap <leader>zs :ZFTerminal<space>
    
  2. use :ZFTerminal [your_cmd] to run terminal, use <tab> to complete command or file names

    • take care of special chars of vim cmdline, :h cmdline-special
  3. <esc> to quit input, you may visual select and copy the text inside the terminal window

  4. use i/I/a/A/o/O to start input again

  5. use q to kill and close terminal, we would create new terminal session for next :ZFTerminal call

  6. use x to hide terminal, we would use existing terminal session for next :ZFTerminal call

  7. during editing the shell command, you may also use this keymap cnoremap :: <c-c>q:k$ to edit the command itself quickly

Configs