vimshell made other shells legacy

2,827 views

Published on

vimshell

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,827
On SlideShare
0
From Embeds
0
Number of Embeds
107
Actions
Shares
0
Downloads
7
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

vimshell made other shells legacy

  1. 1. vimshell made other shells legacy 10th Vim Workshop Nov 13, 2011 Tatsuhiro UjihisaMonday, November 14, 2011
  2. 2. Vim plugins • unite.vim (for everything) • neocomplcache (for writings) • quickrun (for software devs) • vimshell (shell) • neobundle, smartchr, and etc • specific purpose pluginsMonday, November 14, 2011
  3. 3. shellMonday, November 14, 2011
  4. 4. vimshell • Written in Vim script • dependency: vimproc • Written in Vim script and C • Runs on Vim (of course!) • No (bash-compatible) shell script • The script language = Vim scriptMonday, November 14, 2011
  5. 5. 1 ~/ 2 $ cd / 3 / 4 $ ls 5 Applications/ Users/ etc@ private/ 6 Developer/ Volumes/ home/ sbin/ 7 Library/ bin/ mach_kernel tmp@ 8 Network/ cores/ net/ usr/ 9 System/ dev/ opt/ var@ 10 11 12 / 13 $ ls | grep velo 14 Developer 15 16 / 17 $ vim ~/.vimrc 18 / 19 $Monday, November 14, 2011
  6. 6. pros/cons • Integration with Vim • Integration with Vim plugins • neocomplcache • Special built-in commands • Multiplatform • Incompatibilities • Response timeMonday, November 14, 2011
  7. 7. Evolutions • Asynchronous execution • Escape sequence • Interactive commandsMonday, November 14, 2011
  8. 8. vimshell plugins • built-in • cd • vim • less • vimshell-sshMonday, November 14, 2011
  9. 9. Commands for control • :VimShellInteractive • :VimShellSendBuffer • :VimShellSendStringMonday, November 14, 2011
  10. 10. TIPS • Start vimshell automatically • just write VimShell in your vimrc • Open/create a vimshell buffer • nmap <Space>v <Plug>(vimshell_split_switch) • cd in tab context • let g:vimshell_cd_command = TabpageCDMonday, November 14, 2011
  11. 11. FAQ • top? • No.Monday, November 14, 2011
  12. 12. FAQ • tail -f? • tail -f • $ iexe tail -fMonday, November 14, 2011
  13. 13. FAQ • Vim? • $ vim • Opens in another window • $ texe vim • Runs actual vim!Monday, November 14, 2011
  14. 14. FAQ • emacs? • $ texe emacsMonday, November 14, 2011
  15. 15. FAQ • Filename completion doesnt work • use ./ explicitlyMonday, November 14, 2011

×