Your message dated Fri, 21 Dec 2007 23:38:42 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#204373: Current status
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: vim-gtk
Version: 1:6.1-474+2
I have these lines in my .vimrc:
" Use Ctrl-J just like in pico or nano
nmap <C-J> vipgq
nmap <C-J> gq
With those settings I was able to justify text with Ctrl-J just like in
pico or nano. But somehow that stopped working! Now my Vim just goes to
insert-mode and nothing else happens.
I released all my Vim-configs here:
http://iki.fi/juhtolv/configs/vim/
--
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Me kestäisimme toisiltamme mitä tahansa. Se mitä saisin sinulta, se voisi
korvata ne levottomat illat sekä unettomat yöt, ajat turhan hapuilun ja
mitättömät työt." Zen Café
--- End Message ---
--- Begin Message ---
On Sat, Dec 22, 2007 at 04:50:31AM +0200, Juhapekka Tolvanen wrote:
>
> Right now I have these mapping in my ~/.vimrc
>
> " Use Ctrl-J to justify just like in pico or nano
> " In Vim LaTeX Suite Ctrl-j is already reserved.
>
> " In visual mode format the highlighted text
> "vmap <C-J> gq<CR>
> vmap <C-J> gq
>
> " In normal mode format current paragraph
> "nmap <C-J> gqap<CR>
> nmap <C-J> gqap
>
> " In insert mode format current paragraph
> "imap <C-J> <ESC>gqap<CR>i
> imap <C-J> <ESC>gqapi
>
> " Use Ctrl-J just like in pico or nano
> "nmap <C-J> vipgq
>
>
> If I give these commands right after startup:
>
> [snip]
>
> These mappings do not work:
>
> " In visual mode format the highlighted text
> "vmap <C-J> gq<CR>
> vmap <C-J> gq
>
> " In normal mode format current paragraph
> "nmap <C-J> gqap<CR>
> nmap <C-J> gqap
Then it looks like something that's sourced after your .vimrc is setting
up maps using those keys (probably the latexsuite plugin like your
comment suggests). Start Vim and run:
:verbose vmap <C-j>
:verbose nmap <C-j>
That should tell you what plugin/script is conflicting with your maps.
You can either remove that script or put the mappings in ~/.vim/after/
file that mirrors the script setting the maps. I'll go ahead and close
this bug now since it's not a problem with Vim but a configuration
issue.
James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature
--- End Message ---