Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changed esc map.

  • Loading branch information...
commit 8d12f9170810c8bdcc4c994c79645ab9b0de6f16 1 parent b16c7de
@kyriacos authored
Showing with 11 additions and 5 deletions.
  1. +4 −0 ackrc
  2. +7 −5 vimrc
View
4 ackrc
@@ -1 +1,5 @@
+--color
+--smart-case
--pager=less
+--ignore-dir=log/
+--ignore-dir=vendor/bundle/ruby
View
12 vimrc
@@ -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
@@ -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.
@@ -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-^>
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.