Skip to content

Commit

Permalink
changed esc map.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyriacos committed May 1, 2012
1 parent b16c7de commit 8d12f91
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ackrc
@@ -1 +1,5 @@
--color
--smart-case
--pager=less
--ignore-dir=log/
--ignore-dir=vendor/bundle/ruby
12 changes: 7 additions & 5 deletions vimrc
Expand Up @@ -21,7 +21,7 @@ filetype plugin indent on " Turn on file type detection.
" Solarized theme
set t_Co=256
let g:solarized_termcolors=256
let g:solarized_contrast="high"
"let g:solarized_contrast="high"
set background=light
color solarized
"set background=dark
Expand Down Expand Up @@ -54,7 +54,7 @@ set hidden " Hide buffers instead of closing them

set wildmenu " Enhanced command line completion.
set wildmode=list:longest,list:full " Complete files like a shell.
set wildignore=*.swp,*.bak,*.pyc,*.o,*.obj,*.class,*.rbc,.git,.svn,vendor/gems,vendor/bundle/**,vendor/cache/**
set wildignore=*.swp,*.bak,*.pyc,*.o,*.obj,*.class,*.rbc,.git,.svn,vendor/gems,vendor/bundle/**,vendor/cache/**,log/**,public/assets/**

" Searching
set incsearch " Highlight matches as you type.
Expand Down Expand Up @@ -132,7 +132,8 @@ vmap <s-tab> <gv
let mapleader=","

" Map escape to Ctrl-C
map <c-c> <esc>
"map <c-c> <esc>
map <C-[> <esc>
" switch buffers with leader leader
nnoremap <leader><leader> <c-^>
Expand Down Expand Up @@ -219,11 +220,12 @@ runtime! macros/matchit.vim
let g:CommandTMaxHeight=20
nmap <silent> <Leader>b :CommandTFlush<cr>\|:CommandTBuffer<CR>
nmap <silent> <Leader>t :CommandTFlush<cr>\|:CommandT<CR>
" http://vimcasts.org/e/14
cnoremap %% <C-R>=expand('%:h').'/'<cr>
map <leader>f :CommandTFlush<cr>\|:CommandT <cr>
map <leader>F :CommandTFlush<cr>\|:CommandT %%<cr>
" http://vimcasts.org/e/14
cnoremap %% <C-R>=expand('%:h').'/'<cr>
" Tabular Config
if exists(":Tabularize")
nmap <Leader>a= :Tabularize /=<CR>
Expand Down

0 comments on commit 8d12f91

Please sign in to comment.