Last active
December 3, 2018 19:19
-
-
Save ankibalyan/a202d701505dba2e2ac561b1d4bf2363 to your computer and use it in GitHub Desktop.
My Vim Settings (Basic Version) ~/.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
syntax on | |
set ai | |
set number | |
set mouse+=a | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab " use spaces instead of tabs. | |
set smarttab " let's tab key insert 'tab stops', and bksp deletes tabs. | |
set shiftround " tab / shifting moves to closest tabstop. | |
set autoindent " Match indents on new lines. | |
set smartindent " Intellegently dedent / indent new lines based on rules. | |
" We have VCS -- we don't need this stuff. | |
set nobackup " We have vcs, we don't need backups. | |
set nowritebackup " We have vcs, we don't need backups. | |
set noswapfile " They're just annoying. Who likes them? | |
" don't nag me when hiding buffers | |
set hidden " allow me to have buffers with unsaved changes. | |
set autoread " when a file has changed on disk, just load it. Don't ask. | |
" Make search more sane | |
set ignorecase " case insensitive search | |
set smartcase " If there are uppercase letters, become case-sensitive. | |
set incsearch " live incremental searching | |
set showmatch " live match highlighting | |
set hlsearch " highlight matches | |
set gdefault " use the `g` flag by default. | |
" Copy to clipboard | |
" set clipboard=unnamedplus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment