t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

keymap for ctrl-o/ctrl-i not working on Linux Atom #1117

Closed cotterjd closed 5 years ago

cotterjd commented 5 years ago
debug info ```json { "atom": "1.34.0", "platform": "linux", "release": "4.15.0-45-generic", "vmpVersion": "1.34.0", "vmpConfig": {} } ```

I updated to the latest Atom version (1.34) and I updated to the latest version of vim-mode-plus (1.36.0)

but my keymaps still don't work for ctrl-i and ctrl-o to move the cursor to previous locations and back again.

Here's my keymap.cson. I've tried all the commented versions

  'ctrl-i': 'cursor-history:next'
  'ctrl-o': 'cursor-history:prev'

#'atom-workspace':
#  'ctrl-i': 'cursor-history:next'
#  'ctrl-o': 'cursor-history:prev'

# ctrl-o opens file
#'.vim-mode:not(.insert-mode)':
#  'ctrl-i': 'cursor-history:next'
#  'ctrl-o': 'cursor-history:prev'

# ctrl-o opens file
#'.vim-mode:not(.insert-mode)':
#  'ctrl-i': 'vim-mode:cursor-history:next'
#  'ctrl-o': 'vim-mode:cursor-history:prev'

# ctrl-o opens file
#'.vim-mode':
#  'ctrl-i': 'vim-mode:cursor-history:next'
#  'ctrl-o': 'vim-mode:cursor-history:prev'

#'.workspace':
#  'ctrl-i': 'vim-mode:cursor-history:next'
#  'ctrl-o': 'vim-mode:cursor-history:prev'

#
#'.workspace':
#  'ctrl-i': 'cursor-history:next'
#  'ctrl-o': 'cursor-history:prev'

The following works for my atom on my mac, but only for ctrl-o, not for ctrl-i

  'ctrl-i': 'cursor-history:next'
  'ctrl-o': 'cursor-history:prev'

The keystroke seems to be registering according to the pic, but it's not doing anything

csonmap

t9md commented 5 years ago

Have you installed cursor-history package? It's maintained separately.

t9md commented 5 years ago

Btw you can simply test if the command works or not by invoking that command from command-palette. If it didn't work, it would NOT keymap issue.

cotterjd commented 5 years ago

installed cursor-history package. Works now. Thank you so much.