Skip to content

Commit

Permalink
translate to page 216/228
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzhouhui committed Jun 29, 2016
1 parent 382195d commit 3f3c0da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vim_configuration_alternatives.tex
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@ \section{保持 vimrc 整洁的技巧}
有时候, \texttt{vimrc} 可能会变得非常巨大, 无论怎么组织都显得非常混乱. 对
于这种情况, 最好把它切分成多个文件. 为了切分 \texttt{vimrc}, 首先把需要分
出的内容剪切到另一个文件中, 文件名最好能描述出文件的作用, 然后在
\texttt{vimrc} 中原来的位置用 \texttt{source} 命令
\texttt{vimrc} 中原来的位置用 \texttt{source} 命令从新文件读取命令.
比如, 我们把和按键映射相关的设置命令都剪切到 \texttt{mappings.vim},
然后在 \texttt{vimrc} 中添加 \texttt{source \$HOME/.vim/mappings.vim}.
\end{enumerate}
\marginpar{217}

0 comments on commit 3f3c0da

Please sign in to comment.