Files
vim-config/.vimrc
2025-07-19 00:28:44 +02:00

52 lines
939 B
VimL

syntax on
filetype on
filetype plugin on
set nocompatible
set nobackup
set relativenumber
set number
set cursorline
set tabstop=4
set shiftwidth=4
set softtabstop=4
set scrolloff=10
set expandtab
set wrap
set incsearch
set noswapfile
set backspace=indent,eol,start
call plug#begin()
Plug 'ycm-core/YouCompleteMe'
Plug 'junegunn/vim-easy-align'
Plug 'mg979/vim-visual-multi'
Plug 'tpope/vim-commentary'
Plug 'ARM9/arm-syntax-vim'
Plug 'ziglang/zig.vim'
Plug 'habamax/vim-alchemist'
Plug 'Airbus5717/c3.vim'
call plug#end()
" let g:ycm_echo_current_diagnostic = 0
" let g:ycm_show_diagnostics_ui = 0
let g:ycm_clangd_args = ['--header-insertion=never']
let g:ycm_add_preview_to_completeopt = 1
" set completeopt-=preview
set completeopt+=preview
colorscheme alchemist
let mapleader = ' '
nnoremap Y "+y
vnoremap Y "+y
nnoremap yY ^"+y$
nnoremap Pp "+p
nmap <leader>p :Explore<CR>
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)