Skip to content

add support for vim Terminal #775

Description

@OnStarPrograms

the below commands would add support for people who have vim terminal enabled, allowing for faster editing, and enjoy their terminal in their installed theme, speeding up development in machines that take longer to boot vim such as in a virtual machine.

if has('terminal') == 1                                                                                     
 map <Leader>t :term ++close<cr>                                                                             
 tmap <Leader>t <c-w>:term ++close<cr>                                                                       
                                                                                                             
 map <Leader>T :tab term ++close<cr>                                                                         
 tmap <Leader>T <c-w>:tab term ++close<cr>                                                                   
endif

If you would want, I can create a pull request

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions