網頁

2019年3月29日 星期五

Doom emacs installation

Doom emacs installation

    git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
    cd ~/.emacs.d
    git checkout develop
    cd bin/
    ~/.emacs.d/bin/doom -y quickstart
    ~/.emacs.d/bin/doom -y refresh

2019年3月20日 星期三

cscope and gtags

cscope

find ./ -name "*.c" -o -name "*.h" | awk '{printf("\"%s\"\n", $0)}' > cscope.files
cscope -Rbq -i cscope.files

we need to deal with spaces in the path for cscope.

global gtags

find ./ -name "*.c" -o -name "*.h" > gtags.files
gtags