Re: Problem with :only remaping

2012-05-10 Thread Krzysztof
On May 10, 9:12 am, Chris Jones wrote: > On Wed, May 09, 2012 at 06:32:50PM EDT, Krzysztof wrote: > > > I will try to clarify. > > > First the problem: > > noremap O :echo "You dont want this" etc. this is to block > > :only > > What I mean

Re: Problem with :only remaping

2012-05-09 Thread Krzysztof
On May 8, 8:42 am, Chris Jones wrote: > On Fri, Apr 27, 2012 at 08:34:29AM EDT, Krzysztof wrote: > > Hi > > > I am notorious use vim with many splits. > > Because my sloppy typing skills I have problem with > > :only option > > > or rather shortucts >

Problem with :only remaping

2012-04-27 Thread Krzysztof
Hi I am notorious use vim with many splits. Because my sloppy typing skills I have problem with :only option or rather shortucts CTRL-W CTRL-O To workaround that I added to .vimrc "block only one nnoremap O :echo "You dont want this" nnoremap o :echo "You dont want this" nnoremap :echo "You do

Re: mark.vim is disabled after restoring workspace last used

2012-04-27 Thread Krzysztof
Hi, which Mark.vim you are using: http://www.vim.org/scripts/script.php?script_id=1238 or http://www.vim.org/scripts/script.php?script_id=2666 I haven't used any of those but there is a chance that http://www.vim.org/scripts/script.php?script_id=2666 will support restoring from session. At lea

Re: pasting nonASCII characters into vim from clipboard

2012-04-17 Thread krzysztof cierpisz
On Apr 17, 8:40 am, "Christian Brabandt" wrote: > On Tue, April 17, 2012 08:33, krzysztof cierpisz wrote: > > I am on Ubuntu and using Gnome Terminal 2.30.2 > > > 1. I copied following word "zużycia" from my Chrome browser (encoding > > UTF-8) to c

pasting nonASCII characters into vim from clipboard

2012-04-16 Thread krzysztof cierpisz
I am on Ubuntu and using Gnome Terminal 2.30.2 1. I copied following word "zużycia" from my Chrome browser (encoding UTF-8) to clipboard. 2. then I pasted into my Vim (7.3.315) and pasted word appeared as "zużycia" :set enc => utf-8 3. when I paste the same word from 1. into Terminal (without o

Vim latex ctags database for omnifunc ?

2011-06-12 Thread Krzysztof
Hi, I just started using latex, and I am using vim quite a while and I am looking for some plugin for completion. I am using supertab plugin and ctags database for C++ completion and I am quite happy with that. All in all everything works nicely, and I have tab completion based on ctags at hand a

How to delete lines that begins...

2010-09-16 Thread Krzysztof Walkiewicz
Hi list! I have 2 questions: 1) how to delete lines that begins by a digit? 2) how to delete lines that begins by a '<' sign? Thanks in advance, Regards/Pozdrawiam Krzysztof Walkiewicz -- You received this message from the "vim_use" maillist. Do not top-post! Type yo

Re: Python: module-aware jumping to class definition - possible?

2009-12-28 Thread Krzysztof Walo
On 24 Gru, 08:44, Piotr Czachur wrote: > Hi! > > Lets assume I got InterestingClass definitions in variouspython > modules. > I've set proper PYTHONPATH for VIM. > > I'm heavy wondering whether it is possible to jump from: > ### my/package/one.py > from my.other_package.two import utils > class

Re: dbext multiple profiles for same server

2009-12-01 Thread krzysztof cierpisz
> Chris, thanks for providing what you did, it was enough for me to > reproduce what you are seeing. > > I have corrected the problem for the next release of dbext. > > The issue is the use of "profile" in "computerprofile".  If you change > the name to something else: "computerpfile", you can work

dbext multiple profiles for same server

2009-12-01 Thread krzysztof cierpisz
these are my current profiles for dbext in my .vimrc file: let g:dbext_default_profile_chris_emeadb11 = 'type=ORA:user=chris:passwd=:host=10.165.248.252:port=1521:srvname=emeadb11' "let g:dbext_default_profile_chris_emeadb = 'type=ORA:user=chris:passwd=:host=10.165.252.86:port=1521:srvname=

dbext multiple profiles for same server

2009-12-01 Thread krzysztof cierpisz
these are my current profiles for dbext in my .vimrc file: let g:dbext_default_profile_chris_emeadb11 = 'type=ORA:user=chris:passwd=:host=10.165.248.252:port=1521:srvname=emeadb11' "let g:dbext_default_profile_chris_emeadb = 'type=ORA:user=chris:passwd=:host=10.165.252.86:port=1521:srvname=

Re: :set nu -> how to copy lines with line numbers?

2009-04-06 Thread krzysztof cierpisz
> > fu! YankNu(first, last) >         let start=a:first >         let l=[] >         while start <= a:last >                 let l = add(l,printf("%".len(a:last) . "d %s",start , " " . > getline(start))) >                 let start+=1 >         endwhile >         return join(l,"\n") . "\n" > end

:set nu -> how to copy lines with line numbers?

2009-04-06 Thread krzysztof cierpisz
when I mark in visual mode, only the text itself (what do we need normally) is marked. sometimes I would like to select the interesting lines with the line numbers from the left margin. how to copy them along with the text? thanks, chris --~--~-~--~~~---~--~~ You

Re: E596: invalid font(s): guifont=Monaco\ 16

2009-01-20 Thread krzysztof cierpisz
On 19 Jan., 15:23, krzysztof cierpisz wrote: > > $ sudo apt-get install libgtk2.0-dev > > had already installed -> did not help > > > Or maybe even better to install all packages required to build vim-gnome > > with: > > > $ sudo apt-get build-dep vim-

Re: E596: invalid font(s): guifont=Monaco\ 16

2009-01-19 Thread krzysztof cierpisz
> $ sudo apt-get install libgtk2.0-dev had already installed -> did not help > Or maybe even better to install all packages required to build vim-gnome with: > > $ sudo apt-get build-dep vim-gnome > > Then try to run ./configure script again. Hopefully it should then find gtk2. installed all d

Re: E596: invalid font(s): guifont=Monaco\ 16

2009-01-19 Thread krzysztof cierpisz
On 19 Jan., 14:35, Jürgen Krämer wrote: > GTK 1 uses a different font naming scheme than GTK 2. You should either > get a Vim 7.2 compiled for GTK 2 or have a look at I try to compile with GTK 2 but still configure shows: checking for gtk-config... (cached) /usr/bin/gtk-config checking for pkg-

E596: invalid font(s): guifont=Monaco\ 16

2009-01-19 Thread krzysztof cierpisz
This error message appears in newly compiled Vim7.2: E596: invalid font(s): guifont=Monaco\ 16 Font is of course not set. When I run older Vim 7.0 (shipped with my linux distro) I see no issues, and font is set accordingly Do I need to compile anything additionally? Why the compiled Vim cannot

Re: dbext oracle connection under windows xp

2009-01-10 Thread krzysztof cierpisz
> Chris, I was just about to release version 9.00 of dbext, so good timing. > > I have incorporate Anton's patch in the 9.00 release available now. > > Thanks for reporting the problem. > > Dave Many thanks to both of you. Just pulled the new version and it rocks. One question to the completion

dbext oracle connection under windows xp

2009-01-09 Thread krzysztof cierpisz
I use dbext.vim plugin on both Linux and Windows, and in Windows env I noticed strange behaviour when the command line window with: C:\WINDOWS\system32\cmd.exe /c sqlplus -S kcierpisz/*...@somehost.com @C:\DOCUME~1\chris\LOCALS~1\Temp/dbext.sql >C:\DOCUME~1\chris \LOCALS~1\Temp\VIo2682.tmp 2>&1 s