Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mug896 committed Nov 18, 2020
1 parent 3d0de7f commit 7f56038
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion command_aliases.html
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,19 @@ <h3 id="alias-&#xD65C;&#xC6A9;">Alias &#xD65C;&#xC6A9;</h3>
<span class="hljs-comment"># ~/.inputrc &#xC5D0;&#xC11C; F2 &#xD0A4; &#xBC14;&#xC778;&#xB529;. </span>
<span class="hljs-comment"># &#xD604;&#xC7AC; &#xBA85;&#xB839;&#xD589; &#xC0C1;&#xC5D0;&#xC11C; &#xC791;&#xC131; &#xC911;&#xC778; &#xB0B4;&#xC6A9;&#xACFC; &#xD568;&#xAED8; vi &#xC5D0;&#xB514;&#xD130;&#xAC00; &#xC5F4;&#xB9BD;&#xB2C8;&#xB2E4;.</span>
<span class="hljs-string">&quot;\eOQ&quot;</span>: edit-and-execute-command
</code></pre>

----------------------------------------------------------------

<span class="hljs-comment"># vi &#xC5D0;&#xB514;&#xD130;&#xC5D0;&#xC11C; &#xC790;&#xB3D9;&#xC73C;&#xB85C; C/C++ highlight &#xD558;&#xB824;&#xBA74; &#xB2E4;&#xC74C; &#xB0B4;&#xC6A9;&#xC744; &#xCD94;&#xAC00;&#xD574; &#xC8FC;&#xBA74; &#xB429;&#xB2C8;&#xB2E4;.</span>
$ sudo vi /usr/share/vim/vim82/scripts.vim

<span class="hljs-string">&quot; C/C++
elseif s:line1 =~# &apos;gcc\|g++\|clang\|clang++&apos;
\ || s:line1 =~# &apos;^\s*#include&apos;
\ || s:line2 =~# &apos;^\s*#include&apos;
\ || s:line3 =~# &apos;^\s*#include&apos;
set ft=cpp
</span></code></pre>
<video width="776" height="428" controls preload="auto">
<source src="images/alias_example2.mp4" type="video/mp4">
Your browser does not support the video tag.
Expand Down
2 changes: 1 addition & 1 deletion search_index.json

Large diffs are not rendered by default.

0 comments on commit 7f56038

Please sign in to comment.