編輯 .vimrc
set tabstop=4
set shiftwidth=4
set expandtab
設定縮排(tab)寬度為4個空白
搜尋此網誌
2012年5月20日 星期日
tree -a
好用的tree -a 指令
list contents of directories in a tree-like format.
-a All files are printed. By default tree does not print hidden files
(those beginning with a dot `.'). In no event does tree print the
file system constructs `.' (current directory) and `..' (previous
directory).
list contents of directories in a tree-like format.
-a All files are printed. By default tree does not print hidden files
(those beginning with a dot `.'). In no event does tree print the
file system constructs `.' (current directory) and `..' (previous
directory).
2012年5月16日 星期三
用cat指令新建檔案
用 cat 建立文件並且輸入內容,
使用指令:
cat > userdoc
就會建立建立文件userdoc
就會建立建立文件userdoc
然後輸入你的文件內容,
結束按ctrl + d 終止輸入,
2012年4月5日 星期四
2012年3月25日 星期日
Libreoffice 自動校正選項
使用LibreOffice時有些自動完成選項很惱人,
像是自動把開頭字母換成大寫, 還有雙引號,單引號等等,
處理方法,就是到 工具 --> 自動校正選項 裏面把不要的自動完成或取代功能關掉。
像是自動把開頭字母換成大寫, 還有雙引號,單引號等等,
處理方法,就是到 工具 --> 自動校正選項 裏面把不要的自動完成或取代功能關掉。
2011年11月29日 星期二
訂閱:
文章 (Atom)