Last active
October 9, 2025 05:22
-
-
Save oxUnd/d0caa2723c3bd55bee7774535ca2d5a9 to your computer and use it in GitHub Desktop.
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
| " Disable compatibility with vi | |
| set nocompatible | |
| " Enable file type detection | |
| filetype on | |
| filetype plugin on | |
| filetype indent on | |
| " Turn on syntax highlighting | |
| syntax on | |
| " Display line numbers | |
| set number | |
| " Highlight cursor line and column | |
| set cursorline | |
| " set cursorcolumn | |
| highlight CursorColumn ctermbg=yellow guibg=yellow | |
| highlight Cursor ctermfg=white ctermbg=black guifg=white guibg=black | |
| " Set tab and shift width to 4 spaces | |
| set shiftwidth=4 | |
| set tabstop=4 | |
| set expandtab | |
| " Disable backup files | |
| set nobackup | |
| " Set scroll offset and disable line wrapping | |
| set scrolloff=10 | |
| set nowrap | |
| " Enable incremental search and ignore case | |
| set incsearch | |
| set ignorecase | |
| set smartcase | |
| " Show partial commands and mode | |
| set showcmd | |
| set showmode | |
| " Highlight search matches | |
| set hlsearch | |
| " Increase command history size | |
| set history=1000 | |
| " Enable wildmenu for auto-completion | |
| set wildmenu | |
| set wildmode=list:longest | |
| set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx | |
| " Clear status line | |
| set statusline= | |
| " Left side of status line | |
| set statusline+=%F\ %M\ %Y\ %R | |
| " Divider | |
| set statusline+=%= | |
| " Right side of status line | |
| set statusline+=ascii:\ %b\ hex:\ 0x%B\ row:\ %l\ col:\ %c\ percent:\ %p%% | |
| " Show status line on the second to last line | |
| set laststatus=2 | |
| " color scheme | |
| colorscheme industry | |
| colorscheme retrobox | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'dense-analysis/ale' | |
| Plug 'preservim/nerdtree' | |
| Plug 'tpope/vim-surround' | |
| Plug 'ycm-core/YouCompleteMe', { 'do' : 'python3 ./install.py --clangd-completer' } | |
| Plug 'preservim/tagbar' | |
| call plug#end() |
Author
oxUnd
commented
Oct 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment