• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k-takata / vim
88%
master: 84%

Build:
Build:
LAST BUILD BRANCH: use-check-commands
DEFAULT BRANCH: master
Repo Added 26 Aug 2015 04:34PM UTC
Files 129
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH win32-support-snap
branch: win32-support-snap
CHANGE BRANCH
x
Reset
  • win32-support-snap
  • Milly-fix-unix_fullname
  • add-check-terminal
  • add-tinytests
  • adjust-timeout-handling
  • adjust-version-format
  • analyze-on-debug-build
  • appveyor-release
  • appveyor-temp
  • appveyor-test
  • appveyor-update-to-python36
  • blob-clear-vlock
  • chrisbra-appveyor-build
  • chrisbra-appveyor-build-temp2
  • chrisbra-appveyor-build-temp4
  • chrisbra-appveyor-build-temp5
  • chrisbra-appveyor-build-temp6
  • cmdidxs-target
  • color256-better-approx
  • cygwin-warning
  • debug-test_autocmd
  • define-S_IS_macros
  • delete-make_dvc_ivc
  • dosinst-nocp-help
  • dosinst-use-userprofile
  • drop-support-for-old-msvc
  • drop-support-for-vista
  • drop-x-perm
  • dwrite-adjust-linespace
  • dwrite-redraw-after-recreate-target
  • enable-ci
  • enable-sgr-on-mintty
  • fix-16-color-on-terminal-on-vim.exe
  • fix-1698-3520
  • fix-4369
  • fix-4681
  • fix-5026
  • fix-5523
  • fix-5597
  • fix-5602-adjust-scrollbar-position
  • fix-5688
  • fix-5819
  • fix-5986
  • fix-696
  • fix-7053
  • fix-8.1.1239
  • fix-8.1.1417
  • fix-8.2.0179
  • fix-8.2.0249
  • fix-8.2.0329-vimdll
  • fix-8.2.0578
  • fix-8.2.1107-with-vimdll
  • fix-Test_terminal_shell_option
  • fix-average-font-width
  • fix-bri-sbr
  • fix-buffer-size
  • fix-chdir
  • fix-conpty-version-detection
  • fix-cproto
  • fix-crash-conpty
  • fix-cursor-on-terminal
  • fix-doc-ver8
  • fix-dos-mapping
  • fix-executable-longname
  • fix-gvimext-base-address-on-x64
  • fix-if_perl532-msvc
  • fix-indent
  • fix-lbr-block-visual
  • fix-lua-warning
  • fix-lua53-on-win32
  • fix-mac-mapping
  • fix-mainerr-dialogbox
  • fix-msvc-deprecated
  • fix-netrw-gx
  • fix-nsis-comment
  • fix-optwin
  • fix-optwin-message
  • fix-pathdef
  • fix-python3-redirect
  • fix-python3-stdin
  • fix-readdir
  • fix-return-type
  • fix-rop-check
  • fix-scrool-at-topline
  • fix-src-po-makefiles
  • fix-terminal-memleak
  • fix-terminal-tests
  • fix-test-5150
  • fix-test_lua-on-win32
  • fix-test_ruby_p
  • fix-test_textformat
  • fix-tutor
  • fix-tutors
  • fix-uninst-bat
  • fix-usercmd
  • fix-vimdll
  • fix-vimdll-feedkeys
  • fix-vimdll-gui-command
  • fix-vimdll-input-kanji
  • fix-vimdll-mbyte-input
  • fix-vimdll-solarized
  • fix-vimdll-subsystem
  • fix-vimrun
  • fix-vtp-background
  • fix-win32-tests
  • fix-window-pos
  • fix-winsowsversion
  • gha-fix-filetype-detection
  • gha-improve
  • gha-skip-tags
  • github-actions
  • gtk-remove-if
  • gvimext-restore-lang
  • gvimext-submenu
  • if_perl-out-to-autodir
  • if_ruby-revise-version-checking
  • installer-fix-default-settings
  • installer-lua
  • installer-use-logiclib
  • make-installer-faster
  • make-utf8-as-default
  • master
  • mingw-coverage
  • mingw-coverage-local
  • mingw-create-mapfile
  • mingw-lua-dir
  • mitigate-tempfilename-confliction
  • msvc-add-sed-again
  • msvc-auto-dir
  • msvc-enable-ime-by-default
  • msvc-objdir
  • msvc-suppress-warnings
  • nsis-dont-delete-vimrc
  • nsis-fix-typos
  • nsis-readonly
  • nsis-use-r-option
  • o-octal
  • optimize-lambda
  • origin/master
  • pr5688
  • readdirex
  • reduce-test-log
  • register-more-info-in-installer
  • remove-borland
  • remove-duplicated-line
  • remove-get_cmd_args
  • remove-needless-platformid-call
  • remove-redundant-close0
  • remove-sync_dup_close
  • remove-use-cr
  • remove-use-long-fname
  • remove-useless-STRCPY
  • remove-win64
  • revise-crt_secure_no_deprecate
  • revise-gui_w32
  • revise-no-deprecate
  • revise-ruby-incdir
  • revise-version-h
  • run-tests-in-parallel
  • show-messages
  • simplify-gtk-code
  • simplify-os_w32exe
  • smile
  • stop-generating-vim-lib
  • stop-using-ansi-apis
  • support-gtk24
  • suppress-gui-spawn-warning
  • suppress-python39-warning
  • suppress-vim_strnsave-warning
  • tab-xyz
  • temp-execute-only-one-test
  • temp-py-ver
  • template-string
  • test-messages
  • tests-use-check
  • topic/mui2
  • topic/refactor-installer
  • topic/refactor-installer-temp
  • topic/refactor-installer-v8.1.0443
  • topic/update-dosinst
  • ttdoda-check-dcs-handling
  • update-codeowners
  • update-contributing
  • update-deps
  • update-how-to-set-envvar
  • update-issue-templates
  • update-make-ftplugin
  • update-make-syntax
  • update-makefile-deps
  • update-prototypes
  • update-texts
  • update-to-python35
  • update-to-trusty
  • update-to-trusty2
  • update-tutor
  • update-usr_02
  • upgrade-python3-to-36
  • use-check-commands
  • use-error
  • use-getconsolewindow
  • use-wide-api-for-fonts
  • use-wide-entrypoint
  • v-prefix-in-scriptversion2
  • vim-384dbfaa3ba775cd38663c27dbae68001467baf8
  • vim9-empty-list-dict
  • vim9-fix-echo
  • vim9-fix-has-gui_running-with-vimdll
  • vs2008
  • vtp_working-no-use-in-gui
  • win32-file-prop
  • win32-fix-dnd
  • win32-fix-memleak
  • win32-fix-testlog
  • win32-use-call-in-vimtutor
  • workaround-python2711

pending completion
432

push

travis-ci

k-takata
win32: Support snapping on the edges of the screen

Starting from Windows 7, MS-Windows supports Aero Snap (and it is now
called just Snap). It can snap windows on the edges of the screen.

If a gVim window is snapped, and then the window size is changed by a
command like `:vsp` or `:tabe`, snapping will be cancelled. This might
be annoying for some people.
Actually this can be avoided by setting `:set go+=k`, but this also
changes the behavior when the window is not snapped.

This patch detects if the gVim window is snapped, and acts like if the
window is maximized. So, if the window is snapped, and even if a command
like `:vsp` is executed, snapping will be kept. But if the window size
is explicitly specified (e.g. `:set lines=30`), the size will be changed.

Related: #123, #703, #2180

121454 of 138588 relevant lines covered (87.64%)

866731.44 hits per line

Relevant lines Covered
Build:
Build:
138588 RELEVANT LINES 121454 COVERED LINES
866731.44 HITS PER LINE
Source Files on win32-support-snap
  • Tree
  • List 129
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
432 win32-support-snap win32: Support snapping on the edges of the screen Starting from Windows 7, MS-Windows supports Aero Snap (and it is now called just Snap). It can snap windows on the edges of the screen. If a gVim window is snapped, and then the window size is ... push 17 Jul 2020 04:49AM UTC k-takata travis-ci pending completion  
See All Builds (498)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc