Re: How do I make the current working directory follow the active document in Gvim?

2007-02-25 Thread Thor Andreassen
try :set autochdir, see :help 'autochdir'. -- with kind regards Thor Andreassen

Re: Keeping point in middle of screen

2006-07-29 Thread Thor Andreassen
ld allow one to avoid having to look up and down the > screen for the point, or to visually 'search' for it. Not sure if this is helpful, but you can scroll up/down with C-y and C-e respectively without moving the cursor. -- with kind regards Thor Andreassen

Re: navigation using f or F

2006-06-10 Thread Thor Andreassen
On Sat, Jun 10, 2006 at 10:51:24PM +0200, Marc Weber wrote: [...] > Can you do 3f{ this way ? Don't know if this is relevant, but you can do similar movements with ]} and [{, which jump to enclosing } or { respectively. -- with kind regards Thor Andreassen

Re: comment out block for perl program

2006-06-07 Thread Thor Andreassen
ght the # chars and use x to delete them when uncommenting. Other than that "The NERD Commenter"[1] looks pretty promising, haven't used it much yet though. [1] http://www.vim.org/scripts/script.php?script_id=1218 -- with kind regards Thor Andreassen

Re: File open

2006-06-03 Thread Thor Andreassen
vim, like so :!chmod u+x % the % expands to the name of the current file. -- with kind regards Thor Andreassen

Re: sftp file browsing

2006-05-30 Thread Thor Andreassen
like to be able to run something like > ':e sftp://sage/nessus_conf/' to get a directory listing. This already works with newer versions of the netrw plugin. An upgrade would probably solve this issue for you. -- with kind regards Thor Andreassen

Re: Text -> commandline

2006-05-16 Thread Thor Andreassen
> expression register (Ctrl-R =) with e.g. expressions such as getline(".") For shortcuts to inserting files and words on the commandline see the section described here: :help c__ -- with kind regards Thor Andreassen

Re: sourcing vimrc files

2006-05-15 Thread Thor Andreassen
ut that failed because source aborts when the file doesn't exist. You could probably use :runtime instead of :source. :help :runtime [...] -- with kind regards Thor Andreassen

Re: Can't compile gui version with xorg

2006-04-17 Thread Thor Andreassen
On Mon, Apr 17, 2006 at 06:01:23PM +0100, Anthony Campbell wrote: > On 17 Apr 2006, Thor Andreassen wrote: > > On Mon, Apr 17, 2006 at 04:29:30PM +0100, Anthony Campbell wrote: > > > On 17 Apr 2006, Thomas Adam wrote: > > > > > > > > ---

Re: Can't compile gui version with xorg

2006-04-17 Thread Thor Andreassen
1) is your friend. $ apt-get install apt-file $ apt-file update $ apt-file search X11/Xlib.h On my system (Unstable) the result is: /usr/X11R6/include/X11/Xlib.h Can you confirm that /usr/X11R6/include/X11/Xlib.h exists? [...] -- with kind regards Thor Andreassen

Re: using arrows in visual edit

2006-04-09 Thread Thor Andreassen
On Thu, Apr 06, 2006 at 08:20:22PM +0200, Thor Andreassen wrote: > On Thu, Apr 06, 2006 at 04:55:08PM +0100, Mark Palmer wrote: > > How can I setup vim to use the arrows keys in visual mode, when I am > > visual mode only the hjkl keys work? > > This is probably a terminal

Re: using arrows in visual edit

2006-04-08 Thread Thor Andreassen
ocedure should still work, just ignore the part about the TERM variable. Though you should find some other way to only activate these mappings when needed. -- with kind regards Thor Andreassen