Code Monkey home page Code Monkey logo

Comments (9)

matze avatar matze commented on May 31, 2024

But it does work with regular vim keymaps in neovim?

from vim-move.

zeitchef avatar zeitchef commented on May 31, 2024

Not sure if this is related, but vim-move doesn't create any mappings for me at all in Neovim 0.8.0. None of these have any effect:

vim.g.move_key_modifier = 'C'
vim.cmd[[let g:move_key_modifier = 'C']]

from vim-move.

matze avatar matze commented on May 31, 2024

Are you on Mac? Then #71 could be related.

from vim-move.

zeitchef avatar zeitchef commented on May 31, 2024

@matze I am indeed, though using Kitty not iTerm.

from vim-move.

huyz avatar huyz commented on May 31, 2024

For a Mac and and the latest vim-move a4bbedd, this is what works for me in 4 scenarios: vim/neovim in iTerm and MacVim/VimR:

if has("mac") && has("gui_running")
  let g:move_normal_option = 1
endif

assuming:

  • the other vim-move defaults have not been changed
  • iTerm profile has Left Option key: set to Esc+

from vim-move.

huyz avatar huyz commented on May 31, 2024

I had to revisit as not everything was working, in particular inside the terminal. Here's my solution: #73

from vim-move.

hui00 avatar hui00 commented on May 31, 2024

kitty.conf -> macos_option_as_alt yes

from vim-move.

felipeospina21 avatar felipeospina21 commented on May 31, 2024

for me using command + opt makes the keybindings work. Im using wezterm by the way.

from vim-move.

AgustinOrdonez avatar AgustinOrdonez commented on May 31, 2024

I am using neovim v0.9.2 and neither of this work

vim.g.move_key_modifier = 'C'
vim.cmd[[let g:move_key_modifier = 'C']]

Unlike zeitchef I am running linux

from vim-move.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.