Guest User

Untitled

a guest
Feb 18th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. If [command] is not given the 'shell' option is used.
  2.  
  3. let l:terms = term_list()
  4. let l:bufname = empty(l:terms) ? '' : bufname(l:terms[-1])
  5. let l:shell = substitute(l:bufname, '^!', '', 'g')
Add Comment
Please, Sign In to add comment