diff --git a/.netrwhist b/.netrwhist index 5951615..cd2e018 100644 --- a/.netrwhist +++ b/.netrwhist @@ -1,6 +1,10 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =4 +let g:netrw_dirhist_cnt =8 let g:netrw_dirhist_1='/Users/kreitz' let g:netrw_dirhist_2='/Users/kreitz/.fontconfig' let g:netrw_dirhist_3='/Users/kreitz' let g:netrw_dirhist_4='/Users/kreitz/repos/public/tablib' +let g:netrw_dirhist_5='/Users/kreitz' +let g:netrw_dirhist_6='/Users/kreitz/repos/public/tablib' +let g:netrw_dirhist_7='/Users/kreitz/.vim' +let g:netrw_dirhist_8='/Users/kreitz/repos/public/tablib' diff --git a/autojump_py b/autojump_py new file mode 100644 index 0000000..dcd6bcc Binary files /dev/null and b/autojump_py differ diff --git a/autojump_py.bak b/autojump_py.bak new file mode 100644 index 0000000..06c9183 Binary files /dev/null and b/autojump_py.bak differ diff --git a/plugin/rainbow_parenthsis.vim b/plugin/rainbow_parenthsis.vim deleted file mode 100644 index e5e3806..0000000 --- a/plugin/rainbow_parenthsis.vim +++ /dev/null @@ -1,40 +0,0 @@ -"------------------------------------------------------------------------------ -" Description: Rainbow colors for parenthsis -" $Id: rainbow_parenthsis.vim 29 2007-09-24 11:40:36Z krischik@users.sourceforge.net $ -" Copyright: Copyright (C) 2006 Martin Krischik -" Maintainer: Martin Krischik -" John Gilmore -" $Author: krischik@users.sourceforge.net $ -" $Date: 2007-09-24 13:40:36 +0200 (Mo, 24 Sep 2007) $ -" Version: 4.0 -" $Revision: 29 $ -" $HeadURL: https://vim-scripts.googlecode.com/svn/trunk/1561%20Rainbow%20Parenthsis%20Bundle/plugin/rainbow_parenthsis.vim $ -" History: 24.05.2006 MK Unified Headers -" 15.10.2006 MK Bram's suggestion for runtime integration -" 06.09.2007 LH Buffer friendly (can be used in different buffers), -" can be toggled -" 09.09.2007 MK Use on LH's suggestion but use autoload to -" impove memory consumtion and startup performance -" 09.10.2007 MK Now with round, square brackets, curly and angle -" brackets. -" Usage: copy to plugin directory. -"------------------------------------------------------------------------------ -" This is a simple script. It extends the syntax highlighting to -" highlight each matching set of parens in different colors, to make -" it visually obvious what matches which. -" -" Obviously, most useful when working with lisp or Ada. But it's also nice other -" times. -"------------------------------------------------------------------------------ - -command! -nargs=0 ToggleRaibowParenthesis call rainbow_parenthsis#Toggle() - -finish - -"------------------------------------------------------------------------------ -" Copyright (C) 2006 Martin Krischik -" -" Vim is Charityware - see ":help license" or uganda.txt for licence details. -"------------------------------------------------------------------------------ -" vim: textwidth=78 wrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab -" vim: filetype=vim foldmethod=marker diff --git a/plugin/vimtwitter.vim b/plugin/vimtwitter.vim deleted file mode 100644 index d66e784..0000000 --- a/plugin/vimtwitter.vim +++ /dev/null @@ -1,85 +0,0 @@ -" Twitter with Vim -" Language: Vim Script -" Maintainer: Travis Jeffery -" Maintainer: Po Shan Cheah -" Created: 14 January 2008 -" Last Change: March 27, 2008 -" GetLatestVimScripts: 2124 1 [:AutoInstall:] vimtwitter.vim -" ============================================================== - -" Get proxy setting from vimtwitter_proxy in .vimrc or _vimrc. -" Format is proxysite:proxyport -if exists('vimtwitter_proxy') - let s:proxy = "-x " . vimtwitter_proxy -else - let s:proxy = "" -endif - -" Get Twitter login info from vimtwitter_login in .vimrc or _vimrc. -" Format is username:password -if exists('vimtwitter_login') - let s:login = "-u " . vimtwitter_login -else - echoerr "Vimtwitter login not set. Please set vimtwitter_login in .vimrc to USER:PASS." - finish -endif - -" Load this module only once. -if exists('loaded_vimtwitter') - finish -endif -let loaded_vimtwitter = 1 - -" The extended character limit is 246. Twitter will display a tweet longer than -" 140 characters in truncated form with a link to the full tweet. If that is -" undesirable, set s:char_limit to 140. -let s:char_limit = 246 - -let s:twupdate = "http://twitter.com/statuses/update.xml?source=vim" - -function! s:post_twitter(mesg) - let mesg = a:mesg - - " Remove trailing newline. You see that when you visual-select an entire - " line. Don't let it count towards the tweet length. - let mesg = substitute(mesg, '\n$', '', "") - - " Convert internal newlines to spaces. - let mesg = substitute(mesg, '\n', ' ', "g") - - " Check tweet length. Note that the tweet length should be checked before - " URL-encoding the special characters because URL-encoding increases the - " string length. - if strlen(mesg) > s:char_limit - echo "Your tweet has" strlen(mesg) - s:char_limit "too many characters. It was not sent." - else - " URL-encode some special characters so they show up verbatim. - let mesg = substitute(mesg, '%', '%25', "g") - let mesg = substitute(mesg, '"', '%22', "g") - let mesg = substitute(mesg, '&', '%26', "g") - - call system("curl ".s:proxy." ".s:login.' -d status="'.mesg.'" '.s:twupdate) - echo "Your tweet was sent. You used" strlen(mesg) "characters." - endif -endfunction - -function! s:CmdLine_Twitter() - call inputsave() - let mesg = input("Your Twitter: ") - call inputrestore() - call s:post_twitter(mesg) -endfunction - -" Prompt user for tweet. -command! PosttoTwitter :call CmdLine_Twitter() - -" Post current line to Twitter. -command! CPosttoTwitter :call post_twitter(getline('.')) - -" Post entire buffer to Twitter. -command! BPosttoTwitter :call post_twitter(join(getline(1, "$"))) - -" Post visual selection to Twitter. -vmap T y:call post_twitter(@") - -" vim:set tw=0: diff --git a/vimrc b/vimrc index 9750790..4b9f6cb 100755 --- a/vimrc +++ b/vimrc @@ -71,23 +71,14 @@ vmap >gv " comments -imap gcc nmap gcc vmap gcgv " Toggle show invisibles nmap i :set list! -" Use the below highlight group when displaying bad whitespace is desired. -highlight BadWhitespace ctermbg=red guibg=red -" Make trailing whitespace be flagged as bad. -au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ -" For full syntax highlighting: -let python_highlight_all=1 - -"set iskeyword+=. autocmd FileType python set omnifunc=pythoncomplete#Complete autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS @@ -96,8 +87,7 @@ autocmd FileType css set omnifunc=csscomplete#CompleteCSS set mouse=a -set guifont=Inconsolata:h13 -color molokai + map @@ -106,4 +96,12 @@ if has("gui_macvim") set guioptions-=T macmenu &File.New\ Tab key= map PeepOpen + set guifont=Inconsolata:h13 + color molokai endif +" command! -nargs=0 ToggleRaibowParenthesis call rainbow_parenthsis#Toggle() +" Use the below highlight group when displaying bad whitespace is desired. + +" Make trailing whitespace be flagged as bad. +au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ +highlight BadWhitespace ctermbg=red guibg=red \ No newline at end of file