comparison .vimrc @ 7:34930197e9d4

Updating hg diff tool. Adding support for global searching
author Luka Sitas <lsitas@avatarasoftware.com>
date Thu, 30 Oct 2025 13:45:31 -0400
parents 3017fd33ad8b
children 17c557de03e0 eeda6b1401ae
comparison
equal deleted inserted replaced
6:3017fd33ad8b 7:34930197e9d4
1 " Leader Mappings 1 " Leader Mappings
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 map <Leader>g :term gpt<CR>
6 set mouse=a 5 set mouse=a
7 inoremap <C-a> <C-x><C-i> 6 inoremap <C-a> <C-x><C-i>
8 7
9 " Support for tags closing and classes 8 " Support for tags closing and classes
10 source $HOME/.vim/plugins/taghelp 9 source $HOME/.vim/plugins/taghelp
11 source $HOME/.vim/plugins/dbtables/dbtables.vim 10 source $HOME/.vim/plugins/dbtables/dbtables.vim
12 source $HOME/.vim/plugins/hghelp/hghelp.vim 11 source $HOME/.vim/plugins/hghelp/hghelp.vim
12 source $HOME/.vim/plugins/globalsearch.vim
13
13 14
14 let g:db_user = "" " Replace with your default database username 15 let g:db_user = "" " Replace with your default database username
15 let g:db_password = "" " Replace with your default database password 16 let g:db_password = "" " Replace with your default database password
16 let g:db_name = "" " Replace with your default database name 17 let g:db_name = "" " Replace with your default database name
17 let g:db_host = "" " Replace with your default database name 18 let g:db_host = "" " Replace with your default database name
22 " File types 23 " File types
23 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif 24 autocmd Filetype scss if getfsize(@%) > 300 | setlocal syntax=OFF | endif
24 highlight Comment cterm=italic gui=italic 25 highlight Comment cterm=italic gui=italic
25 autocmd FileType *.blade.php setlocal commentstring=#\ %s 26 autocmd FileType *.blade.php setlocal commentstring=#\ %s
26 27
28 set path+=**
27 set nowrap " Dont wrap 29 set nowrap " Dont wrap
28 set backspace=indent,eol,start " http://vi.stackexchange.com/a/2163 30 set backspace=indent,eol,start " http://vi.stackexchange.com/a/2163
29 set laststatus=2 " Show status line on startup 31 set laststatus=2 " Show status line on startup
30 set splitright " Open new splits to the right 32 set splitright " Open new splits to the right
31 set splitbelow " Open new splits to the bottom 33 set splitbelow " Open new splits to the bottom