I freshly installed Ubuntu 16.04 and then I installed vim. Soon I realized that Ctrl + O
which I regularly use in vim to jump to the last place, does not work! After some search, I got the following commands:
:nnoremap <M-Left> <C-O>
and
:nnoremap <X1Mouse> <C-O>
I tried putting both these in my .vimrc
but they don't give me the desired effect. I am really annoyed by this since this is one of the most used things that I use. What am I missing?
Edit: I reinstalled vim from scratch, also deleted the ~/.vimrc
file. After deleting the file, I checked for /usr/share/vim/vimrc
; it was there. Then I installed vim and tested for Ctrl+o
; it works till I close the file. However, after I open it back, it forgets all the history.