summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-11-06 15:09:24 +0100
committerStefan Ritter <xeno@thehappy.de>2009-11-06 15:09:24 +0100
commitca585853bd2adfbc459e2928d45ec60e25843847 (patch)
tree60f0ba7db404f7b1522197b4f8ce55fb59c1e62a /vim
parent543d4953a13d9348a1b18820c6ed7427e578b38b (diff)
Deactivated F1 while in insertmode in vim
Diffstat (limited to 'vim')
-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