felixkratz / sketchyvim Goto Github PK
View Code? Open in Web Editor NEWAdds all vim moves and modes to macOS text fields
License: GNU General Public License v3.0
Adds all vim moves and modes to macOS text fields
License: GNU General Public License v3.0
Is there any way to set a list of apps to disable this for?
It makes VIM mode on VS code, for example, unusable.
Thanks!
I've really come to dislike brew due to forced OS updates. To each their own, but I don't think I'm alone in having this opinion. Would you consider providing no brew installation instructions as well?
I want to have Vim keybindings in notion, but SketchyVim does not seem to be able to edit text fields in Notion. Is there any workaround to this or something I can use?
It may sound stupid, but I couldn't figure out how to make it work. Esc button seem to not work in textfields
Inside the Alfred prompt, I don't really need vim, and I want to quit the prompt with esc
. However, with svim, it takes 2-3 times escape before it quits.
Annoyingly, adding any of these to the blacklist does not work (and I confirmed that the blacklist does work with other apps)
"Alfred 5"
Alfred 5
Alfred
com.runningwithcrayons.Alfred
I also tried both, the Standard Mode and the Compatibility Mode of Alfred, blacklisting Alfred does not work in any of those
Thanks for your beautiful work on this utility. I love it.
I have faced an issue where ctrl+c doesn't work in iTerm. It worked again after I stopped svim.
Hello! Newbie VIM user here.
Thank you for this wonderful project. I am in the process of setting it up and learning how to use it, and was wondering how the svimrc file is meant to be set. For context, I manually created a folder in ~/.config/ named "svim".
Furthermore, I have tried both file formats for svimrc and blacklist, but neither seems to work.
The svimrc for reference:
nmap H 0
nmap L $
nmap :nohl
set clipboard=unnamed
The blacklist for reference:
iTerm2
Terminal
Obsidian
WebStorm
IntelliJ IDEA
Hi, sorry to bother you once more 🙈
So the after everything with Alfred worked fine after updating to 1.0.9, I made changes to the svimrc
and restarted svim to load those changes (brew services restart svim
).
From then on, svim did not recognize any configs anymore – neither in the blacklist file, nor in the svimrc. (and I made sure I did not include any comments, like in #18). Restarting didn't help, but I did notice an svim still being listed as active process, so I killed that process, too, but that also didn't change anything.
So then I decided to reinstall svim and restarted my machine, but weirdly after that, svim refuses to launch at all. running as a foreground service (svim
) only results gives this error message: Error: Could not create lock-file.
.
So that we can take advantage of so many plugins instead of vimrc.
Esc
key was taken by many apps, to use origin Esc
function need to press Esc
twice every time.
I use unmap <Esc>
in svimrc, but not work.
Slack doesn't seem to be working with SketchyVim. Perhaps it's related to it being an Electron app?
title explains everything
Hi,
Thanks for the great project. I am not online very often and so I don't read much of other peoples comments and issues unfortunatly. mainly I read the manuals.
so I decided to use the abbreviations in svim since snippets are a little more involved.
iabbrev @@ some@some.com
and it only expands when i exit insert mode . normal it expands after I press the space bar. it is a built in feature of Vim/Neovim
it would be a great to have it working.
thanks
Hi @FelixKratz,
First off, I wanted to express my enthusiasm for SketchyVim—it's a fantastic project, and I've found it to work seamlessly in most cases.
However, I've been facing an issue when trying to use SketchyVim in the relatively new Arc browser. Unfortunately, it doesn't seem to cooperate as expected. Have you come across this before, or is there something specific I should configure to make it work in Arc?
Additionally, I was wondering if there's a way to set SketchyVim to default to normal mode rather than input mode. I find myself often starting in input mode unintentionally, and it would be great to have the option to set the default mode.
Thanks a lot for your work on this project, and I appreciate any guidance or assistance you can provide!
Best regards,
Abel
I am able to build and deploy, however, do you have any tips for debugging or viewing logs etc?
I simply tried copypasting a lot of my config, and it seems that vimrc-style comments (" something
) make the entire svimrc invalid.
Something like this:
set blacklist=0
set whitelist=1
Terminal
Because it doesn't have spaces between characters and most important: unique
There are serial ways to get an app's Bundle ID:
mdls /Applications/MacVim.app | grep kMDItemCF
osascript -e 'id of app "Neovide"'
For CotEditor app when text area larger than window size, move cursor out of bottom it should scroll down automatically, but cursor is invisible out of window.
BTW, how to map keys, such as map gd
to Ctrl + CMD + J
in Xcode?
Probably the issue from #21; I need to run
sudo rm -rf /tmp/svim.lock
brew services restart svim
every time after restarting my mac, otherwise svim will not work.
Any trick to get it working with Mail?
Since most of the text fields where svim will be used have line wrapping, having gj
and gk
would be very useful for mappings like
nnoremap j gj
nnoremap k gk
right now, j
and k
move logical lines, which makes them a bit hard to predict in text fields where you are not sure where exactly the previous line is (i.e. is the line above wrapped or a "true" previous line?)
The workaround might be as simple as mapping gj
and gk
to arrow-down and arrow-up, since the arrow keys in macOS use visual instead of logical lines?
I cannot add svim to launchctl due to some work politics. What I am doing instead is to have a separate Tmux tab with panes for yabai, skhd and now svim too. The first two work flawlessly but the svim seems to crash occasionally. Last time it was 1h20
How can I debug this? Maybe I will find the root cause
try to configure IntelliJ in the blacklist this are my configuration:
Warp
"IntelliJ IDEA"
"IntelliJ IDEA Ultimate"
"idea"
At first, thanks for great project, FelixKratz!
I'm thinking about how to make mode visible, and here is some ways to show it:
Personally, I have no idea how to implement it.
Maybe you can think about it in next releases?
Hey, I'm having some problems with svim and the native messages app. It works occasionally, but when I move between conversations I can't get back into normal mode. Sometimes quitting and relaunching messages and/or restarting the svim service gets it back for a minute, but it doesn't last long.
Is this a known limitation or is this somehow fixable? I couldn't find any other issue/discussion on the topic.
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.