User Tools

Site Tools


linux:vim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:vim [2013/10/18 10:35] – [ctags] percylinux:vim [2016/08/15 16:24] percy
Line 72: Line 72:
   git clone https://github.com/square/maximum-awesome.git && cd maximum-awesome && rake   git clone https://github.com/square/maximum-awesome.git && cd maximum-awesome && rake
      
-  +  
 +==== Maximum Awesome Linux ==== 
 +  https://github.com/pjq/maximum-awesome-linux
  ==== paste ====  ==== paste ====
   :set paste   :set paste
Line 90: Line 92:
 Download the latest taglist from here: Download the latest taglist from here:
 http://www.vim.org/scripts/script.php?script_id=273 http://www.vim.org/scripts/script.php?script_id=273
 +<code>
 +"taglist
 +map <silent> <F8> :TlistToggle<cr>  
 +""""""""""""""""""""""""""""""
 +" Tag list (ctags)
 +""""""""""""""""""""""""""""""
 +let Tlist_Ctags_Cmd = 'ctags'
 +let Tlist_Show_One_File = 1            "不同时显示多个文件的tag,只显示当前文件的
 +let Tlist_Exit_OnlyWindow = 1          "如果taglist窗口是最后一个窗口,则退出vim
 +let Tlist_Use_Right_Window = 1         "在右侧窗口中显示taglist窗口    
 +</code>
 +
 +
 +==== run command ====
 +  !ls
 +  r !ls
 +  
 +  
 +==== Vim tips ====
 +^M is retrieve by cmd+v, M
 +  1,%s/^M//g
 +
 +
 + 
 +  
 +
/var/www/dokuwiki/wiki/data/pages/linux/vim.txt · Last modified: 2016/08/15 16:25 by percy