Hi all :)
I am trying to set an autocommand that will first open all folds and then
change the foldmethod to diff when diffs are displayed. I tried like:
function OpenFoldsAndDiff()
if diff
foldopen
set foldmethod=diff
endif
endfunction
au
Hello everyone :)
I started using diffs in Vim (really nice!!) but I am having a problem.
I am using:
autocmd BufWinLeave *.* mkview
autocmd BufWinEnter *.* silent loadview
to automatically store my folds and markers.
When my two files are opened to check the diffs the view
is wiped out and
Ok I think I got it. I have to go for using folds with markers.
That brought me to another thing I have to solve. Is there a
way to evaluate the command set foldmethod=marker every time
I exit diff mode. I tried autocmd BufWinEnter *.* silent set
foldmethod=marker
to set it in general but it
Wow! A lot of info!
Dotan Cohen wrote:
I took a file to the F, J, 4, 8, F4, and F8 keys on the keyboard to
help find them faster. Then I painted the whole keyboard black!
Although painting may be a bit extreme, I do recommend filing a notch
into the aforementioned keys. Years later and
Hi all :)
I am fairly new in vim and also my touch typing is not that great.
Although I can deal very well with all the vim commands I found my self
always looking down when I need to write a number argument. I was
wondering wether there is a way in vim to input numbers without leaving
the home
Thank you both for your answers :)
Tim this is excellent advice! Using text-objects is
really amazing especially the i which I
will be using constantly when dealing with code!
Thanks!
Dionysis
--
View this message in context:
Hey Eric,
Thanks for your answer! It turns out that the mappings where being written
inside the view files created by mkview. They appeared as such:
imap buffer S-BS PlugdelimitMateS-BS
imap buffer BS PlugdelimitMateBS
imap buffer Del PlugdelimitMateDel
... etc.
Now I am going inside the view
Hi everyone,
I have a strange problem. I am using these two lines in my . vimrc file:
autocmd BufWinLeave *.* mkview
autocmd BufWinEnter *.* silent loadview
Now when I try to type a double quote character () vim freezes.
I also started having similar behavior when trying to use