tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Unmapping K #163

Closed daGrevis closed 10 years ago

daGrevis commented 10 years ago

Any option, hack to unmap K? It's set to moving to right tab in my .vimrc and I'm going crazy each time I press it and help split pops out.

tpope commented 10 years ago

nunmap <buffer> K in after/ftplugin/clojure.vim.

daGrevis commented 10 years ago

It says that there is no such mapping. If I execute the command manually, it does the trick.

I also tried many hacks with autocmd, but they don't seem to work.

autocmd FileType clojure nunmap <buffer> K

autocmd BufNewFile,BufRead *.clj,*.cljs nunmap <buffer>

autocmd BufNewFile,BufRead *.clj,*.cljs nmap <S-k> :tabnext<CR>
tpope commented 10 years ago

If it's that much trouble I'll just add a special case not to clobber it. K is pretty non-essential.

daGrevis commented 10 years ago

Thanks a lot. :+1: