Coder Social home page Coder Social logo

vimcaps's People

Contributors

itchyny avatar suxpert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zbhover upetr7 ttys3

vimcaps's Issues

New style for NerdFonts and redraws

Thanks for this plugin!

I lost a a few hours trying to write a function using system() for lightline by myself, but it was giving me bugs outputing movement keycodes everywhere.

  • I would like to start by proposing an additional style for people using a NerdFonts font:
    let names["nerd"] = [["", "󰪛"], ["", "󰎣"], ["", "󰰡"]]
  • And also suggest adding to the readme the ability to trigger statusline redraws in .vimrc:
" redraw statusline every 1000ms for Vimcaps
call timer_start(1000, {-> execute(':let &stl=&stl')}, {'repeat': -1})

"Library Error. vimcaps can not load!" on Win10 64bit

Hi LiTuX
Thanks for the script, which is exactly indispensable when using CapsLock!

I installed it on Windows 10 and got the following error

The :version in Vim is as follows.

I followed the execution of the script and found that it threw an exception on this line.

https://github.com/suxpert/vimcaps/blob/master/autoload/vimcaps.vim#L54

Unfortunately, not being familiar with libcallnr, I was unable to track it down any further.

Please let me know if there is anything I can do to help solve this problem.

thanks.

doesn't work when running without xserver

Hi, first off, thanks for this plugin, it generally works very nicely. Only problem is when not running in an xserver under linux. Switch to another VT with ctrl+alt+f1, open nvim and you should see the following error:

TTY is not yet supported
Error detected while processing BufWinEnter for "*":
E117: Unknown function vimcaps#capsoff

First key after pressing ESC still uppercase

Hi !

Thanks for your work with this plugin, it's very useful.
I would like to collaborate improving this case:

  • enter insert mode
  • press capslock
  • write something ej. AAAAAAAAAA
  • press ESC
  • press k ( for moving up one line )
  • status message shows: E349: No identifier under the cursor.
  • next pressed keys are lowercase

So the first after press ESC still uppercase.
How can I fix it ?
thanks

--
Running:

  • Debian 9
  • vim 2:8.0.0197-4+deb9u1

Move the codes to autoload/vimcaps.vim

I think that most parts of the code can be moved to autoload/vimcaps.vim.
At least, vimcaps# prefixed functions should be moved.
I'll leave the work to you. Or shall I create a PR?

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.