本网页所有文字内容由 imapbox邮箱云存储,邮箱网盘, iurlBox网页地址收藏管理器 下载并得到。
ImapBox 邮箱网盘 工具地址: https://www.imapbox.com/download/ImapBox.5.5.1_Build20141205_CHS_Bit32.exe
PC6下载站地址:PC6下载站分流下载
本网页所有视频内容由 imoviebox边看边下-网页视频下载, iurlBox网页地址收藏管理器 下载并得到。
ImovieBox 网页视频 工具地址: https://www.imapbox.com/download/ImovieBox4.7.0_Build20141115_CHS.exe
本文章由: imapbox邮箱云存储,邮箱网盘,ImageBox 图片批量下载器,网页图片批量下载专家,网页图片批量下载器,获取到文章图片,imoviebox网页视频批量下载器,下载视频内容,为您提供.
This is the second article(collection) on how to build a *nix development environment by integrating remote servers and local Linux/Mac clients. For the previous article on this topic, please refer to Building Remote+Local *nix Develop Environment. Add following line into your Or use a more complicated one in the If you have generated ctags file, then you can automatically load it by: export add following lines into your “`Shell “` If you want to access the most recently used files in Vim, you need plugin MRU. The Vim The NERD tree allows you to explore your filesystem and to open files and directories, and NERDTree Tabs can make NERDTree available for all Vim tabs(sometimes it is useful). After installing the these plugins, you can add the following lines to For some Linux distributions, the NERDTree could not show arrows for directories, then you need to uncomment the line Supertab is a vim plugin which allows you to use These two plugins are used for searching/opening files(even not in ctags) in Vim. CtrlP is written in pure Vimscript, so it is very slow. Although Command-T is faster, it relies on Ruby, which makes it difficult to install. Actually, I rarely use them in daily work. My Cscope is a tool for browsing source code. You can either run cscope standalone or use it with Vim. No matter in which way, you need to generate cscope database first. And the cscope DB depends on the source files you specified. General steps of using cscope are: In Vim, you can load cscope DB by command Then the To save the effort of building cscope DB, I wrote a cross-platform(Linux & Mac OS X) wrapper script, which can be found in my GitHub channel. Since
– See more at: https://www.bo-yang.net/2014/12/19/remote-local-linux-develop-env-2/#sthash.7IdS3E6c.dpuf 1. Vim Tips & Plugins
1.1 Highlight All Instances of Word Under Cursor
$HOME/.vimrcautocmd CursorMoved * exe printf('match IncSearch //V/<%s/>/', escape(expand('<cword>'), '//')).vimrc:" Highlight all instances of word under cursor, when idle." Useful when studying strange source code." Type z/ to toggle highlighting on/off.nnoremap z/ :if AutoHighlightToggle()<Bar>set hls<Bar>endif<CR>function! AutoHighlightToggle() let @/ = '' if exists('#auto_highlight') au! auto_highlight augroup! auto_highlight setl updatetime=4000 echo 'Highlight current word: off' return 0 else augroup auto_highlight au! au CursorHold * let @/ = '/V/<'.escape(expand('<cword>'), '/').'/>' augroup end setl updatetime=500 echo 'Highlight current word: ON' return 1 endifendfunction 1.2 Automatically Load Ctags
CTAGS_TAG in $HOME/.bashrc by export CTAGS_TAG=/path/to/your/tags.$HOME/.vimrcif filereadable($CTAGS_TAG) set tags=$CTAGS_TAGendif 1.3 Most Recently Used(MRU) Files
:MRU command will show you all the recently used files, and you can choose a file and press <Enter> to open it in current window. In addition
t key.<Enter> or v or o or t.q key or the <Esc> key or using one of the Vim window commands.:MRU command, such as :MRU <pattern>. 1.4 Pathogen
runtimepath manager, widely used by many plugins. Adding call pathogen#infect() to your .vimrc, then any plugins you wish to install can be extracted to a subdirectory under ~/.vim/bundle. And they will be added to the runtimepath. 1.5 NERDTree & NERDTree Tabs
.vimrc." Nerd Tree" let g:NERDTreeDirArrows=0 " Do not use new arrows for directoriesmap <C-n> :NERDTreeToggle<CR>let g:nerdtree_tabs_open_on_gui_startup=0 " no nerdtree_tabs by defaultlet g:NERDTreeDirArrows=0 in your .vimrc. 1.6 Supertab
<Tab> for all your insert completion needs (:help ins-completion). 1.7 CtrlP & Command-T
vimrc can be found at https://github.com/bo-yang/misc/blob/master/vimrc. 2. Cscope
find /my/project/dir -name '*.c' -o -name '*.h' > /foo/cscope.filescd /foocscope -bCSCOPE_DB=/foo/cscope.out; export CSCOPE_DB:cs add <path_to_cscope_db>. For more cscope operations in Vim, please run command :cs help. To automatically load cscope into Vim, you can export CSCOPE_DB in $HOME/.bashrc, such asexport CSCOPE_DB=/path/to/cscope.outCSCOPE_DB will be automatically loaded every time you run Vim. 3. sshfs Wrapper
sshfs command requires too much parameters, and things will be worse when the network is not stable. Following script will ease your pain.#!/bin/shUSER=<your_name>SERVER=<your_server>remote_dir=/nobackup/$USERlocal_dir=$HOME/Documents/VMsif [ ! -d ${local_dir} -o ! -s ${local_dir} ]then sudo umount -f $local_dirficd ${local_dir}sshfs $USER@${SERVER}:${remote_dir} ${local_dir}
阅读和此文章类似的: 程序员专区
官方软件产品操作指南 (170)