omit unchanged default binds from saved.cfg
omitunchangeddefaultbinds n 0 print 1 print, but commented out 2 omit The new var _defaultbinds is used to mark default binds in resetbinds.cfg. DOCREF omitunchangeddefaultbinds
This commit is contained in:
@@ -31,6 +31,8 @@ alias key_commandline [ saycommand / ]
|
||||
alias key_prevweapon [ weapon (prevweapon) ]
|
||||
alias key_editmeta2 [ editmeta2down = 1 ; onrelease [ editmeta2down = 0 ] ]
|
||||
|
||||
_defaultbinds 1 // do not save the following binds to saved.cfg
|
||||
|
||||
bind MOUSE1 attack
|
||||
bind MOUSE2 altaction
|
||||
editbind MOUSE2 [ showmenu editing ]
|
||||
@@ -226,6 +228,8 @@ bind SYSREQ []
|
||||
bind BREAK []
|
||||
bind MENU []
|
||||
|
||||
_defaultbinds 0
|
||||
|
||||
omitunchangeddefaults 1 // switch to a clean saved.cfg when keybinds are reset
|
||||
|
||||
persistidents 1
|
||||
|
||||
Reference in New Issue
Block a user