GithubHelp home page GithubHelp logo

Comments (7)

fanglingsu avatar fanglingsu commented on September 18, 2024

Maybe this is the same like the commented issus in commit 42bef2b.

from vim-orgmode.

jceb avatar jceb commented on September 18, 2024

Thank you for pointing out the issue. The issue was caused by the conversion of the Todo plugin to unicode. It's fixed by commit 2d173ad.

@kien: You can easily change vim-orgmode's mapping by creating your own mappings to the various s. E.g. to change the mapping for editing tags run:
map ,t

n ,t @OrgSetTags

Now, open your vimrc and add your own mapping:
nmap t @OrgSetTags

To use the new mapping, just restart vim.

from vim-orgmode.

jceb avatar jceb commented on September 18, 2024

Sorry, the was missing:

nmap t @OrgSetTags

from vim-orgmode.

jceb avatar jceb commented on September 18, 2024

Hm, <Plug>:

nmap t @<Plug&gtOrgSetTags

from vim-orgmode.

kien avatar kien commented on September 18, 2024

I wonder if using buffer local mappings would fix this without me changing all the maps? Outside of .org files we don't need these maps anyway.

e.g. change these

vim.command((u':%snoremap %s %s' % (cmd, str(self), self.command)).encode(u'utf-8'))
vim.command((u':%smap %s %s %s' % (cmd, u' '.join(self._options), self._key, self._action)).encode(u'utf-8'))

to these

vim.command((u':%snoremap <buffer> %s %s' % (cmd, str(self), self.command)).encode(u'utf-8'))
vim.command((u':%smap <buffer> %s %s %s' % (cmd, u' '.join(self._options), self._key, self._action)).encode(u'utf-8'))

from vim-orgmode.

kien avatar kien commented on September 18, 2024

Nevermind, looks like delimitMate also uses local mappings (orgmode does too, I think). Guess I'll have to change a few keys.

from vim-orgmode.

jceb avatar jceb commented on September 18, 2024

Right, vim-orgmode uses buffer local mapping.

from vim-orgmode.

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.