Mercurial > vim
comparison .vimrc @ 22:c8ad85e95854 default tip
Some general updates
| author | Luka Sitas <lsitas@avatarasoftware.com> |
|---|---|
| date | Thu, 16 Jul 2026 14:47:23 -0400 |
| parents | 7cc13548becc |
| children |
comparison
equal
deleted
inserted
replaced
| 21:20ce06ac3a68 | 22:c8ad85e95854 |
|---|---|
| 9 | 9 |
| 10 " Support for tags closing and classes | 10 " Support for tags closing and classes |
| 11 source $HOME/.vim/plugins/core/core.vim | 11 source $HOME/.vim/plugins/core/core.vim |
| 12 source $HOME/.vim/plugins/vim-ai.vim | 12 source $HOME/.vim/plugins/vim-ai.vim |
| 13 source $HOME/.vim/plugins/taghelp.vim | 13 source $HOME/.vim/plugins/taghelp.vim |
| 14 source $HOME/.vim/plugins/dbtables/dbtables.vim | |
| 15 source $HOME/.vim/plugins/hghelp/hghelp.vim | 14 source $HOME/.vim/plugins/hghelp/hghelp.vim |
| 16 source $HOME/.vim/plugins/globalsearch.vim | 15 source $HOME/.vim/plugins/globalsearch.vim |
| 17 source $HOME/.vim/plugins/voicenote/voicenote.vim | 16 source $HOME/.vim/plugins/voicenote/voicenote.vim |
| 18 | 17 |
| 19 | |
| 20 let g:db_user = "" " Replace with your default database username | |
| 21 let g:db_password = "" " Replace with your default database password | |
| 22 let g:db_name = "" " Replace with your default database name | |
| 23 let g:db_host = "" " Replace with your default database name | |
| 24 | |
| 25 function! GeneratePhpCtags() | |
| 26 let command = 'ctags -R --fields=+aimS --php-kinds=cdfint --languages=php --extras=+q --tag-relative=yes --exclude=".git" --exclude=".hg" --exclude="node_modules" --exclude="composer.phar" --totals=yes' | |
| 27 let output = system(command) | |
| 28 endfunction | |
| 29 | |
| 30 syntax on | 18 syntax on |
| 31 syntax enable | 19 syntax enable |
| 20 | |
| 32 " File types | 21 " File types |
| 33 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif | 22 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif |
| 34 highlight Comment cterm=italic gui=italic | 23 highlight Comment cterm=italic gui=italic |
| 35 autocmd FileType *.blade.php setlocal commentstring=#\ %s | 24 autocmd FileType *.blade.php setlocal commentstring=#\ %s |
| 36 autocmd BufNewFile,BufRead *.php set iskeyword+=$ | 25 autocmd BufNewFile,BufRead *.php set iskeyword+=$ |
| 107 Plug 'phpactor/phpactor', {'for': 'php', 'tag': '*', 'do': 'composer install --no-dev -o'}" Plug 'preservim/tagbar' | 96 Plug 'phpactor/phpactor', {'for': 'php', 'tag': '*', 'do': 'composer install --no-dev -o'}" Plug 'preservim/tagbar' |
| 108 | 97 |
| 109 " AI-ify | 98 " AI-ify |
| 110 Plug 'madox2/vim-ai' | 99 Plug 'madox2/vim-ai' |
| 111 | 100 |
| 101 " Local Plugins | |
| 102 Plug '/home/lsitas/repos/vim_plugins/dbtables' | |
| 103 Plug '/home/lsitas/repos/vim_plugins/core' | |
| 104 | |
| 112 call plug#end() | 105 call plug#end() |
| 113 | 106 |
| 114 " CTRLP | 107 " CTRLP |
| 115 source $HOME/.vim/plugins/ctrlp.vim | 108 source $HOME/.vim/plugins/ctrlp.vim |
| 116 | 109 |
