mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
updatetags
This commit is contained in:
parent
47f197fd2a
commit
b14b26dd48
1 changed files with 7 additions and 0 deletions
7
vimrc
7
vimrc
|
|
@ -202,4 +202,11 @@ set t_ts=]6;
|
||||||
set t_fs=
|
set t_fs=
|
||||||
auto BufEnter * let &titlestring = "file://" . hostname() . expand("%:p")
|
auto BufEnter * let &titlestring = "file://" . hostname() . expand("%:p")
|
||||||
|
|
||||||
|
function! UpdateTags()
|
||||||
|
execute ":silent !ctags -R ."
|
||||||
|
execute ":redraw!"
|
||||||
|
echohl StatusLine | echo "tags updated" | echohl None
|
||||||
|
endfunction
|
||||||
|
nnoremap <F8> :call UpdateTags()<CR>
|
||||||
|
|
||||||
" vim: ft=vim
|
" vim: ft=vim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue