Re: [code] Is it possible to define a map leader key?

From: Mitchell <>
Date: Sun, 21 Aug 2016 15:14:42 -0400 (EDT)

Hi Alireza,

On Sun, 21 Aug 2016, Alireza Bashiri wrote:

> I really liked the editor and I'm currently using it but is it possible to
> define a map leader key?
> for example; due to buffer:word_part_right I want to map that to <leader>w
> is it possible?
> w = buffer.word_right
> ,w = buffer.word_part_right

I don't know what a leader key is, but it appears you want to type one key
followed by another. You'd use a key chain like:

     keys['w'] = buffer.word_right
     keys[','] = {
       keys['w'] = buffer.word_part_right


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 21 Aug 2016 - 15:14:42 EDT

This archive was generated by hypermail 2.2.0 : Mon 22 Aug 2016 - 06:49:16 EDT