Giter Site home page Giter Site logo

Comments (7)

voku avatar voku commented on September 3, 2024

Maybe it's only a feature? (Return to last edit position when opening files) https://github.com/voku/dotfiles/blob/master/.vimrc#L589

from dotfiles.

DrVanScott avatar DrVanScott commented on September 3, 2024

Yes, you are right. Would it be possible to define some exceptions for this feature? E.g. it does not make sense for ".git/COMMIT_EDITMSG".

BTW i realized another problem:
if i open any ".git/COMMIT_EDITMSG" there is no cursor visible at first. After i press a key it appears...
This problem is solved if disable "lazyredraw" in .vimrc

from dotfiles.

voku avatar voku commented on September 3, 2024

fixed -> 763c510#diff-4e12c6a37ff2cbb2c93d1b33324a6051R174

info: http://vim.1045645.n5.nabble.com/autocmd-pattern-exclusion-td5712330.html

from dotfiles.

DrVanScott avatar DrVanScott commented on September 3, 2024

thanks for the autocmd fix!

you also changed the lazyredraw behaviour, but only for windows systems? I am quite sure that i also have it on linux systems. Unfortunately i am not able to recheck before Sunday.

Or did you change anything else which made this windows only?

from dotfiles.

voku avatar voku commented on September 3, 2024

"lazyredraw" is recommended by some users e.g. http://stackoverflow.com/a/378967/1155858 ... but I will also test it! :)

from dotfiles.

DrVanScott avatar DrVanScott commented on September 3, 2024

i also often notice that the bottom status line (mode, file name, EOL, cursor position etc.) is only visible after first key press. This is also fixed by (not lazyredraw)...

from dotfiles.

DrVanScott avatar DrVanScott commented on September 3, 2024

I can reproduce it on linux. I opened an empty file many times and got the following impression:

95%: cursor not blinking (starts to blink after first key press)
10%: bottom status line not showing (appears after first keypress)

Without "lazyredaw" i never got any of these problems.

Maybe it's a timing problem?

from dotfiles.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.