Dear Timothy,
for all, who are interested in, I finally got it to work (with Your help
and also with chatgpt).
I wrote in okular/settings/configure okular/edior:
> custom editor gvim --servername GVIM --remote-send ":e %f:call
> SetCursorAdjusted(%l,%c)"
And I wrote in .vimrc
function! SetCurso
On Mon 03 Jun 2024 at 07:24:41 (+0200), Stefan Thomas wrote:
> Am Mo., 3. Juni 2024 um 03:19 Uhr schrieb David Wright:
> > On Sun 02 Jun 2024 at 16:10:56 (+0200), Stefan Thomas wrote:
> > > again, I'm trying to activate point and click in gvim. I made a little
> > > success:
> > > I wrote in the ed
Maybe you could try the call cursor command
vim +"call cursor(%l,%c)" %f
As in David' remarks, you may need to adjust the quoting to get the
desired result.
vim +"call cursor(5,3)" file.ly
works on the shell command line.
On 03/06/2024 06:24, Stefan Thomas wrote:
Dear David,
thanks for You
Dear David,
thanks for Your reply.
Unfortunately, none of your suggestions have brought the desired result!
Best,
Stefan
Am Mo., 3. Juni 2024 um 03:19 Uhr schrieb David Wright <
lily...@lionunicorn.co.uk>:
> On Sun 02 Jun 2024 at 16:10:56 (+0200), Stefan Thomas wrote:
> > again, I'm trying to act
On Sun 02 Jun 2024 at 16:10:56 (+0200), Stefan Thomas wrote:
> again, I'm trying to activate point and click in gvim. I made a little
> success:
> I wrote in the editor options of okular:
> gvim --remote-silent +%l %f +normal! %c
> When I click on a note, the right document is opened and the cursor
Dear community,
again, I'm trying to activate point and click in gvim. I made a little
success:
I wrote in the editor options of okular:
gvim --remote-silent +%l %f +normal! %c
When I click on a note, the right document is opened and the cursor is
placed at the correct line, but not at the correct