diff --git a/README.md b/README.md index 54d31e5..eb19cf1 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,12 @@ nmap :cn nmap :TagbarToggle nmap :call AutoloadcsQuickfixToggle() nmap :NERDTreeToggle -nmap :call LeeCtagsCscope() +nmap :call LeeCtagsCscope() :Create ctags and cscope.out files - : List files - : Go to function define, for c, c++ or golang - : Go back position of stack, for c, c++ or golang - : Code completion only for golang + :List files + :Go to function define, for c, c++ or golang + :Go back position of stack, for c, c++ or golang + :Code completion only for golang ``` ### Leaders @@ -40,14 +40,25 @@ nmap cu :NERDComUncommentLine nmap m :MarkSet nmap M :MarkClear +``` -nmap n :Go to function define, only for python +## Jedi-vim +```shell +g :Goto assignments (typical goto function) +d :Goto definitions (follow identifier as far as possible, includes imports and statements) +K :Show Documentation/Pydoc (shows a popup with assignments) +r :Renaming +n :Usages (shows all the usages of a name) +Open module, e.g. :Pyimport os (opens the os module) ``` ### Cscope ```shell -t : Match string -s : Match symbol exclude comment +s : Find this C symbol +g : Find this global definition +d : Find functions called by this function +c : Find functions calling this function +t : Find this text string ``` ### Command