Comments (7)
@jwav Using nmap
instead of nnoremap
work for me just fine
full syntax is:
nmap <a-s> <Plug>(sneak-s)
from ideavim-sneak.
@jwav Hi! Thanks for raising this question. The correct way to remap is to use <Plug>(sneak-s)
try it!
from ideavim-sneak.
Hi, thank you for answering ; what would the exact nnoremap
syntax be ?
I've tried nnoremap <a-s> <Plug>(sneak-s)
but as expected it just executes <
+ P
+ l
...
I've also tried prefacing it with :
: nnoremap <a-s> :<Plug>(sneak-s)
, nnoremap <a-s> :<Plug>(sneak-s)<CR>
, many variations to no avail. PyCharm displays the following error in the lower bar: VIM - Not an editor command: <Plug | <Plug>(sneak-s)
I use PyCharm Community 2020.3.2 on Windows 10, with IdeaVim 0.64 and IdeaVim-Sneak 1.1.1
from ideavim-sneak.
Holy mackerel, it worked
I have no idea why it doesn't work with nnoremap, though.
Thanks a lot, Mishkun
from ideavim-sneak.
You are welcome!
from ideavim-sneak.
How did you manage to restore the s
to its original behaviour? Normally I would just add unmap s
to .ideavimrc
. This works when I run :unmap s
manually but I guess since the plugin is loaded after the defaults are set it ends up gets remapped.
from ideavim-sneak.
To restore 's' to its original VIM behaviour : :nmap s s
from ideavim-sneak.
Related Issues (19)
- Supported versions of IJ HOT 1
- Cancel sneak action on ESC pressed
- Support for operators HOT 4
- How to bind only on normal mode or bind custom keys? HOT 2
- Support for labels HOT 8
- Support ignorecase and smartcase HOT 2
- Support clever functionality HOT 2
- Licensing issues HOT 1
- Bump up IdeaVim version HOT 1
- Can not map "f" and "t" keys if plugin is set
- Can this plugin support older version of idea? HOT 6
- How to remap 's' to 'f' and 'S' to 'F' HOT 1
- ideavim-sneak doesn't use mappings from .ideavimrc
- S keyword conflict with soround S HOT 2
- Why not merge as extension in IdeaVim repo? HOT 9
- s/S does not jump vertically HOT 3
- improve the repeating action (; and ,) implementation HOT 3
- "s" in visual mode doesn't work HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ideavim-sneak.