Gvim Error 303
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Unable To Open Swap File For Recovery Impossible Linux
of this site About Us Learn more about Stack Overflow the company Business unable to open swap file for /etc/fstab recovery impossible Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question
Unable To Open Swap File For Recovery Impossible Windows
_ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask vim set directory a question Anybody can answer The best answers are voted up and rise to the top How to open a new file in gvim? E303: Unable to open swap file up vote 7 down vote favorite 1 I use gvim on Windows. How can I open a new file? I have tried with :e ~\mypath\myfile.txt but I get this error message: E303: Unable can't make backup file (add to override) to open swap file for "C:\Users\Jonas\mypath\myfile.txt", recovery impossible How to open a new file using gvim on Windows? windows vim gvim share|improve this question asked Dec 5 '11 at 18:14 Jonas 6,7173582112 add a comment| 1 Answer 1 active oldest votes up vote 9 down vote accepted Solution 1 This seem to be a bug. From Vim E303: Unable to open swap file for "[No Name]", recovery impossible, I should add this to _gvimrc: set directory=.,$TEMP Solution 2 To clarify the location of files and directories, which aren't immediately obvious, here is another solution. Make the following directories (e.g., from a command prompt): mkdir %HOMEPATH%\vim\backup mkdir %HOMEPATH%\vim\tmp Note that %HOMEPATH% equals C:\Users\User.Name, where "User.Name" is your Windows user name. Then copy the following into %HOMEPATH%\_vimrc: set backup set backupdir=$HOME\vim\backup set directory=$HOME\vim\tmp set nosmartindent set tabstop=2 set shiftwidth=2 set expandtab set ai set pastetoggle=
of GVim (in Windows
Vim Backupdir
7), I ran into the following curious error whenever vim swap file location I tried to open a new document for editing: Vim E303: Unable to
Windows Vimrc
open swap file for "[No Name]", recovery impossible According to friendly chap on IRC, this is caused by a temporary directory bug http://superuser.com/questions/364879/how-to-open-a-new-file-in-gvim-e303-unable-to-open-swap-file and that it can be fixed by adding the following directive to the _vimrc file: set directory=.,$TEMP That's all it took to fix this issue for me - hope this helps! Tags: EditorVimWindowsTipError message Add new comment Comments Gabs (not verified) Sat, 2016-02-27 00:21 Permalink http://languor.us/vim-e303-unable-open-swap-file-no-name-recovery-impossible Thanks! I had the same problem, thanks for the fix! reply Similar content Vim/Gvim and missing line numbers in the interface Windows 7: High CPU usage due to system interrupts (Deferred procedure calls and interrupt service routines) (Windows) Gvim: Backspace in insert mode does not delete text Vim: Rejoin paragraph with forced line breaks / hard-wrapped multiple lines Initializing new hard disk: The request could not be performed because of an I/O device error Configuring Vim/Gvim to use spaces instead of TABs for indentation CHM files: Page cannot be displayed Apache httpd: make_sock: could not bind to address 0.0.0.0:80 TortoiseSVN: Cleanup failed to process the following paths Vim: Going to the nth character in a file All times are UTC. All content licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen