Created
December 30, 2025 23:08
-
-
Save lovemycodesnippets/50d784d2e7f5e3e9e03db46a5c2e42b7 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
| set nocompatible " disables compatibility with old-time vi | |
| set showmatch " shows matching | |
| set ignorecase " case insensitive | |
| set mouse=v " middle-click paste with | |
| set hlsearch " highlight search | |
| set incsearch " incremental search | |
| set tabstop=4 " number of columns occupied by a tab | |
| set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing | |
| set expandtab " converts tabs to white space | |
| set shiftwidth=4 " width for autoindents | |
| set autoindent " indents a new line the same amount as the line just typed | |
| set number " adds line numbers | |
| set wildmode=longest,list " gets bash-like tab completions | |
| set cc=80 " sets an 80-column border for good coding style | |
| filetype plugin indent on "allows auto-indenting depending on file type | |
| syntax on " enables syntax highlighting | |
| set mouse=a " enables mouse click | |
| set clipboard=unnamedplus " uses system clipboard | |
| filetype plugin on | |
| set cursorline " highlights current cursorline | |
| set ttyfast " Speeds up scrolling in Vim | |
| " set spell " enables spell check (may need to download language package) | |
| " set noswapfile " disables creating swap file | |
| " set backupdir=~/.cache/vim " Directory to store backup files. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment