1 2================= 3LLDB Vim Frontend 4================= 5 6Prerequisites 7------------- 8 9This plugin is known to work with the following flavours of Vim: 10 11 * Linux (tested on Ubuntu 12.04/12.10): 12 * vim/gvim (from vim-gnome package version 7.3) 13 14 * Mac OS X (tested on Mountain Lion) 15 * Vim command-line (7.3 from Xcode) 16 * MacVim 7.3 17 18To install the plugin, ensure you have 19 * a working version of lldb on your path, or the environment variable LLDB 20 pointing to the lldb binary you would like to use. 21 * a python-enabled vim (check with ":python print 2") 22 23 24Installation 25------------ 26 271) Install the Vim pathogen plugin (it keeps installed plugins organized): 28 29 https://github.com/tpope/vim-pathogen 30 31 Or, for the impatient: 32 33mkdir -p ~/.vim/autoload ~/.vim/bundle; \ 34curl -Sso ~/.vim/autoload/pathogen.vim \ 35 https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim 36 372) Symlink (or copy) ~/.vim/bundle/vim-lldb to this directory: 38 39ln -sf <lldb-dir>/utils/vim-lldb ~/.vim/bundle/vim-lldb 40 413) Update your help-tags. Start vim, do: 42 43 :Helptags 44 454) Have fun! 46 47 48Usage/Getting Help 49------------------ 50All LLDB commands (with tab-completion) can be accessed in Vim's 51command mode. Try it out by typing: 52 53:L<tab> 54 55There are several sources of help available: 56 57:help lldb -- Documentation for this plugin 58:Lhelp -- LLDB's built-in help system (i.e lldb 'help' command) 59:Lscript help (lldb) -- Complete LLDB Python API reference 60