Author Topic: Is there a key like Vim CTRL I/CTRL O?  (Read 121 times)

niexin.liu

  • Community Member
  • Posts: 11
  • Hero Points: 0
Is there a key like Vim CTRL I/CTRL O?
« on: January 15, 2022, 01:29:01 am »
Hi all,
Is there a key like Vim CTRL I/CTRL O?
I can't find it.
Can you help me?

vim help:
                                                        CTRL-O                                                                                                                                                                                                                                                             
CTRL-O                  Go to [count] Older cursor position in jump list
                        (not a motion command).
                        {not available without the +jumplist feature}

<Tab>           or                                      CTRL-I <Tab>
CTRL-I                  Go to [count] newer cursor position in jump list
                        (not a motion command).
                        {not available without the +jumplist feature}

                        NOTE: In the GUI and in a terminal supporting
                        modifyOtherKeys, CTRL-I can be mapped separately
                        from <Tab>, on the condition that CTRL-I is
                        mapped before <Tab>, otherwise the mapping applies to
                        both.

                                                        :ju :jumps
:ju[mps]                Print the jump list (not a motion command).
                        {not available without the +jumplist feature}

« Last Edit: January 15, 2022, 01:56:32 am by niexin.liu »

niexin.liu

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: Is there a key like Vim CTRL I/CTRL O?
« Reply #1 on: January 15, 2022, 02:43:51 am »
I found that I could jump between different files using 'back' and 'forward'.

In the same file, how to repeatedly jump?

Graeme

  • Senior Community Member
  • Posts: 2702
  • Hero Points: 336
Re: Is there a key like Vim CTRL I/CTRL O?
« Reply #2 on: January 15, 2022, 03:02:01 am »
You can use the xretrace plugin from the first post in this thread
https://community.slickedit.com/index.php/topic,18320.msg72266.html#msg72266

If you have slickedit V26 or later you can use the plugin, otherwise use the zip file.

For the zip file version
Quote
Installation
Unzip the supplied zip file xretrace-vx.xx-slick-v-xx-x-x.zip into your configuration folder. This will create
a UserMacros folder (if it's not already there) containing an xretrace folder.
e.g.
…/SlickConfig/25.0.2/UserMacros/xretrace/
Open xretrace.e in slickedit and load it using the "Load module" command in the "Macro" menu. A
single "ex" file is created - xretrace.ex.
After loading, check that xretrace.ex in the xretrace folder has been rebuilt.


niexin.liu

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: Is there a key like Vim CTRL I/CTRL O?
« Reply #3 on: January 15, 2022, 04:14:10 am »
You can use the xretrace plugin from the first post in this thread
https://community.slickedit.com/index.php/topic,18320.msg72266.html#msg72266

If you have slickedit V26 or later you can use the plugin, otherwise use the zip file.

For the zip file version
Quote
Installation
Unzip the supplied zip file xretrace-vx.xx-slick-v-xx-x-x.zip into your configuration folder. This will create
a UserMacros folder (if it's not already there) containing an xretrace folder.
e.g.
…/SlickConfig/25.0.2/UserMacros/xretrace/
Open xretrace.e in slickedit and load it using the "Load module" command in the "Macro" menu. A
single "ex" file is created - xretrace.ex.
After loading, check that xretrace.ex in the xretrace folder has been rebuilt.

Thank you very much. I'm trying.

jcelle

  • Senior Community Member
  • Posts: 186
  • Hero Points: 5
Re: Is there a key like Vim CTRL I/CTRL O?
« Reply #4 on: January 16, 2022, 06:56:32 am »
Hello, sorry to jump in : what is a "plugin" in slickedit world ?
I tried to search for "plugin" in both help file and settings with no proper result.

Graeme

  • Senior Community Member
  • Posts: 2702
  • Hero Points: 336
Re: Is there a key like Vim CTRL I/CTRL O?
« Reply #5 on: January 16, 2022, 09:31:58 am »
There isn't any documentation yet, it's a work in progress but it's usable.  It's missing a nice way of presenting the available plugins that can be installed.  Maybe slick team should create a read only forum where plugins could appear, people could submit them to slick team for publication.  There's some information in the xretrace help file about creating a plugin.  See the pdf doc in the first post here
https://community.slickedit.com/index.php/topic,18320.msg72266.html#msg72266