suxpert / vimcaps Goto Github PK
View Code? Open in Web Editor NEWNever be bothered by caps lock
License: GNU General Public License v3.0
Never be bothered by caps lock
License: GNU General Public License v3.0
If we remap the caps lock, e.g., I'm using power toys, and remap the capslock as left control, then vimcaps
can only read the keyboard status, but won't be able to toggle the key itself.
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.
let names["nerd"] = [[" ", ""], [" ", ""], [" ", ""]]
" redraw statusline every 1000ms for Vimcaps
call timer_start(1000, {-> execute(':let &stl=&stl')}, {'repeat': -1})
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.
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
Hi !
Thanks for your work with this plugin, it's very useful.
I would like to collaborate improving this case:
E349: No identifier under the cursor
.So the first after press ESC still uppercase.
How can I fix it ?
thanks
--
Running:
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?
I've created a script to toggle capslock if it's on when you press esc. that will enable anyone to unset capslock when going into Normal
mode.
Maybe it can serve as an alternative way for caps lock on OSX.
Thanks for the plugin :)
https://gist.github.com/aalvarado/65b4eacb010f66f1756722a30d9af784
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.