add new vim config

This commit is contained in:
sam 2025-03-04 22:49:50 +13:00
parent 0e9fb06adf
commit 41e92c65a0
2 changed files with 2886 additions and 0 deletions

23
vim2/.vimrc Normal file
View file

@ -0,0 +1,23 @@
set tabstop=4 expandtab
set shiftwidth=4
set softtabstop=4
set autoindent
set cindent
set mouse=a
set number
set relativenumber
syntax on
colorscheme habamax
filetype plugin on
call plug#begin()
Plug 'tpope/vim-sensible'
Plug 'sheerun/vim-polyglot'
Plug 'joe-skb7/cscope-maps'
Plug 'vimsence/vimsence'
call plug#end()
nnoremap gd :cscope find g <C-R><C-W><CR>
nnoremap gf :cscope find f <C-R><C-W><CR>
vnoremap <silent> <C-c> :w !wl-copy<CR><CR>

2863
vim2/vim/autoload/plug.vim Normal file

File diff suppressed because it is too large Load diff