Stop remapping Q and W, and update reg file

This commit is contained in:
Anthony Rose 2024-04-17 13:23:28 +01:00
parent 7fd66876b9
commit e56729498d
3 changed files with 17 additions and 27 deletions

4
vimrc
View file

@ -130,10 +130,6 @@ if has('eval')
" Technically only 'if 1' would be required, as 'has()' is provided by " Technically only 'if 1' would be required, as 'has()' is provided by
" +eval, but this is clearer. " +eval, but this is clearer.
command Q q
command W w
command WQ wq
command Wq wq
filetype plugin indent on filetype plugin indent on
let g:limelight_default_coefficient=0.8 let g:limelight_default_coefficient=0.8
let g:nroff_is_groff=1 let g:nroff_is_groff=1

View file

@ -1,23 +0,0 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\*]
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\gvim]
@="Edit with Vim"
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\gvim\command]
@="\"C:\\vim\\vim90\\gvim.exe\" \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\gvim-R]
@="Open with Vim (read-only)"
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\gvim-R\command]
@="\"C:\\vim\\vim90\\gvim.exe\" -R \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\gvim]
@="Open Vim here"
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\gvim\command]
@="\"C:\\vim\\vim90\\gvim.exe\" -c \":NERDTree\""

17
windows-nvim.reg Normal file
View file

@ -0,0 +1,17 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\*]
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\nvim]
@="Edit with Nvim"
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\nvim\command]
@="\"C:\\nvim-win64\\bin\\nvim.exe\" \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\nvim-R]
@="Open with Nvim (read-only)"
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\nvim-R\command]
@="\"C:\\nvim-win64\\bin\\nvim.exe\" -R \"%1\""