2024-10-24  2024-10-24    230 字  1 分钟
- tech

Vim 超炫十字定位

colorscheme koehler
set number
set cursorline
highlight CursorLine cterm=none ctermbg=DarkBlue ctermfg=White
set cursorcolumn
highlight CursorColumn cterm=none ctermbg=DarkBlue ctermfg=White
set hlsearch
set mouse=a
set encoding=utf-8
set shiftwidth=4
match WhitespaceEOL /\s\+$/

安裝 Fish Shell

# 照抄 https://ithelp.ithome.com.tw/articles/10216705
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fish

curl -L https://get.oh-my.fish | fish

omf install agnoster
omf theme agnoster

chsh -s /usr/bin/fish noob  # noob 要換成你的使用者

將某 user 加入指令 (不用再下 sudo)

sudo groupadd docker # 確認是否有群組,安裝docker應該會自動創建
sudo usermod -aG docker <username> # 將user加入docker群組
groups # 查看是否成功

VS Code Wall Paper

{
  "background.style": {
    "content": "''",
    "pointer-events": "none",
    "position": "absolute", // 絕對定位
    "z-index": "99999",
    "width": "100%",
    "height": "100%",
    "background-position": "0% 0%", // 圖片位置
    "background-size": "cover", // 圖片大小,這裏設置鋪滿
    "background-repeat": "no-repeat", //是否重複
    "opacity": 0.1 // 透明度
  },
  "background.customImages": [
    "https://images4.alphacoders.com/135/1358900.png", // Saber
    "https://wallpaper.dog/large/20602812.jpg", // 雷神
    "https://wallpaper.dog/large/20524629.png", // 雷姆
    "https://images.alphacoders.com/136/thumb-1920-1369542.jpeg" // 加奈
  ],
  "background.useDefault": false
}