vim-engine/src/main/kotlin/com/maddyhome/idea/vim/vimscript/model/commands/mapping/MapClearCommand.kt [30:43]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun processCommand( editor: VimEditor, context: ExecutionContext, operatorArguments: OperatorArguments, ): ExecutionResult { return if (executeCommand()) ExecutionResult.Success else ExecutionResult.Error } private fun executeCommand(): Boolean { val bang = modifier == CommandModifier.BANG val commandInfo = COMMAND_INFOS.find { cmd.startsWith(it.prefix) && it.bang == bang } if (commandInfo == null) { if (modifier == CommandModifier.BANG) throw exExceptionMessage("E477") return false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - vim-engine/src/main/kotlin/com/maddyhome/idea/vim/vimscript/model/commands/mapping/UnMapCommand.kt [30:43]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun processCommand( editor: VimEditor, context: ExecutionContext, operatorArguments: OperatorArguments, ): ExecutionResult { return if (executeCommand()) ExecutionResult.Success else ExecutionResult.Error } private fun executeCommand(): Boolean { val bang = modifier == CommandModifier.BANG val commandInfo = COMMAND_INFOS.find { cmd.startsWith(it.prefix) && it.bang == bang } if (commandInfo == null) { if (modifier == CommandModifier.BANG) throw exExceptionMessage("E477") return false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -