Browse files

expand on install steps a bit

  • Loading branch information...
1 parent 8064207 commit 67e503e742b7e5b16ec8f0ee76b4a82098c7c0cd @JDeuce committed Mar 2, 2012
Showing with 6 additions and 1 deletion.
  1. +4 −0 .vimrc
  2. +2 −1 README.markdown
View
4 .vimrc
@@ -118,6 +118,7 @@ if !has("gui_running")
" enable the mouse
set mouse=a
set ttymouse=xterm2
+ set t_Co=256
if &term == "screen-256color"
" remap the alt+arrows to the ones we get from screen
@@ -187,12 +188,15 @@ nore ; :
" End Ctrl+H }}}
" Ctrl+R Runs Visually Selected Python Code {{{
+try
python << EOL
import vim
def EvaluateCurrentRange():
eval(compile('\n'.join(vim.current.range),'','exec'),globals())
EOL
au BufRead,BufNewFile *.py map <C-r> :py EvaluateCurrentRange()
+catch
+endtry
" End Ctrl+R }}}
" Alt+Up/Alt+Down move lines around {{{
View
3 README.markdown
@@ -5,7 +5,8 @@ This is my VIM setup. It is mostly tuned for editing python
## Installing it ##
1. Clone the repo.
- 2. Install the repo to ~/.vim, either by symlink or by directly installing it there.
+ 2. Install the repo to ~/.vim, either by symlink or by directly installing it there. (ensure it's location is in $VIMRUNTIME)
+ 3. Symlink ~/.vim/.vimrc to ~/.vimrc
## Dependencies ##

0 comments on commit 67e503e

Please sign in to comment.