[精讚] [會員登入]
544

vim 特定範圍行數開頭加上# 註解

vim 特定範圍行數開頭加上# 註解

分享此文連結 //n.sfs.tw/13027

分享連結 vim 特定範圍行數開頭加上# 註解@igogo
(文章歡迎轉載,務必尊重版權註明連結來源)
2019-10-24 13:53:41 最後編修
2019-01-15 11:01:35 By igogo
 

 

 

13到 19行  開頭加#

:13,19s/^/#/g

 

13 到 19 行 移除 #

:13,19s/^#//g

 

END

你可能感興趣的文章

雲端校務系統與OPENLDAP帳號整合(2) openldap,雲端校務

tmux 將終端機切割成多個視 窗 tmux, multiple terminal

windows 使用 command 移除程式 使用 command 移除程式

臺中市雲端校務系統與Windows AD帳號整合(6) 修改Windows AD 密碼原則

使用expect及 openssl 產生SSL 憑證簽署要求 每年都要製做tls 憑證 二十幾張, 此語法利用expect 產生私錀及憑證請求檔 #!/usr/bin/expect

利用expect script 查詢ap數量,再送到google sheet及line群組通知 利用expect script 查詢ap數量

隨機好文

[vue.js] input event Form-Input-Components-using-Custom-Events

download a file from spring boot controllers ownload a file from spring boot controllers

資料表更改為多個primary key, MariaDB [database]> describe TABLENAME; 想由本來是兩個PRIMARY KE

讀取特定資料夾下的xls檔 讀取特定資料夾下的xls檔

找尋多個文件夾中最新檔案(jpg,png,txt)並複製到nexus資料夾 找尋多個文件夾中最新檔案(jpg,png,txt)並複製到集中資料夾