Created
August 24, 2021 17:35
-
-
Save maksmakuta/d2dc8dfbe15f492536bce08d09cde50a to your computer and use it in GitHub Desktop.
Core .vimrc for noobs like me
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| syntax on | |
| set mouse =a | |
| set autoindent | |
| set expandtab | |
| set softtabstop =2 | |
| set shiftwidth =2 | |
| set shiftround | |
| set backspace =indent,eol,start | |
| set hidden | |
| set number | |
| set laststatus =2 | |
| set display =lastline | |
| set showmode | |
| set showcmd | |
| set incsearch | |
| set hlsearch | |
| set ttyfast | |
| set lazyredraw | |
| set cursorline | |
| filetype plugin indent on | |
| " It's copied from clangd site... | |
| " Let clangd fully control code completion | |
| let g:ycm_clangd_uses_ycmd_caching = 0 | |
| " Use installed clangd, not YCM-bundled clangd which doesn't get updates. | |
| let g:ycm_clangd_binary_path = exepath("clangd") | |
| call plug#begin('~/.vim/plugged') | |
| " install bottom bar for vim | |
| Plug 'vim-airline/vim-airline' | |
| " add autocomplete library | |
| " I'm configure for c/c++ (clangd) | |
| Plug 'ycm-core/YouCompleteMe' | |
| call plug#end() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment