annotate runtime/ftplugin/mrxvtrc.vim @ 11983:448635f73e09 v8.0.0872

patch 8.0.0872: no mouse scroll with a terminal window commit https://github.com/vim/vim/commit/98fd66d311a62133c835307dc7692763dfa32c69 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 5 19:34:47 2017 +0200 patch 8.0.0872: no mouse scroll with a terminal window Problem: Using mouse scroll while a terminal window has focus and the mouse pointer is on another window does not work. Same for focus in a non-terminal window ahd the mouse pointer is over a terminal window. Solution: Send the scroll action to the right window.
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Aug 2017 19:45:04 +0200
parents 2ad54fcf37e3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
846
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
1 " Created : Wed 26 Apr 2006 01:20:53 AM CDT
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
2 " Modified : Fri 28 Apr 2006 03:24:01 AM CDT
846
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
3 " Author : Gautam Iyer <gi1242@users.sourceforge.net>
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
4 " Description : ftplugin for mrxvtrc
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
5
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
6 if exists("b:did_ftplugin")
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
7 finish
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
8 endif
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
9 let b:did_ftplugin = 1
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
10
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
11 let b:undo_ftplugin = "setl com< cms< fo<"
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
12
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
13 " Really any line that does not match an option is a comment. But use '!' for
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
14 " compatibility with x-defaults files, and "#" (preferred) for compatibility
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
15 " with all other config files.
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
16 "
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
17 " Comments beginning with "#" are preferred because Vim will not flag the
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
18 " first word as a spelling error if it is not capitalised. The '!' used as
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
19 " comment leaders makes Vim think that every comment line is a new sentence.
846
db44f7b81373 updated for version 7.0f03
vimboss
parents:
diff changeset
20
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
21 setlocal comments=:!,:# commentstring=#\ %s
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 846
diff changeset
22 setlocal formatoptions-=t formatoptions+=croql