Giter VIP home page Giter VIP logo

Comments (3)

simnalamburt avatar simnalamburt commented on June 2, 2024 1

@thepenguinthatwants Remove the trailing comma like this:

let g:mundo_mappings = {
  \ '': 'preview',
  \ 'o': 'preview',
  \ 'j': 'move_older'}

I tried it and it works perfect!

from vim-mundo.

simnalamburt avatar simnalamburt commented on June 2, 2024

@thepenguinthatwants You can change the Mundo keymap with g:mundo_mappings option. :) Thank you for using Mundo!

vim-mundo/doc/mundo.txt

Lines 192 to 209 in 046fc06

3.7 g:mundo_mappings *mundo_mappings*
*mundo_map_move_older*
*mundo_map_move_newer*
*mundo_map_up_down*
To override any mappings within mundo set the value of the normal mode keys you
would like to use instead (copy the defaults below and adjust as preferred)
Note: mundo_map_move_older, mundo_map_move_newer, mundo_map_up_down options have
been deprecated in favor of settings here. Although they continue to work, they
will eventually be removed!
Defaults:
let g:mundo_mappings = {
\ '<CR>': 'preview',
\ 'o': 'preview',
\ 'j': 'move_older',

from vim-mundo.

thepenguinthatwants avatar thepenguinthatwants commented on June 2, 2024

let g:mundo_mappings = {
\ '': 'preview',
\ 'o': 'preview',
\ 'j': 'move_older',
}

When I added this line on my vimrc I've got

E723: Missing end of Dictionary '}':
E15: Invalid expression: { '<CR>': 'preview', 'o': 'preview', 'j': 'move_older',
line    9:
E492: Not an editor command:  }
line    8:
E723: Missing end of Dictionary '}':
E15: Invalid expression: { '<CR>': 'preview', 'o': 'preview', 'j': 'move_older',
line    9:
E492: Not an editor command:  }

from vim-mundo.

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.