Created
October 8, 2021 00:52
-
-
Save CallumHoward/6b14e03f2bbbcc6f902bcf0120b8e008 to your computer and use it in GitHub Desktop.
Basic Vim configuration, place in home directory
This file contains 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
filetype plugin indent on " Enabling filetype specific settings | |
syntax on | |
imap kj <Esc> | |
set number " Line numbers | |
set autoindent " Minimal automatic indenting for any filetype | |
set backspace=indent,eol,start " Proper backspace behavior | |
set incsearch " Incremental search highlighting | |
set wildmenu " Vim command line mode autocompletion | |
set mouse=a " Enable mouse | |
set clipboard+=unnamedplus " Use system clipboard for yank and paste | |
set undofile " Undo persists after closing file | |
set nobackup " Don't create hidden files everywhere | |
set expandtab " Expand tabs to spaces | |
set shiftwidth=4 " Spaces to shift when re-indenting | |
set tabstop=4 " Number of spaces to insert when tab is pressed | |
set softtabstop=4 " Backspace deletes indent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment