aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.gvimrc8
-rw-r--r--vim/.vimrc47
2 files changed, 55 insertions, 0 deletions
diff --git a/vim/.gvimrc b/vim/.gvimrc
new file mode 100644
index 0000000..7d7d0dd
--- /dev/null
+++ b/vim/.gvimrc
@@ -0,0 +1,8 @@
+set guioptions+=LlRrb
+set guioptions-=LlRrb
+
+set guioptions-=m
+set guioptions-=T
+set guioptions-=e
+
+set guifont=Monospace\ 8
diff --git a/vim/.vimrc b/vim/.vimrc
new file mode 100644
index 0000000..9b9c4bb
--- /dev/null
+++ b/vim/.vimrc
@@ -0,0 +1,47 @@
+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
+
+nnoremap <A-left> <C-W>h
+nnoremap <A-right> <C-W>l
+
+nmap <Left> <<
+nmap <Right> >>
+vmap <Left> <gv
+vmap <Right> >gv
+
+nmap <Up> [e
+nmap <Down> ]e
+vmap <Up> [egv
+vmap <Down> ]egv