comparison .vimrc @ 12:08bdff1abb15

merging heads
author luka
date Fri, 28 Nov 2025 08:46:48 -0500
parents eeda6b1401ae b95a8e2525cc
children d30762aa23dd
comparison
equal deleted inserted replaced
11:eeda6b1401ae 12:08bdff1abb15
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 7
8 colorscheme desert
9
8 " Support for tags closing and classes 10 " Support for tags closing and classes
11 source $HOME/.vim/plugins/vim-ai.vim
9 source $HOME/.vim/plugins/taghelp.vim 12 source $HOME/.vim/plugins/taghelp.vim
10 source $HOME/.vim/plugins/dbtables/dbtables.vim 13 source $HOME/.vim/plugins/dbtables/dbtables.vim
11 source $HOME/.vim/plugins/hghelp/hghelp.vim 14 source $HOME/.vim/plugins/hghelp/hghelp.vim
12 source $HOME/.vim/plugins/globalsearch.vim 15 source $HOME/.vim/plugins/globalsearch.vim
13 16
15 let g:db_user = "" " Replace with your default database username 18 let g:db_user = "" " Replace with your default database username
16 let g:db_password = "" " Replace with your default database password 19 let g:db_password = "" " Replace with your default database password
17 let g:db_name = "" " Replace with your default database name 20 let g:db_name = "" " Replace with your default database name
18 let g:db_host = "" " Replace with your default database name 21 let g:db_host = "" " Replace with your default database name
19 22
23 function! GeneratePhpCtags()
24 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'
25 let output = system(command)
26 endfunction
20 27
21 syntax on 28 syntax on
22 syntax enable 29 syntax enable
23 " File types 30 " File types
24 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif 31 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif
98 " AI-ify 105 " AI-ify
99 Plug 'madox2/vim-ai' 106 Plug 'madox2/vim-ai'
100 107
101 " LLama.vim 108 " LLama.vim
102 " put before llama.vim loads 109 " put before llama.vim loads
103 " let g:llama_config = { 'show_info': 0, 'endpoint': 'http://0.0.0.0:8080/infill' } 110 let g:llama_config = { 'show_info': 0, 'endpoint': 'http://127.0.0.1:8012/infill' }
104 " Plug 'ggml-org/llama.vim' 111 Plug 'ggml-org/llama.vim'
105 112
106 call plug#end() 113 call plug#end()
107 114
108 " CTRLP 115 " CTRLP
109 source $HOME/.vim/plugins/ctrlp.vim 116 source $HOME/.vim/plugins/ctrlp.vim