Skip to content

Instantly share code, notes, and snippets.

View lirundong's full-sized avatar
🤓
Sit down and think hard

Rundong Li lirundong

🤓
Sit down and think hard
  • NVIDIA
  • Shanghai, China
View GitHub Profile
@lirundong
lirundong / .vimrc
Last active June 5, 2023 03:54
My super neat, minimum Vim config.
"" OS-specfic variables and plugins.
if has('win64') || has('win32') || has('win16')
let s:os = 'Windows'
let s:data_dir = has('nvim') ? stdpath('data') . '/site' : $HOME . '/vimfiles'
set shell=powershell
set shellcmdflag=-NoProfile\ -Command
else
let s:os = substitute(system('uname'), '\n', '', '')
let s:data_dir = has('nvim') ? stdpath('data') . '/site' : $HOME . '/.vim'
endif
@lirundong
lirundong / tmux.conf
Last active May 24, 2022 08:03
My minimum tmux config with clean a status bar.
# Enable true-colors.
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# Enable mouse.
set -g mouse on
# Plugins.
set -g @plugin "tmux-plugins/tpm"
set -g @plugin "arcticicestudio/nord-tmux"
# Load tmux plugin manager.