Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a mapped key revert back to default behavior

Tags:

vim

I've started to use vim in college on my schools afs server running SunOS One of the problems I'm occurring is a default Ctrl W key mapping which prints out a bunch of text I checked the mappings and found this:

<C-W> :w<CR>Go<Esc>:$r!spell %<CR>

Can someone assist me on how to restore it to the normal split screen navigation controls?

like image 318
Kam Avatar asked Sep 06 '11 23:09

Kam


1 Answers

Put this in your .vimrc: :unmap <C-W>

like image 105
Daniel Wagner Avatar answered Oct 14 '22 05:10

Daniel Wagner