aboutsummaryrefslogtreecommitdiff
path: root/vim/.vimrc
blob: 49a5dbf0934f340863051182072fddc652872b7e (plain)
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
call pathogen#infect()

syntax enable
filetype plugin indent on
set encoding=utf-8
set showcmd
set nocompatible
set number
set background=dark
set lazyredraw
set ttyfast

set directory=~/.vim/swap,.

set wrap
set tabstop=4 shiftwidth=4
set backspace=indent,eol,start
set listchars=tab:\▶\ 
set list

set hlsearch
set incsearch
set ignorecase
set smartcase

colorscheme jellybeans

vnoremap cc "+y
nnoremap cc "+p
nnoremap <F5> :GundoToggle<CR>
nnoremap <F3> :TlistToggle<CR>

nnoremap <C-left> gT
nnoremap <C-right> gt

nmap <Left> <<
nmap <Right> >>
vmap <Left> <gv
vmap <Right> >gv

nmap <Up> [e
nmap <Down> ]e
vmap <Up> [egv
vmap <Down> ]egv