Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

vim config

  • Loading branch information...
commit e503c9e97c33f71cfeb5828fb6389646ceffe212 1 parent beac75e
@bkudria authored
View
1  .gvimrc
@@ -0,0 +1 @@
+source ~/.vim/keys.vim
View
1  .vim/commands.vim
@@ -0,0 +1 @@
+command Workfeed cd ~/Code/workfeed
View
27 .vim/keys.vim
@@ -1,12 +1,31 @@
let mapleader=","
let g:mapleader=","
-map <leader>f :FufFile<cr>
-map <leader>t :CommandT<cr>
+map <up> <nop>
+map <down> <nop>
+map <left> <nop>
+map <right> <nop>
+
+map <leader>f :CommandT<cr>
if has("gui_macvim")
- macmenu &File.Open key=<nop>
- map <D-o> :FufFile<CR>
+ macmenu &File.Open\.\.\. key=<nop>
+ map <D-o> :CommandT<CR>
endif
+nnoremap ; :
+
+map <F1> :FufHelp<cr>
+map <F2> :
map <F3> :FufBuffer<cr>
nnoremap <leader><leader> <c-^>
+map <F10> :Gstatus
+
+nnoremap \ :noh<cr>
+
+map <C-h> <C-w>h
+map <C-j> <C-w>j
+map <C-k> <C-w>k
+map <C-l> <C-w>l
+map <C-w><C-w> :only<cr>
+
+map ~ :cd ~<cr>
View
8 .vim/vundle.vim
@@ -13,10 +13,18 @@ Bundle 'tpope/vim-fugitive',
Bundle 'tpope/vim-rails',
Bundle 'tpope/vim-endwise',
Bundle 'tpope/vim-surround',
+Bundle 'tpope/vim-repeat'
+Bundle 'Raimondi/delimitMate',
+Bundle 'godlygeek/tabular'
+Bundle 'mutewinter/vim-indent-guides'
+Bundle 'mileszs/ack.vim'
Bundle 'kana/vim-textobj-user',
Bundle 'nelstrom/vim-textobj-rubyblock',
Bundle 'wincent/Command-T',
let g:CommandTScanDotDirectories=1
+let g:CommandTMatchWindowReverse=1
+
+Bundle 'jeffkreeftmeijer/vim-numbertoggle'
"Color Scheme"
Bundle 'altercation/vim-colors-solarized'
View
7 .vimrc
@@ -1,5 +1,4 @@
set nocompatible
-set nohidden
set autoread
set showcmd
set showmatch
@@ -8,7 +7,11 @@ set secure
set cursorline
set laststatus=2
set shortmess+=I
+
set guioptions-=m
+set guioptions-=r
+set guioptions-=T
+
if exists("&relativenumber")
set relativenumber
else
@@ -25,7 +28,6 @@ set guifont=Consolas:h13
syntax enable
filetype plugin indent on
-
"" Whitespace
set nowrap
set tabstop=2 shiftwidth=2
@@ -40,6 +42,7 @@ set smartcase
source ~/.vim/vundle.vim
source ~/.vim/keys.vim
+source ~/.vim/commands.vim
cd ~
autocmd! bufwritepost .vimrc source ~/.vimrc
Please sign in to comment.
Something went wrong with that request. Please try again.