Updated tab navigation in vim and added search feature in zsh

This commit is contained in:
Tony Grosinger 2012-11-20 16:49:39 -08:00
parent c3d08bb997
commit 30d9920598
2 changed files with 8 additions and 1 deletions

2
.vimrc
View File

@ -15,7 +15,7 @@ map <leader>tn :tabnew<cr>
map <leader>to :tabonly<cr>
map <leader>tc :tabclose<cr>
map <leader>tm :tabmove
map <leader>t<leader> :tabnext
map <leader>tt :tabnext<cr>
" backup
set backup

7
.zshrc
View File

@ -51,3 +51,10 @@ alias pacman="sudo pacman"
# Source local
source ~/.zshrc_local
# Functions
# (f)ind by (n)ame
# usage: fn foo
# to find all files containing 'foo' in the name
function fn() { ls **/*$1* }