-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
45 lines (31 loc) · 1.01 KB
/
vimrc
File metadata and controls
45 lines (31 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
set nocompatible
syntax enable
set encoding=utf-8
call pathogen#infect() " Pathogen
set showcmd " incomplete commands
filetype plugin indent on
set hlsearch " highlight
set incsearch " incremental
set ignorecase " case insensitive
set smartcase " case sensitive if capital letters
set hidden
set history=1000
set wildmenu " tab completion for menu
set scrolloff=5 " Context when in the limit of a buffer
set number
set nowrap
set tabstop=2 " a tab is two spaces
set shiftwidth=2 " an autoindent (with <<) is two spaces
set expandtab " use spaces, not tabs
set backspace=indent,eol,start " backspace through everything in insert mode
set list listchars=tab:\ \ ,trail:·
let mapleader=","
map <C-l> <C-w>l
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-h> <C-w>h
nnoremap <leader><leader> <c-^>
set backupdir=~/.vim/_backup " This keeps clean the working dirs
set directory=~/.vim/_temp
set laststatus=2
let g:Powerline_symbols = 'fancy' " Uses fancy font for powerline