Update 2023-04-13 08:10 OpenBSD/amd64

This commit is contained in:
c0dev0id 2023-04-13 08:10:34 +02:00
parent ecaa46bd0d
commit d5fad13a6e
2 changed files with 8 additions and 2 deletions

View File

@ -21,9 +21,9 @@ find "${DEVDIR}" -type f \
cscope -qbkCRvf ${DEVDIRPATH}/cscope.out -i${DEVDIRPATH}/files
# create tags file
ectags --sort=yes \
uctags --sort=yes \
--fields=afiksSt \
--extra=fq \
--extras=fq \
--totals=yes \
-L ${DEVDIRPATH}/files \
-f ${DEVDIRPATH}/tags

6
.vimrc
View File

@ -40,6 +40,12 @@ set fillchars=vert:\|,eob:\
nnoremap # *``
nmap <F12> :TagbarToggle<CR>
let g:tagbar_ctags_bin = "ectags"
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)
augroup code
au!
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g'\"" | endif