can i map the number pad enter or somesuch?

2007-05-22 Thread shawn bright
hello all, Is the enter key on the numeric keypad different than the enter key of the keyboard? i was thinking that it would be super handy to map it to gg. I have a lot of long files to mess around with. thanks for any tips. shawn

question about insert mode and zz

2007-05-04 Thread shawn bright
Hey there all, i really dig the zz function to get me in the middle of the screen. i was wondering if there were an insert mode ability to do the same thing. So if i am writing a long function and get to the bottom of the screen i can move where i am at to the middle of the screen while still in

Re: question about insert mode and zz

2007-05-04 Thread shawn bright
yep, that helps, just did the map, exactly what i was looking for, thanks shawn On 5/4/07, Tim Chase [EMAIL PROTECTED] wrote: i really dig the zz function to get me in the middle of the screen. i was wondering if there were an insert mode ability to do the same thing. So if i am writing a

about fonts in gvim

2007-04-18 Thread shawn bright
hey there all, is there a way i can permanently set the font for gvim ? i can't find a config file for it. thanks

Re: about fonts in gvim

2007-04-18 Thread shawn bright
Worked like a champ. fortunatly, i have gtk2 running almost every machine i dev on. i use fluxbox at home but set the gtk2 options when logging in. thanks much for this. sk On 4/18/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: shawn bright wrote: hey there all, is there a way i can

how to create a command

2007-04-15 Thread shawn bright
hello there vim dudes. i am using the gmail.vim plugin. Its cool, and allows me to send myself messages. This is how i keep my TODO list, with filters and gmail plus addressing. So anyway. It uses a command like this :GMSend someemailaddress. now, since i am using the same email address

Re: how to create a command

2007-04-15 Thread shawn bright
* -Original Message- From: shawn bright [mailto:[EMAIL PROTECTED] Sent: Sunday, April 15, 2007 12:38 PM To: vimlist Subject: how to create a command hello there vim dudes. i am using the gmail.vim plugin. Its cool, and allows me to send myself messages. This is how i keep my TODO list, with filters

command to delete just whitespace

2007-04-15 Thread shawn bright
Hey there, i am looking for a command that will delete all whitespace up until the first character. for example []some_characters []some_characters. i could not find a command to do this ( or perhaps read the cheat sheet and :help d wrong ) thanks sk

Re: command to delete just whitespace

2007-04-15 Thread shawn bright
ok, let me clarify a bit more. i just need to delete the white space between the cursor and the next character. sorry. sk On 4/15/07, Jean-Rene David [EMAIL PROTECTED] wrote: * shawn bright [2007.04.15 20:15]: Hey there, i am looking for a command that will delete all whitespace up until

Re: command to delete just whitespace

2007-04-15 Thread shawn bright
funny, never noticed that dw works if there is no characters under it. thanks sk On 4/15/07, Suresh Govindachar [EMAIL PROTECTED] wrote: ok, let me clarify a bit more. i just need to delete the white space between the cursor and the next character. sorry. sk In normal mode,

problem with shifting block

2007-04-13 Thread shawn bright
lo there, i am using visual mode and shift to indent a block of code. the problem i am having is that once i do this, the visual mode is gone. So, i have to re-select everything and do it again. Is there a command to repeat the last shift ? or better yet, is there a better way to shift code

how to delete all occur of a character

2007-04-09 Thread shawn bright
lo there, i have a file ( actually a group of them ) and i need to delete the quotation marks in each file, i am sure that vim has a tool for this. sk

quick query about moving a selection

2007-04-03 Thread shawn bright
lo there, i know with i can move a selection to the right by one indent, how can i move a selection just one space ? thanks sk

Re: quick query about moving a selection

2007-04-03 Thread shawn bright
cool enough, thanks, tim sk On 4/3/07, Tim Chase [EMAIL PROTECTED] wrote: i know with i can move a selection to the right by one indent, how can i move a selection just one space ? Well, if you want to move by one indent, you can :set sw=1 ts=1 et which will then make and

Re: bracket completion

2007-04-02 Thread shawn bright
i am finding these usefull too, thanks sk On 4/2/07, Panos Laganakos [EMAIL PROTECTED] wrote: Those are great, thanks alot :) On 4/1/07, Fritz Mehner [EMAIL PROTECTED] wrote: A.J.Mechelynck schrieb: Greg Fitzgerald wrote: Anyone know of a way to achieve bracket completion? For example

Re: bracket completion

2007-04-02 Thread shawn bright
from the docs on the website that you linked to thanks for any tips sk On 4/2/07, Greg Matheson [EMAIL PROTECTED] wrote: On Mon, 02 Apr 2007, shawn bright wrote: i am finding these usefull too, thanks Check out Luc Hermitte's development of Stephen Riehm's bracketing macros. http

ok, new question on search

2007-04-02 Thread shawn bright
lo there, when i do a search like /text it highlights all of the matches and i can use n and N to navigate. how do i turn the highlighting off when i am done? thanks sk

Re: bracket completion

2007-04-02 Thread shawn bright
Thanks Luc, i got the main functionality working, pretty much. I only really desire the bracket matching, and so far, i am really pleased. They all work except the [] . So i think maybe there is a conflict with another plugin ( i have the snippets-Emu, supertabs, and taglist plugins also. ) The

need a new way to scroll

2007-03-30 Thread shawn bright
Hello all, i find myself doing a lot of scrolling. Usually, this is when i am tracing code to see the flow of a certain thing. I know i have Ctrl-u, d, f, b for doing a page at a time, but i need to be able to scroll like a quarter of a page or maybe 20 lines at a time. I know that i can do

two questions , map and scroll

2007-03-27 Thread shawn bright
lo there, i have two quick questions. first, is there a way i can scroll text under the cursor ( so that the cursor stays on the same place in the terminal, but the text scrolls anyway ) i just think that would be really cool. second. i do a lot of rails stuff, so i open and close a lot of

Re: question about a python plugin

2007-03-25 Thread shawn bright
On 3/25/07, shawn bright [EMAIL PROTECTED] wrote: hey gents ! i found this screencast http://www.tuxed.de/vimpst/video.html does anyone know what plugin is being showed off here? thanks shawn -- Panos Laganakos

question about a python plugin

2007-03-24 Thread shawn bright
hey gents ! i found this screencast http://www.tuxed.de/vimpst/video.html does anyone know what plugin is being showed off here? thanks shawn

question about omni-complete

2007-03-22 Thread shawn bright
lo there, i just discovered omni-complete . i am starting to use vim for some python and ruby scripting for work. i found omni-complete. I can type time.ctrl-x ctrl-o and a list of funtions pop up for me to choose. but how do i navigate the list without using arrow keys ? it is getting kinda

question about search

2007-03-21 Thread shawn bright
hello there, i am kinda new to vim, so i am wanting to learn the stuff that i think i will use the most first. One of the things i use a lot is search. i have found how to do a search like this /:s/reg/reg is there a way i can tab through the finds ? thanks

Re: question about search

2007-03-21 Thread shawn bright
cool, thanks, i knew there had to be something. thanks again. sk On 3/21/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: shawn bright wrote: hello there, i am kinda new to vim, so i am wanting to learn the stuff that i think i will use the most first. One of the things i use a lot is search. i

question about auto indenting tab width

2007-02-21 Thread shawn bright
lo there all. i found where i can set my tab stop in .vimrc to 4, but i can't seem to find where to set it to 4 when i have an auto indent. for example, in python, if i do a for x in range(20): it auto indents 8 spaces and i need it to auto indent 4 any tips are appreciated. thanks

Re: question about auto indenting tab width

2007-02-21 Thread shawn bright
ok, thanks, gents shawn On 2/21/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: shawn bright wrote: lo there all. i found where i can set my tab stop in .vimrc to 4, but i can't seem to find where to set it to 4 when i have an auto indent. for example, in python, if i do a for x in range(20

hello again

2007-02-21 Thread shawn bright
hello again from the newbie. i was wondering if there is an option to use spaces instead of tabs in my indenting and tabbing, especially when in python. This wouldn't be an issue, but i have written most of my stuff in JEdit using soft tabs and now when i mess with one of the files in vim, i

question about mapping

2007-02-19 Thread shawn bright
hello there all, i am very new to vim, but i really dig it. I tried out a script plugin from vim.org and when i start vim, there is an error message that says Error detected while processing /home/piv/.vim/plugin/snippetsE mu.vim: line 163: E227: mapping already exists for ^I i guess i need to