Sponsored Content
Full Discussion: Vim tips and tricks
Top Forums UNIX for Beginners Questions & Answers Vim tips and tricks Post 302525996 by ifthanwhile on Monday 30th of May 2011 03:10:45 AM
Old 05-30-2011
This thread is a little old, I hope I dont have to make a new one for this.

On most systems the arrow keys will give you control of the cursor, however when I was first learning my arrow keys just stopped working in vim. I found the solution somewhere and it was just a simple command to run before using vim every day so i added it to my .profile and forgot about it. Now I am miles away from my work computer so have no way to look it up, so if someone knows what I am talking about and can clarify or at least post the command I think that would make a great addition to this thread. I will try to find it and post it here. If no one beats me to it.

As a new user that almost made me want to give up, I couldn't scroll and so for me there was nothing better than cat.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

tar tricks

Hello there, Is there anyway to make the tar utility print the contents of the files inside it (not list the files, but rather their contents) sequentially from the command line? What I ultimately would like to do is to have a way of printing the contents of each file in the tar archive... (2 Replies)
Discussion started by: neked
2 Replies

2. Shell Programming and Scripting

need couple of ksh tricks please

1) I ran myScript with 2 arguments, I meant to use 3 if I do r my, it will rerun it with the 2 arguments. is there a way I can do r my and add a third argument at the end? 2) say I did myAcript.ksh 2 5 7 8 I realise my typo. is there an easy way to redo the command replacing A with S? ... (4 Replies)
Discussion started by: JamesByars
4 Replies

3. Post Here to Contact Site Administrators and Moderators

Solaris tips and tricks

What do you think could we open new top topic with tips and tricks and to show to other users some tricks what do we know like dtrace , new virtual server , how to add new users etc. This is only suggestion (1 Reply)
Discussion started by: solaris_user
1 Replies

4. UNIX for Dummies Questions & Answers

Sed Tricks

I have a file which containd a string "old" and I need to replace all old with "new" if and only if it is a string not part of a string like Gold or fold etc. I tried with sed like below echo "old gold old" | sed 's/old/new/g' It doesn't give the desired output, It give "old Gnew new".... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

5. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

6. UNIX for Advanced & Expert Users

Basic VI tricks

I found a decent guide of VI basic tricks. This guide does expect you to have a decent understanding of VI. It does not go over very much beginner related. vi Manual (3 Replies)
Discussion started by: cokedude
3 Replies
vim-addon-manager(1)					      General Commands Manual					      vim-addon-manager(1)

   ["NAME"]
       vim-addon-manager - command line manager of Vim add-ons

   ["SYNOPSIS"]
       vim-addons [OPTION ...] [COMMAND [ADDON ...]]

   ["DESCRIPTION"]
       Manage Vim addons installed system-wide, enabling on a per-user basis their installation, removal, ...

       vim-addons  is  capable	of  managing  all Vim addons registered in the system-wide registry of Vim addons (see vim-registry(5)). Each sys-
       tem-wide addon can be, with respect to a user Vim configuration, in one of the following states:

       ["installed"]
	      all of the files composing the addon are installed (i.e. symlinked) to their respective places under the target directory. The addon
	      is fully functional for the current user

       ["removed"]
	      the  files  composing the addon are not installed under the target directory.  The addon might still be working for the current user
	      if it is installed system-wide by the local administrator

       ["disabled"]
	      the files composing the addon are not installed under the target directory, but the addon is  installed  system-wide.  However,  the
	      addon has been disabled for the current user explicitly via some configuration line in plugin/vim-addons.vim under the target direc-
	      tory. The addon is not working for the current user

       ["broken"]
	      only some of the files composing the addon are installed under the target directory. The addon is probably not working for the  cur-
	      rent user

       ["unavailable"]
	      some (or all) of the files composing the addon are missing from the source directory

   ["COMMANDS"]
       A  number  of  commands	can  be  given to vim-addons to inspect or alter the status of the addons: list, status, install, remove, disable,
       amend, files, show.

       A description of the semantics of each command is reported below.

       ["list"]
	      list, one per line, the names of the addons available in the system (i.e. of all the addons mentioned in the registry, not necessar-
	      ily of all enabled addons)

       ["status"]
	      show,  one  per  line,  the status of the addons available in the system. If one or more addon arguments are specified only show the
	      status of those addons.  This is the default command if nothing is specified.

       ["install"]
	      install one or more addons under the target directory. Requires at least one addon argument

       ["remove"]
	      remove one or more addons from the target directory. Requires at least one addon argument

       ["disable"]
	      disable one or more addons to be used by the current user. Usually used for addons which are system-wide enabled by the local admin-
	      istrator	but  that  the	current  user  does not want to be used. Using this command will automatically change the content of plug-
	      in/vim-addons.vim under the target directory, probably adding ":let" commands which will inhibit the given addon	from  being  used.
	      Requires at least one addon argument

       ["enable"]
	      undo the effects of a previous disable command. Requires at least one addon argument

       ["files"]
	      list,  one  per  line, the files composing the specified addons. Files are listed relative to components of the Vim runtimepath (see
	      'runtimepath' in the Vim help). Requires at least one addon argument

       ["show"]
	      displays detailed information about the specified addons

   ["OPTIONS"]
       All commands accept the following options:

       ["-h, --help"]
	      show this usage message and exit

       ["-q, --query"]
	      be quiet and make the output more parseable (for "status")

       ["-r, --registry-dir"]
	      set the registry directory (default: /usr/share/vim/registry)

       ["-s, --source-dir"]
	      set the addons source directory (default: /usr/share/vim/addons)

       ["-t, --target-dir"]
	      set the addons target directory (default: $HOME/.vim)

       ["-v, --verbose"]
	      increase verbosity level

       ["-z, --silent"]
	      silent mode: supress most of the output

       ["-y, --system-dir"]
	      set the system-wide target directory (default: /var/lib/vim/addons)

       ["-w, --system-wide"]
	      set the addons target directory to the system-wide target directory, possibly overriding the -t option

   ["AUTHOR"]
       Stefano Zacchiroli <zack@debian.org> James Vega <jamessan@debian.org>

   ["SEE ALSO"]
       vim(1), vim-registry(5)

   ["COPYRIGHT"]
       Copyright (C) 2007 Stefano Zacchiroli Copyright (C) 2009 James Vega

       This program is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as pub-
       lished by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

								   October 2012 					      vim-addon-manager(1)
All times are GMT -4. The time now is 10:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy