Comments (7)
Currently recognizing the word is using expand(<cword>)
, and to replace the word under cursor, I am using normal wbcw.[user chosen candidate]
. It works fine in my configuration. Could you share with me how it messed up with your configuration? Also, do you have a better solution for word replacing?
from thesaurus_query.vim.
Thanks for responding!!
Incidentally I just took a quick dive in the source and yes the offending code is the normal wbcw
part.
My b
is bound to page up (i use it in conjunction with the spacebar). Replacing with normal!
does the job to make it work properly.
from thesaurus_query.vim.
Would you like a pull request?
from thesaurus_query.vim.
Do you think ciw is a better idea? Yes, that'll be nice.
from thesaurus_query.vim.
i use ciw a lot when I use vim. and naturally I don't use b (I have mapped it to <BS>
, haha) but either way it's pretty obvious what it's doing... I think making the change be a single character (adding !
) is the way to go here
from thesaurus_query.vim.
Oh, I see, or I can use ! to bypass the mappings. Sorry for the inconvenience caused.
from thesaurus_query.vim.
Yes I would say either of normal! wbcw
or normal! ciw
would be great but anyways ive made the PR
from thesaurus_query.vim.
Related Issues (20)
- mapping already exists for <leader>cs HOT 4
- apply the word replacement as a Vim action so that it can be repeated with . HOT 1
- highlighting word group in mthesaur.txt that can be replaced HOT 1
- Add a backend for thesaurus.plus HOT 1
- No synonyms found HOT 10
- Buffer with this name already exists HOT 7
- Request: Support thesaurus.com HOT 6
- AttributeError: module 'vim' has no attribute 'find_module' (python 3.7) HOT 12
- Change Python dependency handling logic to use Vim's Shell escape
- cilin_txt backend cannot work HOT 5
- ThesaurusQueryReplaceCurrentWord not able to finish it's work HOT 2
- bs4 dependency install request for disabled backend HOT 5
- mapping already exists HOT 4
- Add synonymer.se as a backend HOT 1
- Provide completion function for emerging 'thesaurusfunc'
- NameError with neovim and lua plugin managers HOT 2
- make openoffice_en backend works for other language HOT 1
- Add support for neovim's `vim.ui.select()` HOT 2
- Issue when activate Synonym group truncate HOT 2
- Is the lookup in mthesaur all words in the line or only first? HOT 4
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 thesaurus_query.vim.