[Solved] Vim: Can only undo most recent change

Howdy-ha, folks.  So I've been (very) gradually making the transition from Geany to Vim over several months, mostly without issue.  However, I've been reluctant to use Vim for anything other than quick, simple operations for one reason: The "u" key will only undo the most recent change, as though there aren't any other changes in the history.  Hitting "u" a second time reverses the "undo" command, so that repeatedly hitting it will just remove and add the same small change over and over again.  No matter how much time I spend looking into this it seems I'm the only person who's ever had this problem, and it occurs regardless of whether /etc/vimrc and ~/.vimrc exist.  As a result, I can't do any complex editing for fear of botching something and needing to spend hours backtracing my mistakes.  Any help on this is appreciated.
Last edited by ANOKNUSA (2012-05-18 15:22:06)

skanky wrote:It should do. There's a comment in /etc/vimrc recommending against changing, so it's worth looking into. There are other settings there that could affect some behaviour, apparently.
That would likely be the issue: I overwrote the default with my own config file, without including runtime! archlinux.vim in my own config.  As far as I can tell, things are working as both user and root.  I suppose I should have paid more attention, but then again, there's no mention in the Arch wiki entry about not altering/deleting any of those files:
Arch Wiki Vim Entry wrote:
Vim's personal configuration file is located in the home directory: ~/.vimrc. Advanced users tend to keep a well-tailored ~/.vimrc. The global configuration file is located at /etc/vimrc. The fall-back $VIM variable is defined as /usr/share/vim/. For example, to create a global colorscheme the *.vim colorscheme file should be stored in /usr/share/vim/vimfiles/.
Currently, the vim global configuration in Arch Linux is very basic and differs from many other distributions' default vim configuration file. To get some commonly expected behaviors (like syntax highlighting, return to the line of the last edit...), consider using vim's example configuration file:
cp /etc/vimrc /etc/vimrc.bak
cp /usr/share/vim/vim73/vimrc_example.vim /etc/vimrc
It seems the comment in /usr/share/vim/vimfiles/archlinux.vim is all new users have to go on, and it's not usually the first place anyone looks.

Similar Messages

  • I have Lion on my laptop and I want to back up my calendar TO my iphone. Not the reverse. iCloud only goes from iphone to iCloud to mac not the other way. Also, why doesn't "sync" mean update most recent changes across all devices?

    I have Lion on my laptop and I want to back up my calendar TO my iphone. Not the reverse. iCloud only goes from iphone to iCloud to mac not the other way. Also, why doesn't "sync" mean update most recent changes across all devices? I thought that was the point of iCloud. Any suggestions since iCloud doesn't seem to work?

    It's a work computer so I wanted to save them to my iTunes so I can access from another computer.  Should I go to a home computer and just Import for best results?  If so how do I do this?  Also, why would I be synched with another library and how do I find out what this is?  Very new/green user here

  • To change info in library file then info, only the most recent cd's allow me to change info, all others 14,000, do not, any ideas???

    Understand to change cd info in library  File then info, as of recent only the most recent music added to my library enabled to make changes, all others (14,000) do not highlight change categories, that is gray not black. Any suggestions.

    I suspect a permissions problem. This can happen when a library is moved between systems or the system is upgraded to a new version of Windows.
    Right-click on your main iTunes folder (or ithe Tunes Media folder if that is elsewhere) and click Properties, then go to the Security tab and click Advanced. If necessary grant your account and SYSTEM full control of this folder, subfolders and files, then tick the option to replace permissions on child objects which will repair permissions throughout the library. This is the XP dialog but Windows 7 shouldn't be too different.
    If it won't let you change the permissions use the Owner tab to take ownneship from an account with administror privileges.
    tt2

  • For Multi value attributes, how we can view only the most recent value?

    Where we can set what in endeca servers (MDEX, Clover & Studio) to view only the most recent value of a multi assign value attribute on Studio server?

    That's correct, multi-value attributes do not support this in Endeca.
    If you're looking to do it, I would keep writing your updates to the multi-value attribute (to maintain the functionality that depends on this attribute and its multiple values) and also write it to a separate single-value that is constantly being updated, rather than appended to.
    Something like:
    One attribute called MyValueMulti as a multi-assign.
    AND
    One attribute called MyValueLatest as a single-assign.
    Regards,
    Patrick Rafferty
    http://branchbird.com

  • How can I upgrade my Photoshop Element to the most recent changes. Thank you!

    How can I upgrade my Photoshop Element to the most recent changes. Thank you!

    Hi,
    If you mean "How do you upgrade to Photoshop Elements 13 from an earlier version" then you need to buy the new version. There is an upgrade option but if you shop around then you can sometimes buy the full product cheaper. They are both the same product once you have installed them.
    If you install Photoshop Elements 13 on the same system as your old version the you can convert your existing catalog to the new format.
    Note that Photoshop Elements 13 will not work on older operating systems. The 30 day trial version can be downloaded from here
    Download Photoshop Elements products | 13, 12, 11, 10
    If you are asking about updating the camera raw in your current version then we need to know which version you want to update. Normally, you can go to the Help menu and select Updates.
    Note that each version has a limit on the version of camera raw that it can use - again we need to know which version you currently have.
    Brian

  • Problem getting most recently changed item.

    Hi,
    I am trying to set the value of an item based on the most recent item to have changed.
    I have 3 conditional processes which set the value of a hidden item (P1_FOCUS) 'When Any Item in Comma Delimited List Of Items Has Changed'.
    Proc1 (sequence 50): If P1_SEL_A changes, P1_FOCUS is set to A.
    Proc2 (sequence 60): If P1_SEL_B changes, P1_FOCUS is set to B.
    Proc3 (sequence 70): If P1_SEL_C changes, P1_FOCUS is set to C.
    If all three P1_SEL... items (select list with submit) are changed at some point, it doesn't pick up the most recently changed item, it just knows they have all changed and therefore the item is set to C as the C process is the last to be run (I assume the processes are run in sequence order?).
    Is there a way to only pick up the most recently changed item? Maybe clear the history of what has changed on this page somewhere?
    Overall, I am trying to get the last item in changed before the submit so the focus can go back to that item on the page in the page 'on load' process.
    Cheers
    Katie

    ApEx normally generates links that look like buttons by adding styling to an "a" tag.
    "a" tags accept focus in the same way as buttons so you have actually lost the focus on the final input field by the time you've clicked the link.
    However, you can test this by creating a new button template in your theme. Use something like the following in the Template Text:
    <button style="font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; padding:1px; margin: 2px; text-decoration: none; cursor: pointer;" onclick="#LINK#">#LABEL#</button>
    This will create a normal HTML button.
    If this doesn't work, can you paste into this thread a copy of the javascript you are using.
    Regards
    Andy

  • How do I find and backup only my most recent downloads?

    Does anyone have a better solution than mine for finding and backing-up only my most recent downloads? I'm trying to make my network backups and external hard drive backups faster, by only backing-up my incremental downloads, rather than all my music every time. I created an iTunes Music sub-folder called My Music:\2005, into which I download all new purchased music. I still add the entire My Music folder to my iTunes library, so I can play all of the files, but new downloads and CD's rip into the 2005 sub-folder. I can find my most recent files, and only back those up, as I know the other files in My Music have already been backed-up. Let me know if you have a simpler solution. Thanks.

    Thanks, Lawrence. Someone at work looked at my iTunes Preferences, I think it was, and verified that a backup had been done at 10:54AM today. (Personally, I've never looked to find a date/time stamp for this -- just took it for granted that it happened as expected!)
    Since I know now that the backup was done right before the phone froze on me, I 'risked' doing a Restore, which is taking most of half an hour. I'm pretty confident I will be up and running in a few minutes. If not, I'll be looking for a cocktail or two in a bit!
    PS: I did copy all my Photostream photos into a separate folder on iPhoto .... just in case they got wiped in the Restore. 

  • The sliders in Lightroom worked fine for several months with my Sony NEX3N but now they have no effect. I can only edit photos by changing the histogram directly.

    The sliders in Lightroom worked fine for several months with my Sony NEX3N but now they have no effect. I can only edit photos by changing the histogram directly.

    The sliders in Lightroom worked fine for several months with my Sony NEX3N but now they have no effect. I can only edit photos by changing the histogram directly.

  • I lost my phone. Is there anyway I can get my most recent photos, notes, etc. onto my iCloud?

    I lost my phone. Is there anyway I can get my most recent photos, notes, etc. onto my iCloud before someone deletes my files?

    If you had not already setup iCloud on the device before you lost it, then no - there is no way. If you had already setup iCloud, your data would automatically be in iCloud.

  • How do I change mail so only the most recent mail from a person opens?

    When I open mail and go to a new mail all of the files/documents that, that person has ever sent me from previous days open as well. The other emails that I do not want also show up on the right side of my mail in the preview the document part. How do I change it so that I only see the email I am clicking on not a scrolling document of all of the mail items the sender has sent me. Also how do I change it so I only see the most recent item (the one I am clicking on) in the preview email on the right side? Thanks

    In the View menu, uncheck (Expand All Conversations).

  • Can't See Most Recent Episodes Without Subscribing?

    I'm experiencing a couple weird issues with my weekly podcast in iTunes, NF Show.
    https://itunes.apple.com/us/podcast/nf-show/id829116093?mt=2#
    1. When you go to the show page in iTunes, it shows ten episodes, but not the ten most recent episodes. Instead, the newest episode listed is from over a month ago. People are going to the page and claiming that iTunes doesn't have our last five episodes. Yet when I subscribe, I can see and get access to all the episodes. Is there any way to correct this so the iTunes show page actually shows the ten most recent episodes?
    2. Previously I posted this URL for people to get to the show on iTunes: https://itunes.apple.com/us/podcast/nf-show/ But when you go there, you now get an error message stating the show isn't available in the U.S. That's really weird since the show is produced and hosted in the U.S., and the link worked before. Now, https://itunes.apple.com/us/podcast/nf-show/id829116093?mt=2# seems to be the only way to get there. Any idea why?
    Thank you very much!

    Thanks so much for your insight, Roger. I've resigned myself to waiting to see if it will resolve itself, but now I seem to have an even worse problem that has developed: my podcast no longer seems to be "available in the U.S. store". When I do a search for it on Google, the URL for it now includes a "/ca/" for Canada, but that also doesn't work. Occasionally when trying to access it from the U.S. store, it says it's not available in that store but in another country's, and when I confirm to try retrieving it there... it also says not available.
    I'm not sure what changed to cause this issue. Strangely, I'm personally subscribed to the show in iTunes, and I'm still getting the latest episodes, but when I try to go to the show's information page from my subscription, it says it can't get there due to a "temporary problem." And now, I just updated my iTunes to the latest version and the subscription is blown away. Have you heard of something like this happening before, or any idea what's going on?

  • HT4623 why does the newsfeed on fb only show most recent and top stories on my i phone 4s but not all stories as it did till yesterday?

    Hi, until yesterday i was able to rceive all stories fro friends on my I phone 4s using Fb. Now i can only get top storoes and most recent. Ive reinstalled fb and udated software. no change... help?

    no idea. try https://www.facebook.com/help/

  • History only shows most recent.

    When I search for some web page I visited in a previous day, only those sites I visited today show up , regardless of whether I select "last week" or "last 6 months" or "today". Is there some setting I should change to keep all my history sorted out and accessible?

    I think that you only see the last visit date of a web page and pages that you have visited in the time frame are included, but they show with the most recent visit of that web page and not when you visited in that time frame (there might also be multiple visits in that time frame).<br />
    This makes pages that you visit regularly show up in every time frame with their last visit date.
    I can see that with this query for November and sort by location:
    place:beginTime=1383260400000000&endTime=1385852400000000&sort=4&type=1

  • Time Machine Only Keeps Most Recent Sparsbundle

    Hey everyone,
    I'm just now realizing that I asked this question in the Snow Leopard forum, like an idiot. So, I'm re-posting it here.
    I apologize if this topic has already been covered (I believe it has, in a 2012 post that didn't have the answer for me). But after an hour on the phone with Apple — with no solutions — I turn to the community for answers. I use a WD My Cloud (2TB) as my backup device, primarily for two things: 1) Storing my music library, which my Sonos system reads from. 2) Wireless Time Machine backups.
    For starters, I didn't know that when you use a network attached drive with Time Machine, it stores backups as sparsbundles, as opposed to the standard folder structure that is used for locally attached hard drives. It works that way even using Apple's own Time Capsule. So, that was news to me.
    That said, the issue I have is that when using My Cloud for Time Machine backups, it is only holding onto the most recent backup created (in sparsbundle form). For instance, today is Dec. 7. When I mount the sparsebundle created by Time Machine, there is only one backup contained within: The latest one, from Dec. 5. And for the record, I understand how to use Time Machine, I used it for years on my iMac. Even entering Time Machine yields the same results: Only being able to go back as far as Dec. 5 (image attached)
    I want Time Machine/My Cloud to store multiple backups, not just the latest.
    I don't think it's a storage issue either. As you can see from the attached image, I have only used a fraction of the drive's space. And in the My Cloud settings (Settings > General > Mac Backups), I haven't changed the default configurations, which allows for up to 2TB for backups.
    Can anyone help? Thanks.

    A third-party NAS is unsuitable for use with Time Machine, especially if it's your only backup. I know this isn't the answer you want. I know Time Machine accepts the NAS as a backup destination. I know that the manufacturer says the device will work with Time Machine, and I also know that it usually seems to work. Except when you try to restore, and find that you can't.
    Apple has published a specification for network devices that work with Time Machine. None of the third-party NAS vendors, as far as I know, meets that specification. They all use the incomplete, obsolete Netatalk implementation of Apple Filing Protocol.
    If you want network backup, use as the destination either an Apple Time Capsule or an external storage device connected to another Mac or to an 802.11ac AirPort base station. Only the 802.11ac base stations support Time Machine, not any older model.
    Otherwise, don't use Time Machine at all. There are other ways to back up, though none of them is anywhere near as efficient or as well integrated with OS X. I don't have a specific recommendation.
    If you're determined to keep using the NAS with Time Machine, your only recourse for any problems that result is to the manufacturer (which will blame Apple, or you, or anyone but itself.)

  • Clicking on Dock icon only brings most-recently-used window to front

    In Leopard, clicking on the iChat Dock icon would bring all iChat windows (contact lists, chats, etc.) in front of other open applications, and give focus to the most recently used iChat window.
    After installing Snow Leopard, clicking on the iChat Dock icon only brings the most recently used iChat window to the front and gives it focus -- other iChat windows remain behind other application windows (if that is where they were before).
    Is this just me? My friend tells me that it still behaves like it did in Leopard on his computer. Any ideas?

    In the First Post your Specs said Snow Leopard, now they say Tiger
    Sorry, I didn't realize it wouldn't remember that setting for me -- I am running Snow Leopard.
    With Chax in Leopard/iChat 4 an extra item was added to the Window menu of iChat that says "Always On top"
    No, this is not what I was looking for. I have another machine with Leopard, and it does not have Chax -- iChat windows are not always in front, but they all come to the front when clicking on the Dock icon.
    I don't use it on the Buddy List as you can set it on Any iChat window.
    What do you mean, "you can set it on Any iChat window"? You mean the Chax setting, or something else?
    Are any Minimised to the DOCK ?
    No, none are minimized to the Dock.
    Chax does not work in iChat 5 and may be the cause of the issue.
    There is a beta version of Chax for iChat 5.
    I would delete Chax and then the com.apple.ichat.plist to remove any thing in it that refers to Chax and then relaunch iChat.
    I deleted Chax and every Chax and iChat plist, then restarted my computer. The problem did not go away -- still, only one window comes to the front when I click on the iChat Dock icon -- the others stay behind other windows.

Maybe you are looking for

  • How to get an offline version of the API documentation?

    Well, thats the question. I want to have the API documetatio like in this link: http://java.sun.com/j2se/1.4/docs/api/overview-summary.html , but I want it all and offline. Is there a Help file I can download somewhere where the API is documented? th

  • Does anyone know how to add multiple pictures to a single frame in iMovie?

    Does anyone know how to add multiple pictures to a single frame in iMovie?

  • Non-Responsive NOKIA India Support Centre

    I purchased NOKIA 5800 Music Xpress on the second day of it'a launch in India.  Soon, I found some issues and tried calling / sending email to the Nokia Support Centre in India. I did receive some call backs from different agents but they were unable

  • Vacancy Overview - No Objects Found

    Hi, I'm trying to implement the MSS Recruitment Workpackage in EP6 SR1. Position Overview works fine and displays the appropriate icon position when a position is desginated as vacant but I'm getting an error "No Objects Found" when looking at the Va

  • Ldif import change the userPassword attribute

    Hi all, I post a message here because i am facing an obstacle. I made an migration from Sun directory server 6 on sun sparc server to an linux server with directory server 7. I have got an issue about the ldif import. When i export ldap data from my