summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 3001494..d430ff4 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -19,7 +19,8 @@ let g:NERDChristmasTree = 1
let g:NERDTreeStatusline = 1
let g:NERDTreeWinPos = 2
-map <f9> :make<CR>
-map <f1> :execute 'NERDTreeToggle'<CR>
+nmap <F1> :echo<CR>
+imap <F1> <C-o>:echo<CR>
+map <F1> :execute 'NERDTreeToggle'<CR>
autocmd bufnewfile *.py so ~/etc/vim/header_python