vim tab = 4 space
let _curfile = expand("%:t")
if _curfile =~ "Makefile" || _curfile =~ "makefile" || _curfile =~ ".*\.mk"
"Edit Makefile disable expandtab-function
set tabstop=4
set shiftwidth=4
set autoindent
set number
set noexpandtab
else
"Add below 3 line, set tab = 4 space
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set number
endif
訂閱:
意見 (Atom)
Install KDE Desktop for Ubuntu 24.04
1. Enter following command to install the KDE-plasma sudo apt install kde-plasma-desktop 2. Disable the login screen 2-1. Create default sdd...
-
1 . Compile pcre Build command as below CUR_PATH=`pwd` BUILD_PATH=$CUR_PATH/MyBuild mkdir -p $CUR_PATH/MyBuild make distclean ./configure...
-
AAC Extra data have 16 bits: Audio object type - normally 5 bits, but 11 bits if AOT_ESCAPE Sampling index - 4 bits if (Sampling index == 15...
-
sudo apt-get update sudo apt-get install build-essential fakeroot dpkg-dev sudo apt-get build-dep -y sudo apt-get install libcurl4-openss...