Created
September 7, 2022 17:40
-
-
Save vishalkg/f943b3a967a7d54d74e87226d877ed21 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
" **NEVER PUT ANY LINE IN YOUR VIMRC WHICH YOU DON'T UNDERSTAND** | |
set nocompatible | |
" Enabling filetype support provides filetype-specific indenting, | |
" syntax highlighting, omni-completion and other useful settings. | |
filetype plugin indent on | |
syntax on | |
" `matchit.vim` is built-in so let's enagate between tabs using mouseble it! | |
" Hit `%` on `if` to jump to `else`. | |
runtime macros/matchit.vim | |
" various settings | |
set autoindent " Minimal automatic indenting for any filetype. | |
set backspace=indent,eol,start " Intuitive backspace behavior. | |
set hidden " Possibility to have more than one unsaved buffers. | |
set incsearch " Incremental search, hit `<CR>` to stop. | |
set ruler " Shows the current line number at the bottom-right | |
" of the screen. | |
set wildmenu " Great command-line completion, use `<Tab>` to move | |
" around and `<CR>` to validate. | |
set number " Set line number | |
set cursorline " Underlines the current line | |
set mouse=a " navigate between tabs using mouse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment