From d5fad13a6e549311b962521db39f2e5b35c7f0c0 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Thu, 13 Apr 2023 08:10:34 +0200 Subject: [PATCH] Update 2023-04-13 08:10 OpenBSD/amd64 --- .bin/dev-here | 4 ++-- .vimrc | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.bin/dev-here b/.bin/dev-here index 0cf9b62..2399f00 100755 --- a/.bin/dev-here +++ b/.bin/dev-here @@ -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 diff --git a/.vimrc b/.vimrc index be39f79..b6c1acc 100644 --- a/.vimrc +++ b/.vimrc @@ -40,6 +40,12 @@ set fillchars=vert:\|,eob:\ nnoremap # *`` +nmap :TagbarToggle +let g:tagbar_ctags_bin = "ectags" + +xmap ga (EasyAlign) +nmap ga (EasyAlign) + augroup code au! au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g'\"" | endif