Created
October 14, 2025 03:12
-
-
Save suobset/66750befd5d28db4f71a0ee977e71933 to your computer and use it in GitHub Desktop.
2025 | Personal .vimrc
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
| " ~/.vimrc or ~/.config/nvim/init.vim | |
| " ----------------------------- | |
| " General Editing Preferences | |
| " ----------------------------- | |
| " Use spaces instead of tabs | |
| set expandtab | |
| " Each tab = 2 spaces | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set softtabstop=2 | |
| " Enable soft wrapping for long lines | |
| set wrap | |
| set linebreak " Prevent wrapping in the middle of a word | |
| " Enable line numbers | |
| set number | |
| " Enable mouse support in all modes | |
| set mouse=a | |
| " ----------------------------- | |
| " Terminal Settings | |
| " ----------------------------- | |
| " Open new terminal windows at the bottom | |
| set splitbelow | |
| " ----------------------------- | |
| " Optional quality-of-life settings | |
| " ----------------------------- | |
| " Highlight current line | |
| set cursorline | |
| " Show matching brackets | |
| set showmatch | |
| " Use relative numbers (optional, comment out if you don’t want this) | |
| " set relativenumber | |
| " Use a sensible default for backspace | |
| set backspace=indent,eol,start |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usually goes alongside amix/vimrc, in which case to be placed under
~/.vim_runtime/my_configs.vim