Skip to content

Instantly share code, notes, and snippets.

View WuJunkai2004's full-sized avatar
🚩
Wish Good Ready

Wu Junkai WuJunkai2004

🚩
Wish Good Ready
View GitHub Profile
@WuJunkai2004
WuJunkai2004 / task.ini
Last active August 19, 2025 07:12
task.ini for vim
[file-run]
command:python=python3 "$(VIM_FILENAME)"
command:cpp=g++ "$(VIM_FILEPATH)" -o "$(VIM_FILEDIR)/$(VIM_FILENOEXT)" -std=c++20 -O2 -I .&& "$(VIM_FILEDIR)/$(VIM_FILENOEXT)"
command:javascript=node "$(VIM_FILENAME)"
command:typescript=tsc "$(VIM_FILENAME)" --target ES6&& node "$(VIM_FILEDIR)/$(VIM_FILENOEXT)"
command:c=gcc "$(VIM_FILEPATH)" -o "$(VIM_FILEDIR)/$(VIM_FILENOEXT)" && "$(VIM_FILEDIR)/$(VIM_FILENOEXT)"
command:sh=sh "$(VIM_FILENAME)"
command:asm=asm $(VIM_FILENOEXT)
command:cangjie=cjc -o "$(VIM_FILEDIR)/$(VIM_FILENOEXT)" "$(VIM_FILENAME)" && "$(VIM_FILEDIR)/$(VIM_FILENOEXT)"
@WuJunkai2004
WuJunkai2004 / .vimrc
Last active May 3, 2026 17:05
a vim configure of WuJunkai2004
" modified: 2026/05/03
" map leader as ,
let mapleader=","
" for the normal mode of chinese input
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,cp936,gb18030