Last active
December 23, 2015 09:49
-
-
Save lkosak/6617252 to your computer and use it in GitHub Desktop.
basic vimrc
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
" Basic vim settings | |
set nocompatible | |
syntax on | |
set encoding=utf-8 | |
set showmode | |
set showcmd | |
set hidden | |
set ruler | |
set smartindent | |
set smarttab | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set modelines=0 | |
set scrolloff=3 | |
set laststatus=2 | |
set number | |
" Make new splits/vsplits open below/right of current buffer | |
set splitbelow | |
set splitright | |
" ctrl-based navigation of splits | |
nnoremap <C-h> <C-w>h | |
nnoremap <C-l> <C-w>l | |
nnoremap <C-j> <C-w>j | |
nnoremap <C-k> <C-w>k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment