Skip to content

Modify the winnr() function to return neighbor window information#3993

Closed
yegappan wants to merge 6 commits intovim:masterfrom
yegappan:wininfo
Closed

Modify the winnr() function to return neighbor window information#3993
yegappan wants to merge 6 commits intovim:masterfrom
yegappan:wininfo

Conversation

@yegappan
Copy link
Member

Modify the winnr() function to return the neighbor window information using
the following arguments:

{N}j - Nth window below the current window.
{N}k - Nth window above the current window.
{N}h - Nth window left of the current window.
{N}l - Nth window right of the current window.

These are same as the windows used by the CTRL-W_j, CTRL-W_k,
CTRL-W_h and CTRL-W_l commands.

@codecov-io
Copy link

codecov-io commented Feb 17, 2019

Codecov Report

Merging #3993 into master will increase coverage by <.01%.
The diff coverage is 94.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3993      +/-   ##
==========================================
+ Coverage   79.51%   79.52%   +<.01%     
==========================================
  Files         106      106              
  Lines      141494   141516      +22     
==========================================
+ Hits       112512   112540      +28     
+ Misses      28982    28976       -6
Impacted Files Coverage Δ
src/evalfunc.c 88.7% <100%> (+0.06%) ⬆️
src/window.c 83.68% <88.88%> (+0.16%) ⬆️
src/gui_gtk_x11.c 48.37% <0%> (-0.35%) ⬇️
src/if_xcmdsrv.c 83.84% <0%> (-0.18%) ⬇️
src/ex_cmds.c 81.68% <0%> (-0.1%) ⬇️
src/screen.c 80.56% <0%> (+0.02%) ⬆️
src/sign.c 93.51% <0%> (+0.12%) ⬆️
src/netbeans.c 27.44% <0%> (+0.22%) ⬆️
src/gui.c 58.4% <0%> (+0.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 905dd90...98b2c49. Read the comment docs.

@yegappan yegappan force-pushed the wininfo branch 2 times, most recently from fdf3b77 to f0eed6f Compare February 24, 2019 03:44
@yegappan yegappan force-pushed the wininfo branch 3 times, most recently from f69cf32 to 656a68f Compare March 7, 2019 15:59
@yegappan yegappan force-pushed the wininfo branch 2 times, most recently from 4762b82 to 5facd99 Compare March 23, 2019 17:42
@yegappan yegappan force-pushed the wininfo branch 3 times, most recently from d3f0083 to 9c2d7c9 Compare March 29, 2019 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants