use packer

This commit is contained in:
Robert 2024-04-17 22:47:26 +02:00
commit 26f245fca2
7 changed files with 490 additions and 0 deletions

41
init.vim Normal file
View file

@ -0,0 +1,41 @@
let g:vimspector_enable_mappings = "VISUAL_STUDIO"
"lua require("plugins")
lua require("init")
lua require("keymap")
lua require("coc")
set number relativenumber
set tabstop=4
set shiftwidth=4
set noautochdir
set nowrap
set list
set foldmethod=indent
set foldlevel=99
set nofoldenable
"colorscheme tokyonight-storm
lua require("kanagawa")
colorscheme kanagawa
let g:blamer_enabled = 1
let g:startify_change_to_dir = 0
let g:startify_change_to_vcs_root = 1
inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#_select_confirm() :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
\ CheckBackspace() ? "\<TAB>" :
\ coc#refresh()
function! CheckBackspace() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
let g:coc_snippet_next = '<tab>'
"highlight LineNr guifg=#ff57d8
highlight LineNr guifg=#fcc35a