diff --git a/src/com/maddyhome/idea/vim/ex/handler/BufferListHandler.kt b/src/com/maddyhome/idea/vim/ex/handler/BufferListHandler.kt index ad956f0e29..a05b8b3661 100644 --- a/src/com/maddyhome/idea/vim/ex/handler/BufferListHandler.kt +++ b/src/com/maddyhome/idea/vim/ex/handler/BufferListHandler.kt @@ -32,7 +32,6 @@ import com.maddyhome.idea.vim.ex.ExOutputModel import com.maddyhome.idea.vim.ex.flags import com.maddyhome.idea.vim.helper.EditorHelper import org.jetbrains.annotations.NonNls -import java.io.File /** * Handles buffers, files, ls command. Supports +, =, a, %, # filters. @@ -95,7 +94,7 @@ class BufferListHandler : CommandHandler.SingleExecution() { private fun buildVirtualFileDisplayMap(project: Project): Map { val openFiles = FileEditorManager.getInstance(project).openFiles - val basePath = if (project.basePath != null) project.basePath + File.separator else "" + val basePath = if (project.basePath != null) project.basePath + "/" else "" val filePaths = mutableMapOf() for (file in openFiles) {