RE: reverting keymaps for location-list buffer

2015-05-02 Thread John Beckett
Stephan Sahm wrote: I remapped CR and I really like my remapping. There are however some problems For quickfix buffers I found this: autocmd BufReadPost quickfix nnoremap CR CR is there something similar for location-list buffers? To make Enter work normally in a quickfix window, rather

RE: BufReadPost event for location list

2015-05-02 Thread John Beckett
Stephan Sahm wrote: I want to do the following for location-list buffers: autocmd BufReadPost quickfix nnoremap CR CR Please don't ask essentially the same question twice. See my answer to the other question. John -- -- You received this message from the vim_use maillist. Do not

Re: reverting keymaps for location-list buffer

2015-05-02 Thread Stephan Sahm
an afterglow: is there a listing about which .vim file belongs to which standard feature? where have you known from that it is qf.vim? On 2 May 2015 at 10:01, Stephan Sahm stephan.s...@gmx.de wrote: works like a charm - impressively easy solution =) thank you very much and have a nice

RE: reverting keymaps for location-list buffer

2015-05-02 Thread John Beckett
Stephan Sahm wrote: is the vimfiles folder maybe wrong? must it be somewhere under .vim/ maybe? Sorry, my confusion. For a Unix-based system, create file (you may have to create the directory first): ~/.vim/ftplugin/qf.vim containing the single line: nnoremap buffer CR CR The above should

Re: reverting keymaps for location-list buffer

2015-05-02 Thread Stephan Sahm
Dear John, thank you very much for the answer and sorry for the doubled topic (I was used to mailinglists and a kind of immediate feedback so got confused by the topic structure of google groups. I wrote a mail and meantime because of no response also posted a topic - where I still got no

Strange behavior after insert some shortcuts...

2015-05-02 Thread Raphael Rabelo de Oliveira
Hello guys, I'm trying to add some shortcuts to my vimrc file, but a weird behavior is happening: When i use the new shortcuts, the vim moves the cursor automatically, it's a very strange! I'm sending my good vimrc: http://pastebin.com/aCKJD4a2 Here the new shortcuts that I want insert:

Re: Vim renders garbled text with certain files, while other text editors have no problem.

2015-05-02 Thread Tim Chase
On 2015-05-02 10:53, Bidit Mazumder wrote: I opened the attached file com.apple.TextEdit.plist using MacVim's factory settings: mvim -u NONE -U NONE -N --cmd ':filetype plugin on' com.apple.TextEdit.plist. MacVim rendered a bunch of garbled text (see vim.tiff). I tried the same process with

Re: Vim renders garbled text with certain files, while other text editors have no problem.

2015-05-02 Thread Bidit Mazumder
Thanks Tim. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group.

Vim renders garbled text with certain files, while other text editors have no problem.

2015-05-02 Thread Bidit Mazumder
I opened the attached file com.apple.TextEdit.plist using MacVim's factory settings: mvim -u NONE -U NONE -N --cmd ':filetype plugin on' com.apple.TextEdit.plist. MacVim rendered a bunch of garbled text (see vim.tiff). I tried the same process with Vim and Vi and the rendered text was garbled

Re: reverting keymaps for location-list buffer

2015-05-02 Thread Stephan Sahm
works like a charm - impressively easy solution =) thank you very much and have a nice weekend, best, Stephan On 2 May 2015 at 09:56, John Beckett johnb.beck...@gmail.com wrote: Stephan Sahm wrote: is the vimfiles folder maybe wrong? must it be somewhere under .vim/ maybe? Sorry, my