Home | History | Annotate | only in /external/lldb/utils/vim-lldb
Up to higher level directory
NameDateSize
doc/16-Dec-2014
plugin/16-Dec-2014
python-vim-lldb/16-Dec-2014
README16-Dec-20141.5K

README

      1 
      2 =================
      3 LLDB Vim Frontend
      4 =================
      5 
      6 Prerequisites
      7 -------------
      8 
      9 This 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 
     18 To 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 
     24 Installation
     25 ------------
     26 
     27 1) 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 
     33 mkdir -p ~/.vim/autoload ~/.vim/bundle; \
     34 curl -Sso ~/.vim/autoload/pathogen.vim \
     35     https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
     36 
     37 2) Symlink (or copy) ~/.vim/bundle/vim-lldb to this directory:
     38 
     39 ln -sf <lldb-dir>/utils/vim-lldb ~/.vim/bundle/vim-lldb
     40 
     41 3) Update your help-tags. Start vim, do:
     42 
     43     :Helptags
     44 
     45 4) Have fun!
     46 
     47 
     48 Usage/Getting Help
     49 ------------------
     50 All LLDB commands (with tab-completion) can be accessed in Vim's
     51 command mode. Try it out by typing:
     52 
     53 :L<tab>
     54 
     55 There 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