commit 130cc17440855baa7585ee42dfaa5ed4102387a7 from: Isabella date: Tue May 13 23:05:14 2025 UTC Remove legacy Windows Vim file, OpenBSD only commit - 78be8efdce64dbefe2ec3e8c7a255f2bce9fea96 commit + 130cc17440855baa7585ee42dfaa5ed4102387a7 blob - 1c28cadac0e1f747b5d4521cbf309fc6a5e436f8 (mode 644) blob + /dev/null --- .config/vim/mswin +++ /dev/null @@ -1,126 +0,0 @@ -" Set options and add mapping such that Vim behaves a lot like MS-Windows -" -" Maintainer: The Vim Project -" Last Change: 2023 Aug 10 -" Former Maintainer: Bram Moolenaar - -" Bail out if this isn't wanted. -if exists("g:skip_loading_mswin") && g:skip_loading_mswin - finish -endif - -" set the 'cpoptions' to its Vim default -if 1 " only do this when compiled with expression evaluation - let s:save_cpo = &cpoptions -endif -set cpo&vim - -" set 'selection', 'selectmode', 'mousemodel' and 'keymodel' for MS-Windows -behave mswin - -" backspace and cursor keys wrap to previous/next line -set backspace=indent,eol,start whichwrap+=<,>,[,] - -" backspace in Visual mode deletes selection -vnoremap d - -if has("clipboard") - " CTRL-X and SHIFT-Del are Cut - vnoremap "+x - vnoremap "+x - - " CTRL-C and CTRL-Insert are Copy - vnoremap "+y - vnoremap "+y - - " CTRL-V and SHIFT-Insert are Paste - map "+gP - map "+gP - - cmap + - cmap + -endif - -" Pasting blockwise and linewise selections is not possible in Insert and -" Visual mode without the +virtualedit feature. They are pasted as if they -" were characterwise instead. -" Uses the paste.vim autoload script. -" Use CTRL-G u to have CTRL-Z only undo the paste. - -if 1 - exe 'inoremap