Difference between revisions of "Talk:Vim"

From ArchWiki
Jump to: navigation, search
(Usage section deletion: re)
(Usage section deletion: edit + close)
Line 24: Line 24:
 
:::Somehow I'm losing the connection between {{ic|:h mouse}} and {{ic|:h clipboard}}...? Anyway, if you find it appropriate to describe the X11 features more thoroughly, just start a new section. [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 21:06, 15 January 2016 (UTC)
 
:::Somehow I'm losing the connection between {{ic|:h mouse}} and {{ic|:h clipboard}}...? Anyway, if you find it appropriate to describe the X11 features more thoroughly, just start a new section. [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 21:06, 15 January 2016 (UTC)
  
== Usage section deletion ==
+
== <s>Usage section deletion</s> ==
  
 
A 7000 character, popular section was deleted. Many people contributed to this section. Had thought been given to discuss this first? — [[User:Todd Weed|Todd Weed]] ([[User talk:Todd Weed|talk]]) 21:16, 12 February 2016 (UTC)
 
A 7000 character, popular section was deleted. Many people contributed to this section. Had thought been given to discuss this first? — [[User:Todd Weed|Todd Weed]] ([[User talk:Todd Weed|talk]]) 21:16, 12 February 2016 (UTC)
  
:Said "popular" section was in the end nothing more than 1. copy pasted from the gentoo wiki 2. a poor duplicate of the upstream vimtutor. Beginners are better off going with latter resource. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 21:25, 12 February 2016 (UTC)
+
:Said "popular" section was in the end nothing more than 1. copy pasted from the gentoo wiki 2. a poor duplicate of the upstream vimtutor. Beginners are better off going with latter resource.
 +
:Besides, said topic was already discussed 4 years ago: see [https://wiki.archlinux.org/index.php?title=Talk:Vim&diff=419855&oldid=415524]. Closing. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 21:25, 12 February 2016 (UTC)

Revision as of 21:27, 12 February 2016

Advanced vim usage?

Could a wise vim wizard share with us the art of advanced vim usage using plugins and commands not explained in this article? --Svenstaro 22:45, 19 August 2009 (EDT)

I am not a wizard, but regardless, one of the things to do is simply peruse the quickref and try to think of when such and such command or keystroke could be useful. Read the associated documentation for those you are interested in. See also Jonathan McPherson's article on efficient editing as well as Bram Moolenar's version. --khne522 Forgot to sign at the moment of posting.
Close. We should leave good vim link instead of duplicate information. --Fengchao (talk) 02:22, 10 February 2016 (UTC)

256 Colorschemes

There should be a comment somewhere in the vimrc example pointing out that 256 colors load properlly if the colorscheme sentence on the vimrc is at the bottom of the file

set mouse=a and root terminals

vimrc_example.vim enables mouse support (enter visual mode on selection) via set mouse=a. If you installed gvim, then this also copies text to PRIMARY, as any other selection in Xorg.

This only works if the DISPLAY variable is available, which it usually isn't with sudo. e.g. try with:

unset DISPLAY
vim

I believe the article should point this out: while obvious in hindsight, at first it looks like clipboard support is haphazardly failing. It may be out of scope for Vim#Installation, but we could create a Troubleshooting section. -- Alad (talk) 14:28, 15 January 2016 (UTC)

On my system DISPLAY is propagated into sudo's session. It is not specified in the sudoers file and man sudoers says "The DISPLAY, PATH and TERM variables remain unchanged;" so I believe this is the default behaviour... -- Lahwaacz (talk) 15:47, 15 January 2016 (UTC)
You're right, I was using su - and confused things. Well, I assume most users go with sudo and don't face the issue - maybe just link to [1] ? -- Alad (talk) 18:05, 15 January 2016 (UTC)
Somehow I'm losing the connection between :h mouse and :h clipboard...? Anyway, if you find it appropriate to describe the X11 features more thoroughly, just start a new section. Lahwaacz (talk) 21:06, 15 January 2016 (UTC)

Usage section deletion

A 7000 character, popular section was deleted. Many people contributed to this section. Had thought been given to discuss this first? — Todd Weed (talk) 21:16, 12 February 2016 (UTC)

Said "popular" section was in the end nothing more than 1. copy pasted from the gentoo wiki 2. a poor duplicate of the upstream vimtutor. Beginners are better off going with latter resource.
Besides, said topic was already discussed 4 years ago: see [2]. Closing. -- Alad (talk) 21:25, 12 February 2016 (UTC)