Skip to content

Commit

Permalink
more basic defaults for vim
Browse files Browse the repository at this point in the history
  • Loading branch information
msadouni committed Mar 20, 2014
1 parent 8777f8a commit fd5dd31
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vimrc
Expand Up @@ -18,9 +18,16 @@ Bundle 'tpope/vim-git'

filetype plugin indent on " required

set encoding=utf-8

" Change mapleader
let mapleader=","

" display incomplete commands
set showcmd

" syntax
syntax enable
colorscheme Tomorrow-Night
if has("gui_running")
set guifont=Menlo\ Regular:h14
Expand All @@ -30,9 +37,18 @@ endif
:au FocusLost * silent! wa

" indentation
set nowrap
set expandtab
set tabstop=2
set shiftwidth=2
set softtabstop=2
set backspace=indent,eol,start

" Searching
set hlsearch
set incsearch
set ignorecase
set smartcase

" line numbers
set relativenumber
Expand Down

0 comments on commit fd5dd31

Please sign in to comment.