summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-10-20 18:26:52 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-10-20 18:26:52 +0200
commitb3580b6147a1d8c5d2c9168aa764b7451ab40aaa (patch)
tree6be9544b05df5abdf673c22c306edbd438f4ae8f /.vimrc
parente42ad0ae29214ce9546b1003c21b216acc3945c7 (diff)
downloaddotfiles-b3580b6147a1d8c5d2c9168aa764b7451ab40aaa.tar.gz
dotfiles-b3580b6147a1d8c5d2c9168aa764b7451ab40aaa.tar.xz
vimrc: change execute key mappings
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc15
1 files changed, 8 insertions, 7 deletions
diff --git a/.vimrc b/.vimrc
index 4b22f6c..1ccaefa 100644
--- a/.vimrc
+++ b/.vimrc
@@ -31,6 +31,7 @@ set display=uhex
set list
set listchars=tab:▸\ ,eol:$
set hidden
+set display+=lastline
"aliases
ca w!! w !sudo tee "%" > /dev/null
@@ -121,13 +122,13 @@ colorscheme wombat256
"map <F2> :let &background = ( &background == "dark" ? "light" : "dark" )<CR>
" Compile and run keymappings
-au FileType php map <F4> :!php %<CR>
-au FileType python map <F4> :!python %<CR>
-au FileType perl map <F4> :!perl %<CR>
-au FileType ruby map <F4> :!ruby %<CR>
-au FileType lua map <F4> :!lua %<CR>
-au FileType html,xhtml map <F4> :!firefox %<CR>
-au FileType tex map <F4> :!texi2pdf -c %<CR>
+au FileType php map <F10> :!php %<CR>
+au FileType python map <F10> :!python %<CR>
+au FileType perl map <F10> :!perl %<CR>
+au FileType ruby map <F10> :!ruby %<CR>
+au FileType lua map <F10> :!lua %<CR>
+au FileType html,xhtml map <F10> :!firefox %<CR>
+au FileType tex map <F10> :!texi2pdf -c %<CR>
" MiniBufExplorer
"let g:miniBufExplMapWindowNavVim = 1