aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-01-29 17:32:02 +0100
committerAdrian Kummerländer2014-01-29 17:32:02 +0100
commita75c4fb7155dbdbec32725c94c596c81752e0011 (patch)
tree39756904ba8ca8779551f21c6b9e07757e48777c /vim
downloaddotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.gz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.bz2
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.lz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.xz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.zst
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.zip
Initial commit of my current dotfiles
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