Created
July 13, 2016 10:24
-
-
Save papauorg/c28a03eda2952abb3a4cdd34c6c5133d to your computer and use it in GitHub Desktop.
VsVim configuration file
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
" Place this file in your %USERPROFILE% folder to take effect in VsVim (see https://github.com/jaredpar/VsVim/wiki/faq#how-can-i-verify-my-vimrc-is-loading) | |
set vsvim_useeditordefaults | |
set smartcase! | |
set ignorecase | |
" With a map leader it's possible to do extra key combinations | |
" like <leader>w saves the current file | |
let mapleader = "," | |
let g:mapleader = "," | |
" Set 3 lines to the cursor - when moving vertically using j/k | |
set so=3 | |
" Configure backspace so it acts as it should act | |
set backspace=eol,start,indent | |
set whichwrap+=<,>,h,l | |
" allow saving a file with captial W | |
command! W write | |
" Highlight search results | |
set hlsearch | |
" Makes search act like search in modern browsers | |
set incsearch | |
" For regular expressions turn magic on | |
set magic | |
" Show matching brackets when text indicator is over them | |
set showmatch | |
" How many tenths of a second to blink when matching brackets | |
set mat=2 | |
" No annoying sound on errors | |
set noerrorbells | |
set novisualbell | |
set t_vb= | |
set tm=500 | |
" Turn backup off, since most stuff is in SVN, git et.c anyway... | |
set nobackup | |
set nowb | |
set noswapfile | |
imap jj <Esc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment