Permalink
Browse files

added yank last arg to input irc and got rid of some config in vimrc

  • Loading branch information...
sontek committed Dec 1, 2011
1 parent 8cca8c5 commit deee1583403875a1fcc576677d5dd57cb7647cb5
Showing with 9 additions and 6 deletions.
  1. +2 −0 _inputrc
  2. +7 −6 _vimrc
View
@@ -28,6 +28,8 @@ $if mode=vi
# auto-complete from the history
"\C-p": history-search-backward
"\C-n": history-search-forward
+ "\C-s": yank-last-arg
+ "\C-a":yank-last-arg
$endif
# IPython needs this to appear at the bottom of the
View
13 _vimrc
@@ -73,7 +73,6 @@ nmap <leader>sb :call SplitScroll()<CR>
" sudo write this
cmap W! w !sudo tee % >/dev/null
-
" Toggle the tasklist
map <leader>td <Plug>TaskList
@@ -91,9 +90,7 @@ nmap <silent><Leader>te <Esc>:Pytest error<CR>
" Run django tests
map <leader>dt :set makeprg=python\ manage.py\ test\|:call MakeGreen()<CR>
-" ,v brings up my .vimrc
-" ,V reloads it -- making all changes active (have to save first)
-map <leader>v :sp ~/.vimrc<CR><C-W>_
+" Reload Vimrc
map <silent> <leader>V :source ~/.vimrc<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR>
" open/close the quickfix window
@@ -156,7 +153,11 @@ set vb t_vb=
" Ignore these files when completing
set wildignore+=*.o,*.obj,.git,*.pyc
-set grepprg=ack-grep " replace the default grep program with ack
+set wildignore+=eggs/**
+set wildignore+=*.egg-info/**
+
+set grepprg=ack " replace the default grep program with ack
+
" Set working directory
nnoremap <leader>. :lcd %:p:h<CR>
@@ -242,7 +243,7 @@ else
endif
" Paste from clipboard
-map <leader>p "+gP
+map <leader>p "+p
" Quit window on <leader>q
nnoremap <leader>q :q<CR>

0 comments on commit deee158

Please sign in to comment.