Mercurial > vim
comparison .vimrc @ 9:17c557de03e0
Updated commit window
Including vendor files in fuzy search
| author | Luka Sitas <lsitas@avatarasoftware.com> |
|---|---|
| date | Tue, 18 Nov 2025 11:37:01 -0500 |
| parents | 34930197e9d4 |
| children | b95a8e2525cc |
comparison
equal
deleted
inserted
replaced
| 8:9c80955f0c6e | 9:17c557de03e0 |
|---|---|
| 2 map <Space> <leader> | 2 map <Space> <leader> |
| 3 map <Leader>w :update<CR> | 3 map <Leader>w :update<CR> |
| 4 map <Leader>q :qall<CR> | 4 map <Leader>q :qall<CR> |
| 5 set mouse=a | 5 set mouse=a |
| 6 inoremap <C-a> <C-x><C-i> | 6 inoremap <C-a> <C-x><C-i> |
| 7 | |
| 8 colorscheme desert | |
| 7 | 9 |
| 8 " Support for tags closing and classes | 10 " Support for tags closing and classes |
| 9 source $HOME/.vim/plugins/taghelp | 11 source $HOME/.vim/plugins/taghelp |
| 10 source $HOME/.vim/plugins/dbtables/dbtables.vim | 12 source $HOME/.vim/plugins/dbtables/dbtables.vim |
| 11 source $HOME/.vim/plugins/hghelp/hghelp.vim | 13 source $HOME/.vim/plugins/hghelp/hghelp.vim |
| 15 let g:db_user = "" " Replace with your default database username | 17 let g:db_user = "" " Replace with your default database username |
| 16 let g:db_password = "" " Replace with your default database password | 18 let g:db_password = "" " Replace with your default database password |
| 17 let g:db_name = "" " Replace with your default database name | 19 let g:db_name = "" " Replace with your default database name |
| 18 let g:db_host = "" " Replace with your default database name | 20 let g:db_host = "" " Replace with your default database name |
| 19 | 21 |
| 22 function! GeneratePhpCtags() | |
| 23 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' | |
| 24 let output = system(command) | |
| 25 endfunction | |
| 20 | 26 |
| 21 syntax on | 27 syntax on |
| 22 syntax enable | 28 syntax enable |
| 23 " File types | 29 " File types |
| 24 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif | 30 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif |
